Change in vdsm[master]: networkTests: fix bridged case of testDelNetworkWithMTU by i...

osvoboda at redhat.com osvoboda at redhat.com
Wed Aug 5 23:08:41 UTC 2015


Ondřej Svoboda has uploaded a new change for review.

Change subject: networkTests: fix bridged case of testDelNetworkWithMTU by increasing MTU
......................................................................

networkTests: fix bridged case of testDelNetworkWithMTU by increasing MTU

Setting disable_ipv6 failed on test-network bridge because the bridge was
never listed under /proc/sys/net/ipv6/conf/ although it was successfully
created.

It turns out that MTU of at least 1280 bytes (which is a minimum value
mandated by IPv6 standard) is required for network devices to be listed
under said directory.

Change-Id: Ie342709f31e0a0eabe64d5dc1b194f33df7b5744
Signed-off-by: Ondřej Svoboda <osvoboda at redhat.com>
---
M tests/functional/networkTests.py
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/45/44445/1

diff --git a/tests/functional/networkTests.py b/tests/functional/networkTests.py
index 369aeff..e811955 100644
--- a/tests/functional/networkTests.py
+++ b/tests/functional/networkTests.py
@@ -784,7 +784,7 @@
     @cleanupNet
     @permutations([[True], [False]])
     def testDelNetworkWithMTU(self, bridged):
-        MTU = '1234'
+        MTU = '1280'  # required for sysctl.disable_ipv6() on the bridge
         with dummyIf(2) as nics:
             status, msg = self.vdsm_net.addNetwork(NETWORK_NAME, vlan=VLAN_ID,
                                                    bond=BONDING_NAME,


-- 
To view, visit https://gerrit.ovirt.org/44445
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie342709f31e0a0eabe64d5dc1b194f33df7b5744
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Ondřej Svoboda <osvoboda at redhat.com>


More information about the vdsm-patches mailing list