Change in vdsm[master]: tests/functional/dummy.py: addAddr IPv6 support
phoracek at redhat.com
phoracek at redhat.com
Mon Sep 8 10:45:23 UTC 2014
Petr Horáček has uploaded a new change for review.
Change subject: tests/functional/dummy.py: addAddr IPv6 support
......................................................................
tests/functional/dummy.py: addAddr IPv6 support
IPv6 address support added to dummy's addAddr function.
Change-Id: I683971578ef7bb4a25f65d61d939e96bc976d32e
Signed-off-by: Petr Horáček <phoracek at redhat.com>
---
M tests/functional/dummy.py
1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/14/32614/1
diff --git a/tests/functional/dummy.py b/tests/functional/dummy.py
index f1b3585..a66f7de 100644
--- a/tests/functional/dummy.py
+++ b/tests/functional/dummy.py
@@ -54,9 +54,9 @@
(dummyName, e))
-def setIP(dummyName, ipaddr, netmask):
+def setIP(dummyName, ipaddr, netmask, family=4):
try:
- addrAdd(dummyName, ipaddr, netmask)
+ addrAdd(dummyName, ipaddr, netmask, family)
except IPRoute2Error:
raise SkipTest('Failed to set device ip')
--
To view, visit http://gerrit.ovirt.org/32614
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I683971578ef7bb4a25f65d61d939e96bc976d32e
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Petr Horáček <phoracek at redhat.com>
More information about the vdsm-patches
mailing list