[ovs-dev] meta-flow.xml: Fix typos of flow-based tunnel command examples.

Message ID 1551938690-21174-1-git-send-email-hzhou8@ebay.com
State New
Headers show
Series
  • [ovs-dev] meta-flow.xml: Fix typos of flow-based tunnel command examples.
Related show

Commit Message

Han Zhou March 7, 2019, 6:04 a.m.
From: Han Zhou <hzhou8@ebay.com>

Signed-off-by: Han Zhou <hzhou8@ebay.com>
---
 lib/meta-flow.xml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Comments

Ben Pfaff March 7, 2019, 4:11 p.m. | #1
On Wed, Mar 06, 2019 at 10:04:50PM -0800, Han Zhou wrote:
> From: Han Zhou <hzhou8@ebay.com>
> 
> Signed-off-by: Han Zhou <hzhou8@ebay.com>

Thanks!  I applied this to master.

Patch

diff --git a/lib/meta-flow.xml b/lib/meta-flow.xml
index 4a175c5..d8763eb 100644
--- a/lib/meta-flow.xml
+++ b/lib/meta-flow.xml
@@ -1352,7 +1352,7 @@  tcp,tp_src=0x07c0/0xfff0
         <pre>
 ovs-vsctl add-br br-int
 ovs-vsctl add-port br-int tap0 -- set interface tap0 ofport_request=1
-ovs-vsctl add-port br-int gre0 --
+ovs-vsctl add-port br-int gre0 -- \
     set interface gre0 ofport_request=2 type=gre \
                        options:remote_ip=192.168.1.1 options:key=5001
 ovs-ofctl add-flow br-int in_port=1,actions=2
@@ -1385,9 +1385,9 @@  ovs-ofctl add-flow br-int in_port=2,actions=1
         <pre>
 ovs-vsctl add-br br-int
 ovs-vsctl add-port br-int tap0 -- set interface tap0 ofport_request=1
-ovs-vsctl add-port br-int allgre --
-    set interface gre0 ofport_request=3 type=gre \
-                       options:remote_ip=flow options:key=flow
+ovs-vsctl add-port br-int allgre -- \
+    set interface allgre ofport_request=3 type=gre \
+                         options:remote_ip=flow options:key=flow
 ovs-ofctl add-flow br-int \
     'in_port=1 actions=set_tunnel:5001,set_field:192.168.1.1->tun_dst,3'
 ovs-ofctl add-flow br-int 'in_port=3,tun_src=192.168.1.1,tun_id=5001 actions=1'