diff options
author | Paul Holzinger <pholzing@redhat.com> | 2021-09-16 14:03:49 +0200 |
---|---|---|
committer | Paul Holzinger <pholzing@redhat.com> | 2021-09-16 14:53:33 +0200 |
commit | c20f61148cfc7c51f72bf266e154d1903db68c6a (patch) | |
tree | c12439f97a2c9ba211273cd24421964dfe5febc3 /docs/source | |
parent | 9119a578e782b92bd344f093f5491c318bc20d69 (diff) | |
download | podman-c20f61148cfc7c51f72bf266e154d1903db68c6a.tar.gz podman-c20f61148cfc7c51f72bf266e154d1903db68c6a.tar.bz2 podman-c20f61148cfc7c51f72bf266e154d1903db68c6a.zip |
CNI: network create support macvlan modes
Support setting the macvlan mode with `podman network create -d macvlan
--opt mode=bridge`. This will correctly set the specified macvlan mode
in the cni conflist file.
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
Diffstat (limited to 'docs/source')
-rw-r--r-- | docs/source/markdown/podman-network-create.1.md | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/docs/source/markdown/podman-network-create.1.md b/docs/source/markdown/podman-network-create.1.md index 816dd53ea..1eb96be11 100644 --- a/docs/source/markdown/podman-network-create.1.md +++ b/docs/source/markdown/podman-network-create.1.md @@ -32,9 +32,14 @@ As rootless the `macvlan` driver has no access to the host network interfaces be Set driver specific options. -For the `bridge` driver the following options are supported: `mtu` and `vlan`. -The `mtu` option sets the Maximum Transmission Unit (MTU) and takes an integer value. -The `vlan` option assign VLAN tag and enables vlan\_filtering. Defaults to none. +All drivers accept the `mtu` option. The `mtu` option sets the Maximum Transmission Unit (MTU) and takes an integer value. + +Additionally the `bridge` driver supports the following option: +- `vlan`: This option assign VLAN tag and enables vlan\_filtering. Defaults to none. + +The `macvlan` driver supports the following options: +- `parent`: The host device which should be used for the macvlan interface. Defaults to the default route interface. +- `mode`: This options sets the specified macvlan mode on the interface. Supported values are `bridge`, `private`, `vepa`, `passthru`. Defaults to `bridge`. #### **--gateway** |