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

Change subject: networkTests: ensure that the 'primary' bonding option is 
recognized
......................................................................

networkTests: ensure that the 'primary' bonding option is recognized

Change-Id: I5f268f79a4099d5c91ee311d2d3028a8e9a912f2
Signed-off-by: Ondřej Svoboda <osvob...@redhat.com>
---
M tests/functional/networkTests.py
1 file changed, 4 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/89/48389/1

diff --git a/tests/functional/networkTests.py b/tests/functional/networkTests.py
index 3f4053e..7225790 100644
--- a/tests/functional/networkTests.py
+++ b/tests/functional/networkTests.py
@@ -493,12 +493,12 @@
             status, msg = self.setupNetworks(
                 {NETWORK_NAME:
                     {'bonding': BONDING_NAME, 'bridged': bridged}},
-                {BONDING_NAME: {'nics': nics, 'options': 'mode=2 arp_ip_target'
-                                '=' + IP_ADDRESS_IN_NETWORK}}, NOCHK)
+                {BONDING_NAME: {'nics': nics, 'options': 'mode=1 primary=' +
+                                nics[0]}}, NOCHK)
             self.assertEqual(status, SUCCESS, msg)
             self.assertNetworkExists(NETWORK_NAME, bridged)
-            self.assertBondExists(BONDING_NAME, nics, 'mode=2 arp_ip_target=' +
-                                  IP_ADDRESS_IN_NETWORK)
+            self.assertBondExists(BONDING_NAME, nics, 'mode=1 primary=' +
+                                  nics[0])
 
             status, msg = self.setupNetworks(
                 {NETWORK_NAME: {'remove': True}},


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I5f268f79a4099d5c91ee311d2d3028a8e9a912f2
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Ondřej Svoboda <osvob...@redhat.com>
_______________________________________________
vdsm-patches mailing list
vdsm-patches@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to