aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2010-03-02 14:52:05 -0800
committerBen Pfaff <blp@nicira.com>2010-03-03 09:55:33 -0800
commit47a3c536c345925b6d3837643b0e8a24b752fad3 (patch)
treecce1b599653c804000a669a1dd7c0291d5ee8dc5 /tests
parentd5bac2a0cfea7efc27c4f06de132460390a2e920 (diff)
xenserver: Implement missing interface-reconfigure settings.
These settings are supported by the bridge, and they were supported earlier by the vswitch, but support regressed when OVSDB was initially introduced because at first ovs-vsctl did not support these settings. This commit restores support. Related to bug #2430, #2442. Signed-off-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/interface-reconfigure.at8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/interface-reconfigure.at b/tests/interface-reconfigure.at
index 597a8f1b..04f32552 100644
--- a/tests/interface-reconfigure.at
+++ b/tests/interface-reconfigure.at
@@ -654,6 +654,7 @@ Applying changes to /etc/sysconfig/network-scripts/ifcfg-xenbr2 configuration
--may-exist add-br xenbr2
--may-exist add-port xenbr2 eth2
br-set-external-id xenbr2 xs-network-uuids d08c8749-0c8f-9e8d-ce25-fd364661ee99
+ set Interface xenbr2 MAC="00:15:17:a0:29:80"
/sbin/ifup xenbr2
/sbin/update-issue
Committing changes to /etc/sysconfig/network-scripts/route-xenbr2 configuration
@@ -716,9 +717,11 @@ Applying changes to /etc/sysconfig/network-scripts/ifcfg-xapi3 configuration
--may-exist add-br xenbr3
--may-exist add-port xenbr3 eth3
br-set-external-id xenbr3 xs-network-uuids 2902ae1b-8013-897a-b697-0b200ea3aaa5;db7bdc03-074d-42ae-fc73-9b06de1d57f6
+ set Interface xenbr3 MAC="00:15:17:a0:29:81"
--if-exists del-br xapi3
--may-exist add-br xapi3 xenbr3 123
br-set-external-id xapi3 xs-network-uuids 2902ae1b-8013-897a-b697-0b200ea3aaa5;db7bdc03-074d-42ae-fc73-9b06de1d57f6
+ set Interface xapi3 MAC="00:15:17:a0:29:81"
/sbin/ifup xapi3
/sbin/update-issue
Committing changes to /etc/sysconfig/network-scripts/route-xapi3 configuration
@@ -797,7 +800,9 @@ Applying changes to /etc/sysconfig/network-scripts/ifcfg-xapi1 configuration
--may-exist add-br xapi1
--with-iface --if-exists del-port bond0
--fake-iface add-bond xapi1 bond0 eth0 eth1
+ set Port bond0 MAC="00:22:19:22:4b:af" bond_downdelay=200 other-config:"bond-miimon"=100 other-config:"bond-use_carrier"=1 other-config:"bond-mode"="balance-slb" bond_updelay=31000
br-set-external-id xapi1 xs-network-uuids 99be2da4-6c33-6f8e-49ea-3bc592fe3c85;45cbbb43-113d-a712-3231-c6463f253cef
+ set Interface xapi1 MAC="00:22:19:22:4b:af"
/sbin/ifup xapi1
action_up: bring up bond0
/sbin/ifconfig bond0 up
@@ -876,10 +881,13 @@ Applying changes to /etc/sysconfig/network-scripts/ifcfg-xapi2 configuration
--may-exist add-br xapi1
--with-iface --if-exists del-port bond0
--fake-iface add-bond xapi1 bond0 eth0 eth1
+ set Port bond0 MAC="00:22:19:22:4b:af" bond_downdelay=200 other-config:"bond-miimon"=100 other-config:"bond-use_carrier"=1 other-config:"bond-mode"="balance-slb" bond_updelay=31000
br-set-external-id xapi1 xs-network-uuids 99be2da4-6c33-6f8e-49ea-3bc592fe3c85;45cbbb43-113d-a712-3231-c6463f253cef
+ set Interface xapi1 MAC="00:22:19:22:4b:af"
--if-exists del-br xapi2
--may-exist add-br xapi2 xapi1 4
br-set-external-id xapi2 xs-network-uuids 99be2da4-6c33-6f8e-49ea-3bc592fe3c85;45cbbb43-113d-a712-3231-c6463f253cef
+ set Interface xapi2 MAC="00:22:19:22:4b:af"
/sbin/ifup xapi2
action_up: bring up bond0
/sbin/ifconfig bond0 up