[lxc-devel] [lxc/lxc] ff1004: python3: Add support for wlan device add

GitHub noreply at github.com
Tue Feb 25 21:12:09 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: ff100440079feecd62c832d8abab88686e1b7f8c
      https://github.com/lxc/lxc/commit/ff100440079feecd62c832d8abab88686e1b7f8c
  Author: Stéphane Graber <stgraber at ubuntu.com>
  Date:   2014-02-25 (Tue, 25 Feb 2014)

  Changed paths:
    M src/python-lxc/lxc/__init__.py

  Log Message:
  -----------
  python3: Add support for wlan device add

With this change it's now possible to add wlan devices to the container.
This will track down the right phy device, move it to the right
namespace (we don't care about its name), then if the user asked for a
new device name for the actual interface, we attach to the container and
rename the interface in there using attach.

I have tested this to work with both Intel and Atheros NICs.

This patch is based on the one provided to lxc-devel by Gregor Beck and
has then been updated to do the device renaming as well as minor code
style changes. Thanks!

Reported-by: Gregor Beck <gbeck at sernet.de>
Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>
Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>




More information about the lxc-devel mailing list