This patch series allows users to configure the network device name in the
LXC container. I intentionaly didn't allow this for hostdev net interfaces
as the NIC would be returned with a different name to the host and we have
no way to guess under what name it was returned to the host namespace.
This will help filling the feature gap with LXC WRT network configuration.
Cédric Bosdonnat (3):
lxc network configuration allows setting target container NIC name
lxc conf2xml: convert lxc.network.name for veth networks
lxc network device names change documentation
docs/formatdomain.html.in | 17 +++++++++++++
docs/schemas/domaincommon.rng | 17 +++++++++++++
src/conf/domain_conf.c | 27 ++++++++++++++++++++
src/conf/domain_conf.h | 2 ++
src/lxc/lxc_container.c | 29 +++++++++++++++++++---
src/lxc/lxc_native.c | 22 +++++++++++-----
src/lxc/lxc_process.c | 25 +++++++++++++++++++
.../lxcconf2xmldata/lxcconf2xml-physnetwork.config | 1 +
tests/lxcconf2xmldata/lxcconf2xml-simple.xml | 1 +
tests/lxcxml2xmldata/lxc-idmap.xml | 1 +
10 files changed, 132 insertions(+), 10 deletions(-)
--
1.8.4.5