Signed-off-by: YAMAMOTO Takashi <[email protected]>
---
ryu/tests/integrated/test_vrrp_multi.sh | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
create mode 100644 ryu/tests/integrated/test_vrrp_multi.sh
diff --git a/ryu/tests/integrated/test_vrrp_multi.sh
b/ryu/tests/integrated/test_vrrp_multi.sh
new file mode 100644
index 0000000..bb50333
--- /dev/null
+++ b/ryu/tests/integrated/test_vrrp_multi.sh
@@ -0,0 +1,24 @@
+#! /bin/sh
+
+VSCTL=${HOME}/ovs/bin/ovs-vsctl
+
+# create two bridges.
+# conncect them using patch ports.
+
+create() {
+ BR=$1
+ LOCAL_PORT=patch$2
+ PEER_PORT=patch$3
+ CONT=$4
+ ${VSCTL} add-br ${BR} -- set bridge ${BR} datapath_type=netdev
+ ${VSCTL} add-port ${BR} ${LOCAL_PORT}
+ ${VSCTL} set interface ${LOCAL_PORT} type=patch
+ ${VSCTL} set interface ${LOCAL_PORT} options:peer=${PEER_PORT}
+ ${VSCTL} set bridge ${BR} protocols='[OpenFlow12]'
+ ${VSCTL} set-controller ${BR} ${CONT}
+}
+
+CONT=tcp:127.0.0.1:6633
+
+create s0 0 1 ${CONT}
+create s1 1 0 ${CONT}
--
1.8.1.5
------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent
caught up. So what steps can you take to put your SQL databases under
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel