Re: [libvirt-test-API][PATCH V2 04/11] Add IPv6 section into related network case

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 01/28/2015 03:14 PM, jiahu wrote:
Added 4 IPv6 required parameters to case.
---
 repos/network/define.py | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/repos/network/define.py b/repos/network/define.py
index dd054f7..6e50eb7 100644
--- a/repos/network/define.py
+++ b/repos/network/define.py
@@ -17,7 +17,12 @@ required_params = ('networkname',
                    'bridgenetmask',
                    'netstart',
                    'netend',
-                   'netmode',)
+                   'netmode',
+                   'netip6addr',
+                   'netip6prefix',
+                   'netip6start',
+                   'netip6end',
+                   )

These ipv6 params should be optional .
ACK and Pushed after modifying the patch as follows and getting the correct testing result

---
 repos/network/create.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/repos/network/create.py b/repos/network/create.py
index 399328c..b1b3245 100644
--- a/repos/network/create.py
+++ b/repos/network/create.py
@@ -19,6 +19,10 @@ required_params = ('networkname',
                    'netend',
                    'netmode',)
 optional_params = {'xml' : 'xmls/network.xml',
+                   'netip6addr' : '2001b8:ca2:98::1',
+                   'netip6prefix' : '64',
+                   'netip6start' : '2001b8:ca2:98::11',
+                   'netip6end' : '2001b8:ca2:98::ff',
                   }
 
 def check_network_status(*args):
--
1.8.3.1
 optional_params = {'xml' : 'xmls/network.xml',
                   }
 

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]