From 5fe4e8302001fcd0e9dcb6ba08a19232401cdfaf Mon Sep 17 00:00:00 2001 From: Lubomir Rintel Date: Mon, 18 Dec 2017 15:28:52 +0100 Subject: [PATCH] man/openvswitch: fix type in examples "conn.type" doesn't allow type aliases. Use "type" instead. https://bugzilla.redhat.com/show_bug.cgi?id=1519173 (cherry picked from commit 6713ab4d6ca1c259e1653df01b7967eae422f286) --- man/nm-openvswitch.xml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/man/nm-openvswitch.xml b/man/nm-openvswitch.xml index 5573046c38..c71e2008d4 100644 --- a/man/nm-openvswitch.xml +++ b/man/nm-openvswitch.xml @@ -130,11 +130,11 @@ Examples Creating a Bridge with a single internal Interface -$ nmcli conn add conn.type ovs-bridge conn.interface bridge0 +$ nmcli conn add type ovs-bridge conn.interface bridge0 Connection 'ovs-bridge-bridge0' (d10fc64d-1d48-4394-a1b8-e1aea72f27d5) successfully added. -$ nmcli conn add conn.type ovs-port conn.interface port0 conn.master bridge0 +$ nmcli conn add type ovs-port conn.interface port0 conn.master bridge0 Connection 'ovs-port-port0' (5ae22bae-bba4-4815-9ade-7e635633e1f0) successfully added. -$ nmcli conn add conn.type ovs-interface conn.interface iface0 conn.master port0 \ +$ nmcli conn add type ovs-interface conn.interface iface0 conn.master port0 \ ipv4.method manual ipv4.address 192.0.2.1/24 Connection 'ovs-interface-iface0' (3640d2a1-a2fd-4718-92f1-cffadb5b6cdc) successfully added. @@ -145,29 +145,29 @@ Connection 'ovs-interface-iface0' (3640d2a1-a2fd-4718-92f1-cffadb5b6cdc) success Adding a Linux interface to a Bridge -$ nmcli conn add conn.type ovs-port conn.interface port1 conn.master bridge0 +$ nmcli conn add type ovs-port conn.interface port1 conn.master bridge0 Connection 'ovs-port-port1' (67d041eb-8e7b-4458-afee-a1d07c9c4552) successfully added. -$ nmcli conn add conn.type ethernet conn.interface eth0 conn.master port1 +$ nmcli conn add type ethernet conn.interface eth0 conn.master port1 Connection 'ovs-slave-eth0' (d459c45c-cf78-4c1c-b4b7-505e71379624) successfully added. Again, you need a port. Creating a VLAN -$ nmcli conn add conn.type ovs-port conn.interface port2 conn.master bridge0 ovs-port.tag 120 +$ nmcli conn add type ovs-port conn.interface port2 conn.master bridge0 ovs-port.tag 120 Connection 'ovs-port-port2' (3994c093-4ef7-4549-a4fd-627b831c3cb8) successfully added. -$ nmcli conn add conn.type ethernet conn.interface eth1 conn.master port2 +$ nmcli conn add type ethernet conn.interface eth1 conn.master port2 Connection 'ovs-slave-eth1' (099be06e-71ad-484d-8d5a-fcadc5f207f5) successfully added. It's just a port with a tag. Creating a Bond -$ nmcli conn add conn.type ovs-port conn.interface bond0 conn.master bridge0 +$ nmcli conn add type ovs-port conn.interface bond0 conn.master bridge0 Connection 'ovs-port-bond0' (d154ebf9-e999-4e1b-a084-a3de53d25d8a) successfully added. -$ nmcli conn add conn.type ethernet conn.interface eth2 conn.master bond0 +$ nmcli conn add type ethernet conn.interface eth2 conn.master bond0 Connection 'ovs-slave-eth2' (475ac1bf-30b2-4534-a877-27f33f58b082) successfully added. -$ nmcli conn add conn.type ethernet conn.interface eth3 conn.master bond0 +$ nmcli conn add type ethernet conn.interface eth3 conn.master bond0 Connection 'ovs-slave-eth3' (8dedeecb-ed12-482b-b77a-24a4fb835136) successfully added. It's just a Port with multiple interfaces. See nm-settings manual for