summaryrefslogtreecommitdiff
path: root/tutorial/t-stage2
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2013-04-19 16:25:56 -0700
committerBen Pfaff <blp@nicira.com>2013-04-19 16:26:24 -0700
commiteeecce05e14a6c62ff531801c0f27e54131a545c (patch)
tree18459f7a133004bac6ffcd0e7bce20a07f775c49 /tutorial/t-stage2
parent157900b47952a2c79131d1e08a560c0d6e1100c3 (diff)
downloadopenvswitch-eeecce05e14a6c62ff531801c0f27e54131a545c.tar.gz
Add a tutorial for advanced Open vSwitch features.
Signed-off-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'tutorial/t-stage2')
-rwxr-xr-xtutorial/t-stage27
1 files changed, 7 insertions, 0 deletions
diff --git a/tutorial/t-stage2 b/tutorial/t-stage2
new file mode 100755
index 000000000..f0d687e68
--- /dev/null
+++ b/tutorial/t-stage2
@@ -0,0 +1,7 @@
+#! /bin/sh -ve
+
+ovs-ofctl add-flow br0 \
+ "table=2 actions=learn(table=10, NXM_OF_VLAN_TCI[0..11], \
+ NXM_OF_ETH_DST[]=NXM_OF_ETH_SRC[], \
+ load:NXM_OF_IN_PORT[]->NXM_NX_REG0[0..15]), \
+ resubmit(,3)"