From c062135f1cc687fc7fcfcc4f2848002b780fa284 Mon Sep 17 00:00:00 2001 From: Frode Nordahl Date: Wed, 13 May 2020 12:07:59 +0200 Subject: [PATCH] ovn: Fix example for use of `ovs-ofctl` command The charms configure briges with the OpenFlow 1.3 and newer protocols which require a different syntax when issuing the ovs-ofctl command. Change-Id: I80d24db7fc52a885508029e89a3d7f51ce9b8b84 --- deploy-guide/source/app-ovn.rst | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/deploy-guide/source/app-ovn.rst b/deploy-guide/source/app-ovn.rst index f6dac74..ae55f68 100644 --- a/deploy-guide/source/app-ovn.rst +++ b/deploy-guide/source/app-ovn.rst @@ -592,7 +592,7 @@ SSH into one of the chassis units to get access to various diagnostic tools: sudo ovs-vsctl show - sudo ovs-ofctl dump-flows br-int + sudo ovs-ofctl -O OpenFlow13 dump-flows br-int sudo ovs-appctl -t ovs-vswitchd \ ofproto/trace br-provider \ @@ -611,6 +611,16 @@ SSH into one of the chassis units to get access to various diagnostic tools: icmp4.type==8 && \ ip.ttl == 64' +.. note:: + + OVN makes use of OpenFlow 1.3 or newer and as such the charm configures + bridges to use these protocols. To be able to successfully use the + :command:`ovs-ofctl` command you must specify the OpenFlow version as shown + in the example above. + + You may issue the :command:`ovs-vsctl list bridge` command to show what + protocols are enabled on the bridges. + .. LINKS .. _Vault: app-vault .. _Certificate Lifecycle Management: app-certificate-management