On Tue, Apr 30, 2013 at 11:27 PM, freak 62 <mailto...@gmail.com> wrote:

> Hi all,
>
>
>      I am using Ubuntu 12.10. I am trying to launch VM on the bridge of
> OVS.
>     Can I do that with virt-manager ? or Is there any other way??
>
Virt-manager is one of the UI applications that use libvirt. If I recall
correctly, then virt-manager uses virt-install to create domain XML file
and then it simply asks libvirt to start that VM.

Virt-manager is different project and your best chances are to ask them
this question. Though, several months ago I checked that myself and there
wasn't Open vSwitch support for virt-manager.


>     Can I run the existing VM's to my openvswitch bridge ?
>     I tried to edit existing VM's XML file. I changed the interface type
> a/c to my bridge but while launching I am getting error:
>
Yes, manually editing the domain XML file is the right way to do that.

>
> <interface type='bridge'>$
>        <mac address='86:4d:18:1b:4c:44'/>$
>
>        <source bridge='br-int'/>$
>
>        <virtualport type='openvswitch'>$
>
>         <parameters interfaceid='ce1d35cf-c1fb-59e5-d2e2-bfef4394eb7f'/>$
>
>        </virtualport>$
>
>        <address type='pci' domain='0x0000' bus='0x00' slot='0x03'
> function='0x0'/>$
> </interface>$
>
> error: Failed to start domain vm-1
> error: Unable to add port vnet1 to OVS bridge br-int: Operation not
> permitted
>

> My libvirtd version is 0.9.13
>
> Also my *ovsdb-server* is not running on Unix domain server socket but on
> the TCP port .
>
You have to run ovsdb-server locally, because libvirt invokes ovs-vsctl
without "--db" flag (this implies that by default
"unix:/var/run/openvswitch/db.sock" is used).


>
>
>
>
> Thanx
>
> _______________________________________________
> dev mailing list
> dev@openvswitch.org
> http://openvswitch.org/mailman/listinfo/dev
>
>
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to