git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add a tutorial for advanced Open vSwitch features.
[sliver-openvswitch.git]
/
tutorial
/
t-stage2
diff --git a/tutorial/t-stage2
b/tutorial/t-stage2
new file mode 100755
(executable)
index 0000000..
f0d687e
--- /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)"