-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathredirectable-routing-switch.conf
90 lines (69 loc) · 1.29 KB
/
redirectable-routing-switch.conf
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
vswitch {
datapath_id "0xe0"
}
vswitch {
datapath_id "0xe1"
}
vswitch {
datapath_id "0xe2"
}
vswitch {
datapath_id "0xe3"
}
vswitch {
datapath_id "0xe4"
}
vhost ("host1") {
ip "192.168.0.1"
netmask "255.255.0.0"
mac "00:00:00:00:10:01"
}
vhost ("host2") {
ip "192.168.0.2"
netmask "255.255.0.0"
mac "00:00:00:00:10:02"
}
vhost ("host3") {
ip "192.168.0.3"
netmask "255.255.0.0"
mac "00:00:00:01:00:03"
}
vhost ("host4") {
ip "192.168.0.4"
netmask "255.255.0.0"
mac "00:00:00:01:00:04"
}
vhost ("host5") {
ip "192.168.0.5"
netmask "255.255.0.0"
mac "00:00:00:01:00:04"
}
link "0xe0", "host1"
link "0xe1", "host2"
link "0xe2", "host3"
link "0xe3", "host4"
link "0xe4", "host5"
link "0xe0", "0xe1"
link "0xe0", "0xe2"
link "0xe0", "0xe4"
link "0xe1", "0xe0"
link "0xe1", "0xe3"
link "0xe1", "0xe4"
link "0xe2", "0xe0"
link "0xe2", "0xe3"
link "0xe2", "0xe4"
link "0xe3", "0xe1"
link "0xe3", "0xe2"
link "0xe3", "0xe4"
link "0xe4", "0xe0"
link "0xe4", "0xe1"
link "0xe4", "0xe2"
link "0xe4", "0xe3"
app {
path "../apps/topology/topology"
}
app {
path "../apps/topology/topology_discovery"
}
event :port_status => "topology", :packet_in => "filter", :state_notify => "topology"
filter :lldp => "topology_discovery", :packet_in => "RedirectableRoutingSwitch"