commit | 40348cfa6e34960da6b77320748025e86b0ba747 | [log] [download] |
---|---|---|
author | Glauber Costa <glommer@parallels.com> | Tue Aug 07 13:26:30 2012 +0400 |
committer | Kir Kolyshkin <kir@openvz.org> | Thu Aug 09 18:36:08 2012 +0400 |
tree | 57d2793b9515355539f88958e787551459697c62 | |
parent | c6f7199b2cb67c52c447d978844735e152decee3 [diff] |
Implement upstream netdev function We use netdev_ctl function to deal with a network device inside container. Those would be commands like --netdev-add and its respective deletion. The goal of netdev is to provide the container with a device that already exists in the box. We'll use the ip utility to achieve that, by moving the said interface to the network namespace the container runs at. Signed-off-by: Glauber Costa <glommer@parallels.com>