blob: 2b999d396403d46efae974bb01973ebf9e532085 [file] [log] [blame]
Praseed Balakrishnand94df302014-11-12 17:20:16 -08001[{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]}]}].