-
Notifications
You must be signed in to change notification settings - Fork 1
/
config_optimal.sh
70 lines (70 loc) · 6.75 KB
/
config_optimal.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
#!/bin/bash
ovs-ofctl add-flow s9 -O OpenFlow13 dl_src=00:00:00:00:00:0a,dl_dst=00:00:00:00:00:07,actions=output:2
ovs-ofctl add-flow s5 -O OpenFlow13 dl_src=00:00:00:00:00:0a,dl_dst=00:00:00:00:00:07,actions=output:4
ovs-ofctl add-flow s7 -O OpenFlow13 dl_src=00:00:00:00:00:08,dl_dst=00:00:00:00:00:04,actions=output:2
ovs-ofctl add-flow s6 -O OpenFlow13 dl_src=00:00:00:00:00:07,dl_dst=00:00:00:00:00:01,actions=output:3
ovs-ofctl add-flow s5 -O OpenFlow13 dl_src=00:00:00:00:00:07,dl_dst=00:00:00:00:00:01,actions=output:5
ovs-ofctl add-flow s4 -O OpenFlow13 dl_src=00:00:00:00:00:07,dl_dst=00:00:00:00:00:01,actions=output:5
ovs-ofctl add-flow s0 -O OpenFlow13 dl_src=00:00:00:00:00:01,dl_dst=00:00:00:00:00:07,actions=output:5
ovs-ofctl add-flow s4 -O OpenFlow13 dl_src=00:00:00:00:00:01,dl_dst=00:00:00:00:00:07,actions=output:2
ovs-ofctl add-flow s5 -O OpenFlow13 dl_src=00:00:00:00:00:01,dl_dst=00:00:00:00:00:07,actions=output:4
ovs-ofctl add-flow s3 -O OpenFlow13 dl_src=00:00:00:00:00:04,dl_dst=00:00:00:00:00:08,actions=output:3
ovs-ofctl add-flow s1 -O OpenFlow13 dl_src=00:00:00:00:00:04,dl_dst=00:00:00:00:00:08,actions=output:4
ovs-ofctl add-flow s9 -O OpenFlow13 dl_src=00:00:00:00:00:04,dl_dst=00:00:00:00:00:08,actions=output:4
ovs-ofctl add-flow s1 -O OpenFlow13 dl_src=00:00:00:00:00:02,dl_dst=00:00:00:00:00:09,actions=output:4
ovs-ofctl add-flow s9 -O OpenFlow13 dl_src=00:00:00:00:00:02,dl_dst=00:00:00:00:00:09,actions=output:4
ovs-ofctl add-flow s7 -O OpenFlow13 dl_src=00:00:00:00:00:02,dl_dst=00:00:00:00:00:09,actions=output:4
ovs-ofctl add-flow s8 -O OpenFlow13 dl_src=00:00:00:00:00:09,dl_dst=00:00:00:00:00:02,actions=output:2
ovs-ofctl add-flow s7 -O OpenFlow13 dl_src=00:00:00:00:00:09,dl_dst=00:00:00:00:00:02,actions=output:3
ovs-ofctl add-flow s9 -O OpenFlow13 dl_src=00:00:00:00:00:09,dl_dst=00:00:00:00:00:02,actions=output:6
ovs-ofctl add-flow s6 -O OpenFlow13 dl_src=00:00:00:00:00:07,dl_dst=00:00:00:00:00:0a,actions=output:4
ovs-ofctl add-flow s8 -O OpenFlow13 dl_src=00:00:00:00:00:09,dl_dst=00:00:00:00:00:06,actions=output:3
ovs-ofctl add-flow s5 -O OpenFlow13 dl_src=00:00:00:00:00:06,dl_dst=00:00:00:00:00:09,actions=output:6
ovs-ofctl add-flow s9 -O OpenFlow13 dl_src=00:00:00:00:00:0a,dl_dst=00:00:00:00:00:02,actions=output:6
ovs-ofctl add-flow s1 -O OpenFlow13 dl_src=00:00:00:00:00:02,dl_dst=00:00:00:00:00:0a,actions=output:4
ovs-ofctl add-flow s3 -O OpenFlow13 dl_src=00:00:00:00:00:04,dl_dst=00:00:00:00:00:01,actions=output:3
ovs-ofctl add-flow s1 -O OpenFlow13 dl_src=00:00:00:00:00:04,dl_dst=00:00:00:00:00:01,actions=output:5
ovs-ofctl add-flow s0 -O OpenFlow13 dl_src=00:00:00:00:00:01,dl_dst=00:00:00:00:00:04,actions=output:3
ovs-ofctl add-flow s1 -O OpenFlow13 dl_src=00:00:00:00:00:01,dl_dst=00:00:00:00:00:04,actions=output:2
ovs-ofctl add-flow s4 -O OpenFlow13 dl_src=00:00:00:00:00:05,dl_dst=00:00:00:00:00:04,actions=output:2
ovs-ofctl add-flow s5 -O OpenFlow13 dl_src=00:00:00:00:00:05,dl_dst=00:00:00:00:00:04,actions=output:8
ovs-ofctl add-flow s3 -O OpenFlow13 dl_src=00:00:00:00:00:04,dl_dst=00:00:00:00:00:05,actions=output:4
ovs-ofctl add-flow s5 -O OpenFlow13 dl_src=00:00:00:00:00:04,dl_dst=00:00:00:00:00:05,actions=output:5
ovs-ofctl add-flow s7 -O OpenFlow13 dl_src=00:00:00:00:00:08,dl_dst=00:00:00:00:00:03,actions=output:5
ovs-ofctl add-flow s6 -O OpenFlow13 dl_src=00:00:00:00:00:08,dl_dst=00:00:00:00:00:03,actions=output:6
ovs-ofctl add-flow s2 -O OpenFlow13 dl_src=00:00:00:00:00:03,dl_dst=00:00:00:00:00:08,actions=output:2
ovs-ofctl add-flow s6 -O OpenFlow13 dl_src=00:00:00:00:00:03,dl_dst=00:00:00:00:00:08,actions=output:5
ovs-ofctl add-flow s0 -O OpenFlow13 dl_src=00:00:00:00:00:01,dl_dst=00:00:00:00:00:09,actions=output:4
ovs-ofctl add-flow s5 -O OpenFlow13 dl_src=00:00:00:00:00:01,dl_dst=00:00:00:00:00:09,actions=output:6
ovs-ofctl add-flow s8 -O OpenFlow13 dl_src=00:00:00:00:00:09,dl_dst=00:00:00:00:00:01,actions=output:3
ovs-ofctl add-flow s5 -O OpenFlow13 dl_src=00:00:00:00:00:09,dl_dst=00:00:00:00:00:01,actions=output:9
ovs-ofctl add-flow s6 -O OpenFlow13 dl_src=00:00:00:00:00:07,dl_dst=00:00:00:00:00:02,actions=output:4
ovs-ofctl add-flow s9 -O OpenFlow13 dl_src=00:00:00:00:00:07,dl_dst=00:00:00:00:00:02,actions=output:6
ovs-ofctl add-flow s1 -O OpenFlow13 dl_src=00:00:00:00:00:02,dl_dst=00:00:00:00:00:07,actions=output:4
ovs-ofctl add-flow s9 -O OpenFlow13 dl_src=00:00:00:00:00:02,dl_dst=00:00:00:00:00:07,actions=output:5
ovs-ofctl add-flow s2 -O OpenFlow13 dl_src=00:00:00:00:00:03,dl_dst=00:00:00:00:00:02,actions=output:3
ovs-ofctl add-flow s3 -O OpenFlow13 dl_src=00:00:00:00:00:03,dl_dst=00:00:00:00:00:02,actions=output:3
ovs-ofctl add-flow s1 -O OpenFlow13 dl_src=00:00:00:00:00:02,dl_dst=00:00:00:00:00:03,actions=output:2
ovs-ofctl add-flow s3 -O OpenFlow13 dl_src=00:00:00:00:00:02,dl_dst=00:00:00:00:00:03,actions=output:5
ovs-ofctl add-flow s5 -O OpenFlow13 dl_src=00:00:00:00:00:06,dl_dst=00:00:00:00:00:01,actions=output:5
ovs-ofctl add-flow s4 -O OpenFlow13 dl_src=00:00:00:00:00:06,dl_dst=00:00:00:00:00:01,actions=output:5
ovs-ofctl add-flow s0 -O OpenFlow13 dl_src=00:00:00:00:00:01,dl_dst=00:00:00:00:00:06,actions=output:5
ovs-ofctl add-flow s4 -O OpenFlow13 dl_src=00:00:00:00:00:01,dl_dst=00:00:00:00:00:06,actions=output:2
ovs-ofctl add-flow s7 -O OpenFlow13 dl_src=00:00:00:00:00:08,dl_dst=00:00:00:00:00:03,actions=output:5
ovs-ofctl add-flow s6 -O OpenFlow13 dl_src=00:00:00:00:00:08,dl_dst=00:00:00:00:00:03,actions=output:6
ovs-ofctl add-flow s2 -O OpenFlow13 dl_src=00:00:00:00:00:03,dl_dst=00:00:00:00:00:08,actions=output:2
ovs-ofctl add-flow s6 -O OpenFlow13 dl_src=00:00:00:00:00:03,dl_dst=00:00:00:00:00:08,actions=output:5
ovs-ofctl add-flow s6 -O OpenFlow13 dl_src=00:00:00:00:00:07,dl_dst=00:00:00:00:00:06,actions=output:3
ovs-ofctl add-flow s5 -O OpenFlow13 dl_src=00:00:00:00:00:06,dl_dst=00:00:00:00:00:07,actions=output:4
ovs-ofctl add-flow s7 -O OpenFlow13 dl_src=00:00:00:00:00:08,dl_dst=00:00:00:00:00:06,actions=output:6
ovs-ofctl add-flow s5 -O OpenFlow13 dl_src=00:00:00:00:00:06,dl_dst=00:00:00:00:00:08,actions=output:11
ovs-ofctl add-flow s0 -O OpenFlow13 dl_dst=00:00:00:00:00:01,actions=output:1
ovs-ofctl add-flow s1 -O OpenFlow13 dl_dst=00:00:00:00:00:02,actions=output:1
ovs-ofctl add-flow s2 -O OpenFlow13 dl_dst=00:00:00:00:00:03,actions=output:1
ovs-ofctl add-flow s3 -O OpenFlow13 dl_dst=00:00:00:00:00:04,actions=output:1
ovs-ofctl add-flow s4 -O OpenFlow13 dl_dst=00:00:00:00:00:05,actions=output:1
ovs-ofctl add-flow s5 -O OpenFlow13 dl_dst=00:00:00:00:00:06,actions=output:1
ovs-ofctl add-flow s6 -O OpenFlow13 dl_dst=00:00:00:00:00:07,actions=output:1
ovs-ofctl add-flow s7 -O OpenFlow13 dl_dst=00:00:00:00:00:08,actions=output:1
ovs-ofctl add-flow s8 -O OpenFlow13 dl_dst=00:00:00:00:00:09,actions=output:1
ovs-ofctl add-flow s9 -O OpenFlow13 dl_dst=00:00:00:00:00:0a,actions=output:1