summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorPaul Holzinger <pholzing@redhat.com>2021-09-16 14:03:49 +0200
committerPaul Holzinger <pholzing@redhat.com>2021-09-16 14:53:33 +0200
commitc20f61148cfc7c51f72bf266e154d1903db68c6a (patch)
treec12439f97a2c9ba211273cd24421964dfe5febc3 /docs
parent9119a578e782b92bd344f093f5491c318bc20d69 (diff)
downloadpodman-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')
-rw-r--r--docs/source/markdown/podman-network-create.1.md11
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**