fix large optical config
Change-Id: I8c264ad0228defb4fe9087a6d070912d3c3b9e75
Showing
3 changed files
with
326 additions
and
9 deletions
... | @@ -4,55 +4,85 @@ | ... | @@ -4,55 +4,85 @@ |
4 | "uri": "of:0000ffffffffff01", "mac": "ffffffffffff01", "type": "ROADM", | 4 | "uri": "of:0000ffffffffff01", "mac": "ffffffffffff01", "type": "ROADM", |
5 | "mfr": "Linc", "hw": "OE", "sw": "?", "serial": "?", "name": "SFO-W10", | 5 | "mfr": "Linc", "hw": "OE", "sw": "?", "serial": "?", "name": "SFO-W10", |
6 | "annotations": { "latitude": 37.6, "longitude": 122.3, "optical.regens": 0 }, | 6 | "annotations": { "latitude": 37.6, "longitude": 122.3, "optical.regens": 0 }, |
7 | - "ports": [ { "port": 10, "speed": 100000, "type": "FIBER" }, { "port": 20, "speed": 0, "type": "FIBER" } ] | 7 | + "ports": [ { "port": 10, "speed": 100000, "type": "FIBER" }, |
8 | + { "port": 20, "speed": 0, "type": "FIBER" }, | ||
9 | + { "port": 50, "speed":100000, "type": "FIBER" } ] | ||
8 | }, | 10 | }, |
9 | { | 11 | { |
10 | "uri": "of:0000ffffffffff02", "mac": "ffffffffffff02", "type": "ROADM", | 12 | "uri": "of:0000ffffffffff02", "mac": "ffffffffffff02", "type": "ROADM", |
11 | "mfr": "Linc", "hw": "OE", "sw": "?", "serial": "?", "name": "SJC-W10", | 13 | "mfr": "Linc", "hw": "OE", "sw": "?", "serial": "?", "name": "SJC-W10", |
12 | "annotations": { "latitude": 37.3, "longitude": 121.9, "optical.regens": 0 }, | 14 | "annotations": { "latitude": 37.3, "longitude": 121.9, "optical.regens": 0 }, |
13 | - "ports": [ { "port": 11, "speed": 100000, "type": "FIBER" }, { "port": 21, "speed": 0, "type": "FIBER" } ] | 15 | + "ports": [ { "port": 20, "speed": 100000, "type": "FIBER" }, |
16 | + { "port": 30, "speed": 0, "type": "FIBER" }, | ||
17 | + { "port": 50, "speed": 0, "type": "FIBER" } ] | ||
14 | }, | 18 | }, |
15 | { | 19 | { |
16 | "uri": "of:0000ffffffffff03", "mac": "ffffffffffff03", "type": "ROADM", | 20 | "uri": "of:0000ffffffffff03", "mac": "ffffffffffff03", "type": "ROADM", |
17 | "mfr": "Linc", "hw": "OE", "sw": "?", "serial": "?", "name": "LAX-W10", | 21 | "mfr": "Linc", "hw": "OE", "sw": "?", "serial": "?", "name": "LAX-W10", |
18 | "annotations": { "latitude": 33.9, "longitude": 118.4, "optical.regens": 0 }, | 22 | "annotations": { "latitude": 33.9, "longitude": 118.4, "optical.regens": 0 }, |
19 | - "ports": [ { "port": 30, "speed": 0, "type": "FIBER" }, { "port": 31, "speed": 0, "type": "FIBER" } ] | 23 | + "ports": [ { "port": 30, "speed": 0, "type": "FIBER" }, |
24 | + { "port": 50, "speed": 0, "type": "FIBER" }, | ||
25 | + { "port": 20, "speed": 0, "type": "FIBER" } ] | ||
20 | }, | 26 | }, |
21 | { | 27 | { |
22 | "uri": "of:0000ffffffffff04", "mac": "ffffffffffff04", "type": "ROADM", | 28 | "uri": "of:0000ffffffffff04", "mac": "ffffffffffff04", "type": "ROADM", |
23 | "mfr": "Linc", "hw": "OE", "sw": "?", "serial": "?", "name": "SDG-W10", | 29 | "mfr": "Linc", "hw": "OE", "sw": "?", "serial": "?", "name": "SDG-W10", |
24 | "annotations": { "latitude": 32.8, "longitude": 117.1, "optical.regens": 3 }, | 30 | "annotations": { "latitude": 32.8, "longitude": 117.1, "optical.regens": 3 }, |
25 | - "ports": [ { "port": 30, "speed": 0, "type": "FIBER" }, { "port": 31, "speed": 0, "type": "FIBER" } ] | 31 | + "ports": [ { "port": 30, "speed": 0, "type": "FIBER" }, |
32 | + { "port":50, "speed": 0, "type": "FIBER" }, | ||
33 | + { "port":20, "speed": 0, "type": "FIBER" }] | ||
26 | }, | 34 | }, |
27 | { | 35 | { |
28 | "uri": "of:0000ffffffffff05", "mac": "ffffffffffff05", "type": "ROADM", | 36 | "uri": "of:0000ffffffffff05", "mac": "ffffffffffff05", "type": "ROADM", |
29 | "mfr": "Linc", "hw": "OE", "sw": "?", "serial": "?", "name": "MSP-M10", | 37 | "mfr": "Linc", "hw": "OE", "sw": "?", "serial": "?", "name": "MSP-M10", |
30 | "annotations": { "latitude": 44.8, "longitude": 93.1, "optical.regens": 3 }, | 38 | "annotations": { "latitude": 44.8, "longitude": 93.1, "optical.regens": 3 }, |
31 | - "ports": [ { "port": 30, "speed": 0, "type": "FIBER" }, { "port": 31, "speed": 0, "type": "FIBER" } ] | 39 | + "ports": [ { "port": 20, "speed": 0, "type": "FIBER" }, |
40 | + { "port": 30, "speed": 0, "type": "FIBER" }, | ||
41 | + { "port": 40, "speed": 0, "type": "FIBER" }, | ||
42 | + { "port": 50, "speed": 0, "type": "FIBER" }] | ||
43 | + }, | ||
44 | + { | ||
45 | + "uri": "of:0000ffffffffff06", "mac": "ffffffffffff06", "type": "ROADM", | ||
46 | + "mfr": "Linc", "hw": "OE", "sw": "?", "serial": "?", "name": "DFW-M10", | ||
47 | + "annotations": { "latitude": 32.8, "longitude": 97.1, "optical.regens": 3 }, | ||
48 | + "ports": [ { "port": 10, "speed": 0, "type": "FIBER" }, | ||
49 | + { "port": 20, "speed": 0, "type": "FIBER" }, | ||
50 | + { "port": 30, "speed": 0, "type": "FIBER" }, | ||
51 | + { "port": 40, "speed": 0, "type": "FIBER" }, | ||
52 | + { "port": 50, "speed": 0, "type": "FIBER" }] | ||
32 | }, | 53 | }, |
33 | { | 54 | { |
34 | "uri": "of:0000ffffffffff07", "mac": "ffffffffffff07", "type": "ROADM", | 55 | "uri": "of:0000ffffffffff07", "mac": "ffffffffffff07", "type": "ROADM", |
35 | "mfr": "Linc", "hw": "OE", "sw": "?", "serial": "?", "name": "CHG-N10", | 56 | "mfr": "Linc", "hw": "OE", "sw": "?", "serial": "?", "name": "CHG-N10", |
36 | "annotations": { "latitude": 41.8, "longitude": 120.1, "optical.regens": 3 }, | 57 | "annotations": { "latitude": 41.8, "longitude": 120.1, "optical.regens": 3 }, |
37 | - "ports": [ { "port": 30, "speed": 0, "type": "FIBER" }, { "port": 31, "speed": 0, "type": "FIBER" } ] | 58 | + "ports": [ { "port": 10, "speed": 0, "type": "FIBER" }, |
59 | + { "port": 20, "speed": 0, "type": "FIBER" }, | ||
60 | + { "port": 30, "speed": 0, "type": "FIBER" }, | ||
61 | + { "port": 50, "speed": 0, "type": "FIBER" }] | ||
38 | }, | 62 | }, |
39 | { | 63 | { |
40 | "uri": "of:0000ffffffffff08", "mac": "ffffffffffff08", "type": "ROADM", | 64 | "uri": "of:0000ffffffffff08", "mac": "ffffffffffff08", "type": "ROADM", |
41 | "mfr": "Linc", "hw": "OE", "sw": "?", "serial": "?", "name": "IAD-M10", | 65 | "mfr": "Linc", "hw": "OE", "sw": "?", "serial": "?", "name": "IAD-M10", |
42 | "annotations": { "latitude": 38.8, "longitude": 77.1, "optical.regens": 3 }, | 66 | "annotations": { "latitude": 38.8, "longitude": 77.1, "optical.regens": 3 }, |
43 | - "ports": [ { "port": 30, "speed": 0, "type": "FIBER" }, { "port": 31, "speed": 0, "type": "FIBER" } ] | 67 | + "ports": [ { "port": 20, "speed": 0, "type": "FIBER" }, |
68 | + { "port": 30, "speed": 0, "type": "FIBER" }, | ||
69 | + { "port": 50, "speed": 0, "type": "FIBER" }] | ||
44 | }, | 70 | }, |
45 | { | 71 | { |
46 | "uri": "of:0000ffffffffff09", "mac": "ffffffffffff09", "type": "ROADM", | 72 | "uri": "of:0000ffffffffff09", "mac": "ffffffffffff09", "type": "ROADM", |
47 | "mfr": "Linc", "hw": "OE", "sw": "?", "serial": "?", "name": "JFK-M10", | 73 | "mfr": "Linc", "hw": "OE", "sw": "?", "serial": "?", "name": "JFK-M10", |
48 | "annotations": { "latitude": 40.8, "longitude": 73.1, "optical.regens": 0 }, | 74 | "annotations": { "latitude": 40.8, "longitude": 73.1, "optical.regens": 0 }, |
49 | - "ports": [ { "port": 30, "speed": 0, "type": "FIBER" }, { "port": 31, "speed": 0, "type": "FIBER" } ] | 75 | + "ports": [ { "port": 10, "speed": 0, "type": "FIBER" }, |
76 | + { "port": 20, "speed": 0, "type": "FIBER" }, | ||
77 | + { "port": 50, "speed": 0, "type": "FIBER" }] | ||
50 | }, | 78 | }, |
51 | { | 79 | { |
52 | "uri": "of:0000ffffffffff0A", "mac": "ffffffffffff0A", "type": "ROADM", | 80 | "uri": "of:0000ffffffffff0A", "mac": "ffffffffffff0A", "type": "ROADM", |
53 | "mfr": "Linc", "hw": "OE", "sw": "?", "serial": "?", "name": "ATL-S10", | 81 | "mfr": "Linc", "hw": "OE", "sw": "?", "serial": "?", "name": "ATL-S10", |
54 | "annotations": { "latitude": 33.8, "longitude": 84.1, "optical.regens": 0 }, | 82 | "annotations": { "latitude": 33.8, "longitude": 84.1, "optical.regens": 0 }, |
55 | - "ports": [ { "port": 30, "speed": 0, "type": "FIBER" }, { "port": 31, "speed": 0, "type": "FIBER" } ] | 83 | + "ports": [ { "port": 10, "speed": 0, "type": "FIBER" }, |
84 | + { "port": 20, "speed": 0, "type": "FIBER" }, | ||
85 | + { "port": 50, "speed": 0, "type": "FIBER" }] | ||
56 | }, | 86 | }, |
57 | { | 87 | { |
58 | "uri": "of:0000ffffffff0001", "mac": "ffffffffff0001", "type": "SWITCH", | 88 | "uri": "of:0000ffffffff0001", "mac": "ffffffffff0001", "type": "SWITCH", | ... | ... |
tools/test/topos/optical2.py
0 → 100644
1 | +#!/usr/bin/env python | ||
2 | + | ||
3 | +''' file: custom/optical.py ''' | ||
4 | + | ||
5 | +from mininet.topo import Topo | ||
6 | +from mininet.net import Mininet | ||
7 | +from mininet.cli import CLI | ||
8 | +from mininet.log import setLogLevel, info | ||
9 | +from mininet.link import Intf, Link | ||
10 | +from mininet.node import RemoteController | ||
11 | + | ||
12 | +class NullIntf( Intf ): | ||
13 | + "A dummy interface with a blank name that doesn't do any configuration" | ||
14 | + def __init__( self, name, **params ): | ||
15 | + self.name = '' | ||
16 | + | ||
17 | +class NullLink( Link ): | ||
18 | + "A dummy link that doesn't touch either interface" | ||
19 | + def makeIntfPair( cls, intf1, intf2 ): | ||
20 | + pass | ||
21 | + def delete( self ): | ||
22 | + pass | ||
23 | + | ||
24 | +class OpticalTopo(Topo): | ||
25 | + def addIntf( self, switch, intfName ): | ||
26 | + "Add intf intfName to switch" | ||
27 | + self.addLink( switch, switch, cls=NullLink, | ||
28 | + intfName1=intfName, cls2=NullIntf ) | ||
29 | + def __init__(self): | ||
30 | + | ||
31 | + # Initialize topology | ||
32 | + Topo.__init__(self) | ||
33 | + | ||
34 | + # Add hosts and switches | ||
35 | + h1 = self.addHost('h1') | ||
36 | + h2 = self.addHost('h2') | ||
37 | + h3 = self.addHost('h3') | ||
38 | + h4 = self.addHost('h4') | ||
39 | + h5 = self.addHost('h5') | ||
40 | + h6 = self.addHost('h6') | ||
41 | + | ||
42 | + s1 = self.addSwitch('s1',dpid="0000ffffffff0001") | ||
43 | + s2 = self.addSwitch('s2',dpid="0000ffffffff0002") | ||
44 | + s3 = self.addSwitch('s3',dpid="0000ffffffff0003") | ||
45 | + s4 = self.addSwitch('s4',dpid="0000ffffffff0004") | ||
46 | + s5 = self.addSwitch('s5',dpid="0000ffffffff0005") | ||
47 | + s6 = self.addSwitch('s6',dpid="0000ffffffff0006") | ||
48 | + | ||
49 | + | ||
50 | + # Add links from hosts to OVS | ||
51 | + self.addLink(s1, h1) | ||
52 | + self.addLink(s2, h2) | ||
53 | + self.addLink(s3, h3) | ||
54 | + self.addLink(s4, h4) | ||
55 | + self.addLink(s5, h5) | ||
56 | + self.addLink(s6, h6) | ||
57 | + | ||
58 | + # temporary packet link from s1 to s2 for testing | ||
59 | + # self.addLink( s1, s2 ) | ||
60 | + | ||
61 | + # add links from ovs to linc-oe | ||
62 | + # sorry about the syntax :( | ||
63 | + self.addLink(s1, s1, intfName1='s1-eth0', intfName2='tap29') | ||
64 | + self.addLink(s2, s2, intfName1='s2-eth0', intfName2='tap30') | ||
65 | + self.addLink(s3, s3, intfName1='s3-eth0', intfName2='tap31') | ||
66 | + self.addLink(s4, s4, intfName1='s4-eth0', intfName2='tap32') | ||
67 | + self.addLink(s5, s5, intfName1='s5-eth0', intfName2='tap33') | ||
68 | + self.addLink(s6, s6, intfName1='s6-eth0', intfName2='tap34') | ||
69 | + | ||
70 | + #self.addLink(s1, s2, s3, s4, s5, s6) | ||
71 | + #intfName1 = 'tap3', intfName\2 = 'tap4', intfName2 = 'tap5', | ||
72 | + # intfName2 = 'tap6', intfName2 = 'tap7', intfName2 = 'tap8' | ||
73 | + | ||
74 | + # if you use, sudo mn --custom custom/optical.py, then register the topo: | ||
75 | +topos = {'optical': ( lambda: OpticalTopo() )} | ||
76 | + | ||
77 | +def installStaticFlows(net): | ||
78 | + for swName in ['s1', 's2', 's3', 's4', 's5', 's6']: | ||
79 | + info('Adding flows to %s...' % swName) | ||
80 | + sw = net[swName] | ||
81 | + sw.dpctl('add-flow', 'in_port=1,actions=output=2') | ||
82 | + sw.dpctl('add-flow', 'in_port=2,actions=output=1') | ||
83 | + info(sw.dpctl('dump-flows')) | ||
84 | + | ||
85 | + | ||
86 | +def run(): | ||
87 | + c = RemoteController('c','10.1.8.147',6633) | ||
88 | + net = Mininet( topo=OpticalTopo(),controller=None) | ||
89 | + net.addController(c) | ||
90 | + net.start() | ||
91 | + | ||
92 | + # intf1 = Intf( 'tap3', node=net.nameToNode['s1'] ) | ||
93 | + # intf2 = Intf( 'tap4', node=net.nameToNode['s2'] ) | ||
94 | + # net.nameToNode['s1'].attach( intf1 ) | ||
95 | + # net.nameToNode['s2'].attach( intf2 ) | ||
96 | + | ||
97 | + #installStaticFlows( net ) | ||
98 | + CLI( net ) | ||
99 | + net.stop() | ||
100 | + | ||
101 | +# if the script is run directly (sudo custom/optical.py): | ||
102 | +if __name__ == '__main__': | ||
103 | + setLogLevel('info') | ||
104 | + run() |
tools/test/topos/sys.config
0 → 100644
1 | +[{linc, | ||
2 | + [{of_config,disabled}, | ||
3 | + {software_desc,<<"LINC-OE OpenFlow Software Switch 1.1">>}, | ||
4 | + {capable_switch_ports, | ||
5 | + [{port,1,[{interface,"dummy"},{type,optical}]}, | ||
6 | + {port,2,[{interface,"dummy"},{type,optical}]}, | ||
7 | + {port,3,[{interface,"dummy"},{type,optical}]}, | ||
8 | + {port,4,[{interface,"dummy"},{type,optical}]}, | ||
9 | + {port,5,[{interface,"dummy"},{type,optical}]}, | ||
10 | + {port,6,[{interface,"dummy"},{type,optical}]}, | ||
11 | + {port,7,[{interface,"dummy"},{type,optical}]}, | ||
12 | + {port,8,[{interface,"dummy"},{type,optical}]}, | ||
13 | + {port,9,[{interface,"dummy"},{type,optical}]}, | ||
14 | + {port,10,[{interface,"dummy"},{type,optical}]}, | ||
15 | + {port,11,[{interface,"dummy"},{type,optical}]}, | ||
16 | + {port,12,[{interface,"dummy"},{type,optical}]}, | ||
17 | + {port,13,[{interface,"dummy"},{type,optical}]}, | ||
18 | + {port,14,[{interface,"dummy"},{type,optical}]}, | ||
19 | + {port,15,[{interface,"dummy"},{type,optical}]}, | ||
20 | + {port,16,[{interface,"dummy"},{type,optical}]}, | ||
21 | + {port,17,[{interface,"dummy"},{type,optical}]}, | ||
22 | + {port,18,[{interface,"dummy"},{type,optical}]}, | ||
23 | + {port,19,[{interface,"dummy"},{type,optical}]}, | ||
24 | + {port,20,[{interface,"dummy"},{type,optical}]}, | ||
25 | + {port,21,[{interface,"dummy"},{type,optical}]}, | ||
26 | + {port,22,[{interface,"dummy"},{type,optical}]}, | ||
27 | + {port,23,[{interface,"dummy"},{type,optical}]}, | ||
28 | + {port,24,[{interface,"dummy"},{type,optical}]}, | ||
29 | + {port,25,[{interface,"dummy"},{type,optical}]}, | ||
30 | + {port,26,[{interface,"dummy"},{type,optical}]}, | ||
31 | + {port,27,[{interface,"dummy"},{type,optical}]}, | ||
32 | + {port,28,[{interface,"dummy"},{type,optical}]}, | ||
33 | + {port,29,[{interface,"tap29"}]}, | ||
34 | + {port,30,[{interface,"tap30"}]}, | ||
35 | + {port,31,[{interface,"tap31"}]}, | ||
36 | + {port,32,[{interface,"tap32"}]}, | ||
37 | + {port,33,[{interface,"tap33"}]}, | ||
38 | + {port,34,[{interface,"tap34"}]}]}, | ||
39 | + {capable_switch_queues,[]}, | ||
40 | + {optical_links, | ||
41 | + [{{1,50},{2,30}}, | ||
42 | + {{2,50},{3,30}}, | ||
43 | + {{3,50},{4,50}}, | ||
44 | + {{1,20},{5,50}}, | ||
45 | + {{2,20},{5,20}}, | ||
46 | + {{3,20},{6,50}}, | ||
47 | + {{4,20},{6,20}}, | ||
48 | + {{5,30},{6,40}}, | ||
49 | + {{5,40},{7,50}}, | ||
50 | + {{6,30},{8,50}}, | ||
51 | + {{7,20},{8,30}}, | ||
52 | + {{7,30},{9,50}}, | ||
53 | + {{8,20},{10,50}}, | ||
54 | + {{9,20},{10,20}}]}, | ||
55 | + {logical_switches, | ||
56 | + [{switch,1, | ||
57 | + [{backend,linc_us4_oe}, | ||
58 | + {datapath_id,"00:00:ff:ff:ff:ff:ff:01"}, | ||
59 | + {controllers,[{"Switch0-Controller","10.1.8.147",6633,tcp}]}, | ||
60 | + {controllers_listener,disabled}, | ||
61 | + {queues_status,disabled}, | ||
62 | + {ports, | ||
63 | + [{port,1,[{queues,[]},{port_no,50}]}, | ||
64 | + {port,7,[{queues,[]},{port_no,20}]}, | ||
65 | + {port,29,[{queues,[]},{port_no,10}]}]}]}, | ||
66 | + {switch,2, | ||
67 | + [{backend,linc_us4_oe}, | ||
68 | + {datapath_id,"00:00:ff:ff:ff:ff:ff:02"}, | ||
69 | + {controllers,[{"Switch0-Controller","10.1.8.147",6633,tcp}]}, | ||
70 | + {controllers_listener,disabled}, | ||
71 | + {queues_status,disabled}, | ||
72 | + {ports, | ||
73 | + [{port,2,[{queues,[]},{port_no,30}]}, | ||
74 | + {port,3,[{queues,[]},{port_no,50}]}, | ||
75 | + {port,9,[{queues,[]},{port_no,20}]}]}]}, | ||
76 | + {switch,3, | ||
77 | + [{backend,linc_us4_oe}, | ||
78 | + {datapath_id,"00:00:ff:ff:ff:ff:ff:03"}, | ||
79 | + {controllers,[{"Switch0-Controller","10.1.8.147",6633,tcp}]}, | ||
80 | + {controllers_listener,disabled}, | ||
81 | + {queues_status,disabled}, | ||
82 | + {ports, | ||
83 | + [{port,4,[{queues,[]},{port_no,30}]}, | ||
84 | + {port,5,[{queues,[]},{port_no,50}]}, | ||
85 | + {port,11,[{queues,[]},{port_no,20}]}]}]}, | ||
86 | + {switch,4, | ||
87 | + [{backend,linc_us4_oe}, | ||
88 | + {datapath_id,"00:00:ff:ff:ff:ff:ff:04"}, | ||
89 | + {controllers,[{"Switch0-Controller","10.1.8.147",6633,tcp}]}, | ||
90 | + {controllers_listener,disabled}, | ||
91 | + {queues_status,disabled}, | ||
92 | + {ports, | ||
93 | + [{port,6,[{queues,[]},{port_no,50}]}, | ||
94 | + {port,13,[{queues,[]},{port_no,20}]}, | ||
95 | + {port,30,[{queues,[]},{port_no,10}]}]}]}, | ||
96 | + {switch,5, | ||
97 | + [{backend,linc_us4_oe}, | ||
98 | + {datapath_id,"00:00:ff:ff:ff:ff:ff:05"}, | ||
99 | + {controllers,[{"Switch0-Controller","10.1.8.147",6633,tcp}]}, | ||
100 | + {controllers_listener,disabled}, | ||
101 | + {queues_status,disabled}, | ||
102 | + {ports, | ||
103 | + [{port,8,[{queues,[]},{port_no,50}]}, | ||
104 | + {port,10,[{queues,[]},{port_no,20}]}, | ||
105 | + {port,15,[{queues,[]},{port_no,30}]}, | ||
106 | + {port,17,[{queues,[]},{port_no,40}]}]}]}, | ||
107 | + {switch,7, | ||
108 | + [{backend,linc_us4_oe}, | ||
109 | + {datapath_id,"00:00:ff:ff:ff:ff:ff:07"}, | ||
110 | + {controllers,[{"Switch0-Controller","10.1.8.147",6633,tcp}]}, | ||
111 | + {controllers_listener,disabled}, | ||
112 | + {queues_status,disabled}, | ||
113 | + {ports, | ||
114 | + [{port,18,[{queues,[]},{port_no,50}]}, | ||
115 | + {port,21,[{queues,[]},{port_no,20}]}, | ||
116 | + {port,23,[{queues,[]},{port_no,30}]}, | ||
117 | + {port,32,[{queues,[]},{port_no,10}]}]}]}, | ||
118 | + {switch,8, | ||
119 | + [{backend,linc_us4_oe}, | ||
120 | + {datapath_id,"00:00:ff:ff:ff:ff:ff:08"}, | ||
121 | + {controllers,[{"Switch0-Controller","10.1.8.147",6633,tcp}]}, | ||
122 | + {controllers_listener,disabled}, | ||
123 | + {queues_status,disabled}, | ||
124 | + {ports, | ||
125 | + [{port,20,[{queues,[]},{port_no,50}]}, | ||
126 | + {port,22,[{queues,[]},{port_no,30}]}, | ||
127 | + {port,25,[{queues,[]},{port_no,20}]}]}]}, | ||
128 | + {switch,9, | ||
129 | + [{backend,linc_us4_oe}, | ||
130 | + {datapath_id,"00:00:ff:ff:ff:ff:ff:09"}, | ||
131 | + {controllers,[{"Switch0-Controller","10.1.8.147",6633,tcp}]}, | ||
132 | + {controllers_listener,disabled}, | ||
133 | + {queues_status,disabled}, | ||
134 | + {ports, | ||
135 | + [{port,24,[{queues,[]},{port_no,50}]}, | ||
136 | + {port,27,[{queues,[]},{port_no,20}]}, | ||
137 | + {port,33,[{queues,[]},{port_no,10}]}]}]}, | ||
138 | + {switch,10, | ||
139 | + [{backend,linc_us4_oe}, | ||
140 | + {datapath_id,"00:00:ff:ff:ff:ff:ff:0A"}, | ||
141 | + {controllers,[{"Switch0-Controller","10.1.8.147",6633,tcp}]}, | ||
142 | + {controllers_listener,disabled}, | ||
143 | + {queues_status,disabled}, | ||
144 | + {ports, | ||
145 | + [{port,26,[{queues,[]},{port_no,50}]}, | ||
146 | + {port,28,[{queues,[]},{port_no,20}]}, | ||
147 | + {port,34,[{queues,[]},{port_no,10}]}]}]}, | ||
148 | + {switch,6, | ||
149 | + [{backend,linc_us4_oe}, | ||
150 | + {datapath_id,"00:00:ff:ff:ff:ff:ff:06"}, | ||
151 | + {controllers,[{"Switch0-Controller","10.1.8.147",6633,tcp}]}, | ||
152 | + {controllers_listener,disabled}, | ||
153 | + {queues_status,disabled}, | ||
154 | + {ports, | ||
155 | + [{port,12,[{queues,[]},{port_no,50}]}, | ||
156 | + {port,14,[{queues,[]},{port_no,20}]}, | ||
157 | + {port,16,[{queues,[]},{port_no,40}]}, | ||
158 | + {port,19,[{queues,[]},{port_no,30}]}, | ||
159 | + {port,31,[{queues,[]},{port_no,10}]}]}]}]}]}, | ||
160 | + {epcap,[{verbose,false},{stats_interval,10}]}, | ||
161 | + {enetconf, | ||
162 | + [{capabilities, | ||
163 | + [{base,{1,0}}, | ||
164 | + {base,{1,1}}, | ||
165 | + {startup,{1,0}}, | ||
166 | + {'writable-running',{1,0}}]}, | ||
167 | + {callback_module,linc_ofconfig}, | ||
168 | + {sshd_ip,any}, | ||
169 | + {sshd_port,1830}, | ||
170 | + {sshd_user_passwords,[{"linc","linc"}]}]}, | ||
171 | + {lager, | ||
172 | + [{handlers, | ||
173 | + [{lager_console_backend,info}, | ||
174 | + {lager_file_backend, | ||
175 | + [{"log/error.log",error,10485760,"$D0",5}, | ||
176 | + {"log/console.log",info,10485760,"$D0",5}]}]}]}, | ||
177 | + {sasl, | ||
178 | + [{sasl_error_logger,{file,"log/sasl-error.log"}}, | ||
179 | + {errlog_type,error}, | ||
180 | + {error_logger_mf_dir,"log/sasl"}, | ||
181 | + {error_logger_mf_maxbytes,10485760}, | ||
182 | + {error_logger_mf_maxfiles,5}]}, | ||
183 | + {sync,[{excluded_modules,[procket]}]}]. |
-
Please register or login to post a comment