diff options
author | Francesco Giudici <fgiudici@redhat.com> | 2019-07-09 12:05:32 +0200 |
---|---|---|
committer | Francesco Giudici <fgiudici@redhat.com> | 2019-07-09 12:05:32 +0200 |
commit | 7dd95221b78bca816370a045873c627e19e36906 (patch) | |
tree | b195fce7a2ba2616e1850f76830d9caa423d22d2 | |
parent | 6a623149681db3b7965065f85f2bd92c0134f933 (diff) | |
download | NetworkManager-7dd95221b78bca816370a045873c627e19e36906.tar.gz |
man: update nm-openswitch example
Seems that a quite common openswitch basic configuration consist of a
one bridge, one port and one interface, all with the same interface
name. When performing such configuration in NetworkManager you need to
specify the slave-type for the ovs-interface, otherwise the master
interface specified there may match the bridge interface, resulting in
an error.
So, let's specify the slave-type for the ovs-interface, so that the
example will work also when the same interface name is specified for
both the ovs-bridge and the ovs-port.
https://bugzilla.redhat.com/show_bug.cgi?id=1638038
-rw-r--r-- | man/nm-openvswitch.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/man/nm-openvswitch.xml b/man/nm-openvswitch.xml index d156e78e45..52ecf96b7d 100644 --- a/man/nm-openvswitch.xml +++ b/man/nm-openvswitch.xml @@ -134,8 +134,8 @@ Connection 'ovs-bridge-bridge0' (d10fc64d-1d48-4394-a1b8-e1aea72f27d5) successfully added. <prompt>$ </prompt><userinput>nmcli conn add type ovs-port conn.interface port0 master bridge0</userinput> Connection 'ovs-port-port0' (5ae22bae-bba4-4815-9ade-7e635633e1f0) successfully added. -<prompt>$ </prompt><userinput>nmcli conn add type ovs-interface conn.interface iface0 master port0 \ - ipv4.method manual ipv4.address 192.0.2.1/24</userinput> +<prompt>$ </prompt><userinput>nmcli conn add type ovs-interface slave-type ovs-port conn.interface iface0 \ + master port0 ipv4.method manual ipv4.address 192.0.2.1/24</userinput> Connection 'ovs-interface-iface0' (3640d2a1-a2fd-4718-92f1-cffadb5b6cdc) successfully added. </screen> <para>As said above, you need to create a Port even for a single interface. |