libvirt/tests/lxcxml2xmldata
ik.nitk c27553b6e2 lxc: Inherit namespace feature
This patch adds feature for lxc containers to inherit namespaces.
This is very similar to what lxc-tools or docker provides.  Look
for "man lxc-start" and you will find that you can pass command
args as [ --share-[net|ipc|uts] name|pid ]. Or check out docker
networking option in which you can give --net=container:NAME_or_ID
as an option for sharing +namespace.

>From this patch you can add extra libvirt option to share
namespace in following way.

 <lxc:namespace>
   <lxc:sharenet type='netns' value='red'/>
   <lxc:shareipc type='pid' value='12345'/>
   <lxc:shareuts type='name' value='container1'/>
 </lxc:namespace>

The netns option is specific to sharenet. It can be used to
inherit from existing network namespace.

Co-authored: Daniel P. Berrange <berrange@redhat.com>
2015-08-26 11:28:30 +01:00
..
lxc-capabilities.xml Domain config: write <features/> if some capabilities are set. 2014-07-30 14:21:55 +02:00
lxc-disk-formats.xml
lxc-filesystem-ram.xml
lxc-filesystem-root.xml
lxc-hostdev.xml Use the network route definitions for domains 2015-01-16 10:14:03 +01:00
lxc-idmap.xml Use the network route definitions for domains 2015-01-16 10:14:03 +01:00
lxc-sharenet.xml lxc: Inherit namespace feature 2015-08-26 11:28:30 +01:00
lxc-systemd.xml