[Lxc-users] vde support for lxc containers

Stéphane GAUTIER stephane.gautier at gmail.com
Tue Jun 5 19:40:20 UTC 2012


Le 05/06/2012 17:52, Eslam Mamdouh a écrit :
> Dear All,
> i'm asking if there is any possibilities to use vde with lxc 
> containers, and how ?
> Thanks in advance

Hi,

VDE no idea, I stopped using it for OpenVswitch (http://openvswitch.org/)
Here's how I use a switch with Virtual OpenVswitch LxC

http://mercurial.giprecia.fr/escolan-host-lxc/file/d4c13ace81f6/project/sources/var/lib/modulr/templates-virt/lxc/config/80NetworkPrimary
http://mercurial.giprecia.fr/escolan-host-lxc/file/d4c13ace81f6/project/sources/usr/share/escolan-virt/lxc/bin/lxc_hooks


Result :

$ ovs-vsctl show

3de8f314-17e5-4a2c-a236-8a04825237e1
     Bridge "virbr0"
         Port "vm01-1"
             Interface "vm01-1"
         Port "vm02-1"
             Interface "vm02-1"
         Port "virbr0"
             Interface "virbr0"
                 type: internal
     Bridge "vsw0"
         Port "eth1"
             tag: 4
             Interface "eth1"
         Port "fwpeda-0"
             tag: 4
             Interface "vm01-0"
         Port "loches-0"
             tag: 5
             Interface "vm02-0"
         Port "vsw0"
             Interface "vsw0"
                 type: internal
     ovs_version: "1.4.0"


Stephane




More information about the lxc-users mailing list