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

hongming honzhang at redhat.com
Fri Jan 30 05:17:12 UTC 2015


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',
>                     }
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20150130/4a733191/attachment-0001.htm>


More information about the libvir-list mailing list