On Tue, Nov 12, 2013 at 12:11:19PM -0800, Arjun Sambamoorthy wrote:
> [Trying dev list as there was no response from user list]
> 
> Hi,
> 
> I am using lxc with a couple of veths on ubuntu. I'd like to know its
> network namespace name so that i can dynamically add/remove veths to the
> netns after the lxc is started. Could this be done in lxc? Also, executing
> "ip netns list" returns empty. Why would that be?
> 
> Any insight or help would be great.
> 
> Regards,
> Arjun

Network namespaces don't have name, ip netns simply symlinks the net
attach point (/proc/PID/ns/net) under /run/netns to give them names and
list them.

lxc-device already lets you move a network device inside the container.
Patches to also allow moving them out of the container are welcome.

-- 
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com

Attachment: signature.asc
Description: Digital signature

------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
Lxc-devel mailing list
Lxc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-devel

Reply via email to