[virt-tools-list] [PATCH virt-manager 1/2] virtinst: support virtual port parameters for non-802.1Qbg NICs

Daniel P. Berrange berrange at redhat.com
Fri Aug 28 17:15:17 UTC 2015


On Fri, Aug 28, 2015 at 12:26:30PM +0100, Daniel P. Berrange wrote:
> diff --git a/virtinst/cli.py b/virtinst/cli.py
> index 22123d8..f5ed1c2 100644
> --- a/virtinst/cli.py
> +++ b/virtinst/cli.py
> @@ -1761,12 +1761,18 @@ class ParserNetwork(VirtCLIParser):
>          self.set_param("driver_queues", "driver_queues")
>  
>          self.set_param("virtualport.type", "virtualport_type")
> +
> +        # For vepa
>          self.set_param("virtualport.managerid", "virtualport_managerid")
>          self.set_param("virtualport.typeid", "virtualport_typeid")
>          self.set_param("virtualport.typeidversion",
>              "virtualport_typeidversion")
>          self.set_param("virtualport.instanceid", "virtualport_instanceid")
>  
> +        # For openvswitch
> +        self.set_param("virtualport.profileid", "virtualport_profileid")
> +        self.set_param("virtualport.interfaceid", "virtualport_interfaceid")

FYI I tweaked the comment here to mention midonet & distinguish qbg vs qbh vepa
modes before I pushed to git.


Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|




More information about the virt-tools-list mailing list