From 7dd95221b78bca816370a045873c627e19e36906 Mon Sep 17 00:00:00 2001 From: Francesco Giudici Date: Tue, 9 Jul 2019 12:05:32 +0200 Subject: [PATCH] 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 --- man/nm-openvswitch.xml | 4 ++-- 1 file 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. $ nmcli conn add type ovs-port conn.interface port0 master bridge0 Connection 'ovs-port-port0' (5ae22bae-bba4-4815-9ade-7e635633e1f0) successfully added. -$ nmcli conn add type ovs-interface conn.interface iface0 master port0 \ - ipv4.method manual ipv4.address 192.0.2.1/24 +$ 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 Connection 'ovs-interface-iface0' (3640d2a1-a2fd-4718-92f1-cffadb5b6cdc) successfully added. As said above, you need to create a Port even for a single interface.