Skip to content

Commit

Permalink
interface-reconfigure: Fix up unit tests expected output.
Browse files Browse the repository at this point in the history
The previous commit added "mtu" settings in various places, so the output
changed.
  • Loading branch information
blp committed Feb 24, 2010
1 parent 9a2b117 commit 02a987d
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions tests/interface-reconfigure.at
Original file line number Diff line number Diff line change
Expand Up @@ -648,7 +648,7 @@ configure_datapath: extra bonds - []
Applying changes to /etc/sysconfig/network-scripts/route-xenbr2 configuration
Applying changes to /etc/sysconfig/network configuration
Applying changes to /etc/sysconfig/network-scripts/ifcfg-xenbr2 configuration
/sbin/ifconfig eth2 up
/sbin/ifconfig eth2 up mtu 1500
/usr/bin/ovs-vsctl --timeout=20
--with-iface --if-exists del-port eth2
--may-exist add-br xenbr2
Expand All @@ -669,6 +669,7 @@ ONBOOT=no
TYPE=Ethernet
BOOTPROTO=dhcp
PERSISTENT_DHCLIENT=yes
MTU=1500
])

# Simulate interface-reconfigure creating xenbr2, so that we can tell
Expand Down Expand Up @@ -707,7 +708,7 @@ configure_datapath: extra ports - []
configure_datapath: extra bonds - []
Applying changes to /etc/sysconfig/network-scripts/route-xapi3 configuration
Applying changes to /etc/sysconfig/network-scripts/ifcfg-xapi3 configuration
/sbin/ifconfig eth3 up
/sbin/ifconfig eth3 up mtu 1500
/usr/bin/ovs-vsctl --timeout=20
--with-iface --if-exists del-port eth3
--may-exist add-br xenbr3
Expand All @@ -729,6 +730,7 @@ DEVICE=xapi3
ONBOOT=no
TYPE=Ethernet
BOOTPROTO=none
MTU=1500
])

# Simulate interface-reconfigure creating xapi3, so that we can tell
Expand Down Expand Up @@ -781,8 +783,8 @@ netdev: down: device xenbr0 does not exist, ignoring
netdev: down: device xenbr1 does not exist, ignoring
Applying changes to /etc/sysconfig/network-scripts/route-xapi1 configuration
Applying changes to /etc/sysconfig/network-scripts/ifcfg-xapi1 configuration
/sbin/ifconfig eth0 up
/sbin/ifconfig eth1 up
/sbin/ifconfig eth0 up mtu 1500
/sbin/ifconfig eth1 up mtu 1500
/usr/bin/ovs-vsctl --timeout=20
--if-exists del-br xenbr0
--if-exists del-br xenbr1
Expand All @@ -807,6 +809,7 @@ DEVICE=xapi1
ONBOOT=no
TYPE=Ethernet
BOOTPROTO=none
MTU=1500
])

# Simulate interface-reconfigure creating xapi1, so that we can tell
Expand Down Expand Up @@ -856,8 +859,8 @@ netdev: down: device xenbr0 does not exist, ignoring
netdev: down: device xenbr1 does not exist, ignoring
Applying changes to /etc/sysconfig/network-scripts/route-xapi2 configuration
Applying changes to /etc/sysconfig/network-scripts/ifcfg-xapi2 configuration
/sbin/ifconfig eth0 up
/sbin/ifconfig eth1 up
/sbin/ifconfig eth0 up mtu 1500
/sbin/ifconfig eth1 up mtu 1500
/usr/bin/ovs-vsctl --timeout=20
--if-exists del-br xenbr0
--if-exists del-br xenbr1
Expand Down Expand Up @@ -885,6 +888,7 @@ DEVICE=xapi2
ONBOOT=no
TYPE=Ethernet
BOOTPROTO=none
MTU=1500
])

# Simulate interface-reconfigure creating xapi2, so that we can tell
Expand Down

0 comments on commit 02a987d

Please sign in to comment.