Re: [PATCH 0/3] LXC guest network device name changes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jul 2, 2014 at 3:57 PM, Cédric Bosdonnat <cbosdonnat@xxxxxxxx> wrote:
> 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.

We need this feature because you want to change the interface name and drop
CAP_NET_ADMIN?

> 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
>
> --
> libvir-list mailing list
> libvir-list@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/libvir-list



-- 
Thanks,
//richard

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list





[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]