On 03/11/2011 02:00 AM, Carlos N. A. CorrĂȘa wrote:
> Hi, people.
>
> I'm trying to implement a mechanism to permit the addition of a new network
> device to a container "on-the-fly".
>
> That would be useful to me in some complex virtual networking scenarios,
> where a container need to connect to a newborn bridge and I can't stand to
> lxc-stop/modify config manually/lxc-start.
>
> I'm thinking about:
>
> 1. Hacking commands.(h|c) to create a new callback for hot netdev addition
> 2. Implement the callback through a call to instanciate_(veth|macvlan|etc)
> 3. Updating lxc_handler->conf->network by adding a new netdev to the list
>
> Could this be accomplished some other way? Do you think that it could be
> useful to others?

At the first glance, that sounds good.


------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Lxc-devel mailing list
Lxc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-devel

Reply via email to