[libvirt] [PATCH v3 05/21] LXC from native: implement no network conversion
Daniel P. Berrange
berrange at redhat.com
Wed Feb 12 17:43:10 UTC 2014
On Wed, Feb 05, 2014 at 03:10:03PM +0100, Cédric Bosdonnat wrote:
> 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 | 55 ++++++++++++++++++++++
> .../lxcconf2xmldata/lxcconf2xml-nonenetwork.config | 4 ++
> tests/lxcconf2xmldata/lxcconf2xml-nonenetwork.xml | 21 +++++++++
> tests/lxcconf2xmldata/lxcconf2xml-nonetwork.config | 3 ++
> tests/lxcconf2xmldata/lxcconf2xml-nonetwork.xml | 24 ++++++++++
> tests/lxcconf2xmltest.c | 2 +
> 6 files changed, 109 insertions(+)
> create mode 100644 tests/lxcconf2xmldata/lxcconf2xml-nonenetwork.config
> create mode 100644 tests/lxcconf2xmldata/lxcconf2xml-nonenetwork.xml
> create mode 100644 tests/lxcconf2xmldata/lxcconf2xml-nonetwork.config
> create mode 100644 tests/lxcconf2xmldata/lxcconf2xml-nonetwork.xml
ACK
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 libvir-list
mailing list