[Buildbot] #3072: setup vm1

Buildbot trac trac at buildbot.net
Tue Jan 20 17:39:07 UTC 2015


#3072: setup vm1
--------------------+--------------------------------
Reporter:  sa2ajj   |       Owner:  sa2ajj
    Type:  task     |      Status:  accepted
Priority:  major    |   Milestone:  sys - on-bb-infra
 Version:           |  Resolution:
Keywords:  ansible  |
--------------------+--------------------------------

Comment (by sa2ajj):

 For the record, the interfaces are created like this:

 {{{
 sysctl net.link.tap.up_on_open=1
 sysctl net.inet.ip.forwarding=1

 ifconfig tap0 create
 ifconfig bridge0 create
 ifconfig bridge0 addm lagg0 addm tap0 up

 ifconfig tap1 create
 ifconfig bridge1 create
 ifconfig bridge1 addm vlan0 addm tap1 up
 }}}

 and later used like this

 {{{
 ...
       -s 2:0,virtio-net,tap0 \
 ...
       -s 4:0,virtio-net,tap1 \
 ...
 }}}

 inside the Debian system they are configured like this:

 {{{
 # The primary network interface
 allow-hotplug eth0
 iface eth0 inet static
         address 140.211.10.227
         netmask 255.255.255.128
         network 140.211.10.128
         broadcast 140.211.10.255
         gateway 140.211.10.129
         # dns-* options are implemented by the resolvconf package, if
 installed
         dns-nameservers 140.211.166.131
         dns-search buildbot.net

 allow-hotplug eth1
 iface eth1 inet static
         address 192.168.80.227
         netmask 255.255.255.0
         network 192.168.80.0
         broadcast 192.168.80.255
 }}}

--
Ticket URL: <http://trac.buildbot.net/ticket/3072#comment:17>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the bugs mailing list