]> git.ipfire.org Git - thirdparty/libvirt.git/commit
LXC from native: implement no network conversion
authorCédric Bosdonnat <cbosdonnat@suse.com>
Wed, 5 Feb 2014 14:10:03 +0000 (15:10 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Wed, 12 Feb 2014 17:52:46 +0000 (17:52 +0000)
commit7bfd6e97ec2a5eba0f3492c83009882a8ea4bdaf
treee87e1115b613f8374941c6983d5f332d0d447c02
parenta41680f8c5205113834fb4b28f9ec3af3449ba30
LXC from native: implement no network conversion

If no network configuration is provided, LXC only provides the loopback
interface. To match this, we need to use the privnet feature. LXC will
also define a 'none' network type in its 1.0.0 version that fits
libvirt LXC driver's default.
src/lxc/lxc_native.c
tests/lxcconf2xmldata/lxcconf2xml-nonenetwork.config [new file with mode: 0644]
tests/lxcconf2xmldata/lxcconf2xml-nonenetwork.xml [new file with mode: 0644]
tests/lxcconf2xmldata/lxcconf2xml-nonetwork.config [new file with mode: 0644]
tests/lxcconf2xmldata/lxcconf2xml-nonetwork.xml [new file with mode: 0644]
tests/lxcconf2xmltest.c