From 2df0d9da948abfe63ac4a8a26b536e6325d3c901 Mon Sep 17 00:00:00 2001 From: Matthew Heon Date: Mon, 28 Nov 2022 13:18:43 -0500 Subject: [PATCH] Add information on metrics to the `network create` docs Add documentation on the new Netavark option, `metric`, used to set default route preference for containers joined to multiple networks. [NO NEW TESTS NEEDED] Signed-off-by: Matthew Heon --- docs/source/markdown/podman-network-create.1.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/source/markdown/podman-network-create.1.md b/docs/source/markdown/podman-network-create.1.md index eaca907dc0..72cec874a8 100644 --- a/docs/source/markdown/podman-network-create.1.md +++ b/docs/source/markdown/podman-network-create.1.md @@ -72,7 +72,9 @@ Set metadata for a network (e.g., --label mykey=value). Set driver specific options. -All drivers accept the `mtu` option. The `mtu` option sets the Maximum Transmission Unit (MTU) and takes an integer value. +All drivers accept the `mtu` and `metric` options. +- `mtu`: Sets the Maximum Transmission Unit (MTU) and takes an integer value. +- `metric` Sets the Route Metric for the default route created in every container joined to this network. Accepts a positive integer value. Can only be used with the Netavark network backend. Additionally the `bridge` driver supports the following options: - `vlan`: This option assign VLAN tag and enables vlan\_filtering. Defaults to none.