blob: b1451beee80d1314badba94257b0b98b2ebe9c4a [file] [log] [blame]
Praseed Balakrishnanb1c592e2014-11-13 10:11:45 -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,5,[{interface,"dummy"},{type,optical}]},
8 {port,6,[{interface,"dummy"},{type,optical}]},
9 {port,7,[{interface,"dummy"},{type,optical}]},
10 {port,8,[{interface,"dummy"},{type,optical}]},
11 {port,9,[{interface,"dummy"},{type,optical}]},
12 {port,10,[{interface,"dummy"},{type,optical}]},
13 {port,3,[{interface,"tap3"}]},
14 {port,4,[{interface,"tap4"}]}]},
15 {capable_switch_queues,[]},
16 {optical_links,[{{1,20},{3,30}},{{3,31},{2,21}},{{1,22},{4,30}},{{4,31},{2,22}}]},
17 {logical_switches,
18 [{switch,1,
19 [{backend,linc_us4_oe},
20 {datapath_id,"00:00:ff:ff:ff:ff:ff:01"},
Charles Chan45624b82015-08-24 00:29:20 +080021 {controllers,[{"Switch0-Controller","10.1.8.147",6653,tcp}]},
Praseed Balakrishnanb1c592e2014-11-13 10:11:45 -080022 {controllers_listener,disabled},
23 {queues_status,disabled},
24 {ports,
25 [{port,1,[{queues,[]},{port_no,20}]},
26 {port,7,[{queues,[]},{port_no,22}]},
27 {port,3,[{queues,[]},{port_no,10}]}]}]},
28 {switch,3,
29 [{backend,linc_us4_oe},
30 {datapath_id,"00:00:ff:ff:ff:ff:ff:03"},
Charles Chan45624b82015-08-24 00:29:20 +080031 {controllers,[{"Switch0-Controller","10.1.8.147",6653,tcp}]},
Praseed Balakrishnanb1c592e2014-11-13 10:11:45 -080032 {controllers_listener,disabled},
33 {queues_status,disabled},
34 {ports,
35 [{port,5,[{queues,[]},{port_no,30}]},
36 {port,6,[{queues,[]},{port_no,31}]}]}]},
37 {switch,2,
38 [{backend,linc_us4_oe},
39 {datapath_id,"00:00:ff:ff:ff:ff:ff:02"},
Charles Chan45624b82015-08-24 00:29:20 +080040 {controllers,[{"Switch0-Controller","10.1.8.147",6653,tcp}]},
Praseed Balakrishnanb1c592e2014-11-13 10:11:45 -080041 {controllers_listener,disabled},
42 {queues_status,disabled},
43 {ports,
44 [{port,2,[{queues,[]},{port_no,21}]},
45 {port,8,[{queues,[]},{port_no,22}]},
46 {port,4,[{queues,[]},{port_no,11}]}]}]},
47 {switch,4,
48 [{backend,linc_us4_oe},
49 {datapath_id,"00:00:ff:ff:ff:ff:ff:04"},
Charles Chan45624b82015-08-24 00:29:20 +080050 {controllers,[{"Switch0-Controller","10.1.8.147",6653,tcp}]},
Praseed Balakrishnanb1c592e2014-11-13 10:11:45 -080051 {controllers_listener,disabled},
52 {queues_status,disabled},
53 {ports,
54 [{port,9,[{queues,[]},{port_no,30}]},
55 {port,10,[{queues,[]},{port_no,31}]}]}]}]}]},
56 {epcap,[{verbose,false},{stats_interval,10}]},
57 {enetconf,
58 [{capabilities,
59 [{base,{1,0}},
60 {base,{1,1}},
61 {startup,{1,0}},
62 {'writable-running',{1,0}}]},
63 {callback_module,linc_ofconfig},
64 {sshd_ip,any},
65 {sshd_port,1830},
66 {sshd_user_passwords,[{"linc","linc"}]}]},
67 {lager,
68 [{handlers,
69 [{lager_console_backend,debug},
70 {lager_file_backend,
71 [{"log/error.log",error,10485760,"$D0",5},
72 {"log/console.log",info,10485760,"$D0",5}]}]}]},
73 {sasl,
74 [{sasl_error_logger,{file,"log/sasl-error.log"}},
75 {errlog_type,error},
76 {error_logger_mf_dir,"log/sasl"},
77 {error_logger_mf_maxbytes,10485760},
78 {error_logger_mf_maxfiles,5}]},
79 {sync,[{excluded_modules,[procket]}]}].