diff options
author | 2009-12-15 10:14:27 +0100 | |
---|---|---|
committer | 2009-12-15 10:14:27 +0100 | |
commit | 26c390288bbe04bbaba26f4ec1bbe68cb9d2b602 (patch) | |
tree | d81e458cfc77ca26b56acd7aeb516e43ca1c0278 /doc | |
parent | Add utility u16 get/put (diff) | |
download | lxc-26c390288bbe04bbaba26f4ec1bbe68cb9d2b602.tar.gz lxc-26c390288bbe04bbaba26f4ec1bbe68cb9d2b602.tar.bz2 lxc-26c390288bbe04bbaba26f4ec1bbe68cb9d2b602.zip |
Add VLAN support in config
This adds ability to migrate vlan interfaces into namespaces
by specifying them in a config
Signed-off-by: Jamal Hadi Salim <hadi@cyberus.ca>
Acked-by: Daniel Lezcano <daniel.lezcano@free.fr>
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/examples/Makefile.am | 2 | ||||
-rw-r--r-- | doc/examples/lxc-vlan.conf.in | 9 |
2 files changed, 11 insertions, 0 deletions
diff --git a/doc/examples/Makefile.am b/doc/examples/Makefile.am index 0490a8b..d68e192 100644 --- a/doc/examples/Makefile.am +++ b/doc/examples/Makefile.am @@ -5,6 +5,7 @@ pkgexamplesdir=$(docdir)/examples pkgexamples_DATA = \ lxc-macvlan.conf \ + lxc-vlan.conf \ lxc-no-netns.conf \ lxc-empty-netns.conf \ lxc-phys.conf \ @@ -14,6 +15,7 @@ endif noinst_DATA = \ lxc-macvlan.conf.in \ + lxc-vlan.conf.in \ lxc-empty-netns.conf.in \ lxc-no-netns.conf.in \ lxc-phys.conf.in \ diff --git a/doc/examples/lxc-vlan.conf.in b/doc/examples/lxc-vlan.conf.in new file mode 100644 index 0000000..4404439 --- /dev/null +++ b/doc/examples/lxc-vlan.conf.in @@ -0,0 +1,9 @@ +# Container with network virtualized using the vlan device driver +lxc.utsname = alpha +lxc.network.type = vlan +lxc.network.vlan.id = 1234 +lxc.network.flags = up +lxc.network.link = eth0 +lxc.network.hwaddr = 4a:49:43:49:79:bd +lxc.network.ipv4 = 1.2.3.4/24 +lxc.network.ipv6 = 2003:db8:1:0:214:1234:fe0b:3596 |