Update the tunnel documentation as per:
https://github.com/openvswitch/ovs/blob/master/Documentation/faq/releases.rst

Using the following command:
ovs-vsctl add-port br-int tun-2
will trigger an error because the type is not defined.
Update the documentation to chain commands so the error will not scare
users.

Signed-off-by: Alin Gabriel Serdean <aserd...@cloudbasesolutions.com>
---
 Documentation/intro/install/windows.rst | 27 ++++++++++++++-------------
 1 file changed, 14 insertions(+), 13 deletions(-)

diff --git a/Documentation/intro/install/windows.rst 
b/Documentation/intro/install/windows.rst
index 1e7707f..341b975 100644
--- a/Documentation/intro/install/windows.rst
+++ b/Documentation/intro/install/windows.rst
@@ -660,25 +660,26 @@ For example, first add the tunnel port between
 
 .. code-block:: doscon
 
-   > ovs-vsctl add-port br-int tun-1
-   > ovs-vsctl set Interface tun-1 type=<port-type>
-   > ovs-vsctl set Interface tun-1 options:local_ip=172.168.201.101
-   > ovs-vsctl set Interface tun-1 options:remote_ip=172.168.201.102
-   > ovs-vsctl set Interface tun-1 options:in_key=flow
-   > ovs-vsctl set Interface tun-1 options:out_key=flow
+   > ovs-vsctl add-port br-int tun-1 \
+       -- set Interface tun-1 type=<port-type> \
+       -- set Interface tun-1 options:local_ip=172.168.201.101 \
+       -- set Interface tun-1 options:remote_ip=172.168.201.102 \
+       -- set Interface tun-1 options:in_key=flow \
+       -- set Interface tun-1 options:out_key=flow
 
 ...and the tunnel port between 172.168.201.101 <-> 172.168.201.105:
 
 .. code-block:: doscon
 
-   > ovs-vsctl add-port br-int tun-2
-   > ovs-vsctl set Interface tun-2 type=<port-type>
-   > ovs-vsctl set Interface tun-2 options:local_ip=172.168.201.102
-   > ovs-vsctl set Interface tun-2 options:remote_ip=172.168.201.105
-   > ovs-vsctl set Interface tun-2 options:in_key=flow
-   > ovs-vsctl set Interface tun-2 options:out_key=flow
+   > ovs-vsctl add-port br-int tun-2 \
+       -- set Interface tun-2 type=<port-type> \
+       -- set Interface tun-2 options:local_ip=172.168.201.102 \
+       -- set Interface tun-2 options:remote_ip=172.168.201.105 \
+       -- set Interface tun-2 options:in_key=flow \
+       -- set Interface tun-2 options:out_key=flow
 
-Where ``<port-type>`` is one of: ``stt`` or ``vxlan``
+Where ``<port-type>`` is one of: ``geneve``, ``gre``, ``stt`` or ``vxlan``
+For limitations please view :doc:`/faq/releases` for more information.
 
 .. note::
 
-- 
2.10.2.windows.1
_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to