-
Notifications
You must be signed in to change notification settings - Fork 4
/
sys.config
53 lines (53 loc) · 2.05 KB
/
sys.config
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
[{linc,
[{of_config,disabled},
{software_desc,<<"LINC-OE OpenFlow Software Switch 1.1">>},
{capable_switch_ports,
[{port,1,[{interface,"dummy"},{type,optical}]},
{port,2,[{interface,"dummy"},{type,optical}]},
{port,3,[{interface,"tap3"}]},
{port,4,[{interface,"tap4"}]}]},
{capable_switch_queues,[]},
{optical_links,[{{1,10},{2,20}}]},
{logical_switches,
[{switch,1,
[{backend,linc_us4_oe},
{datapath_id,"00:00:ff:ff:ff:ff:ff:01"},
{controllers,[{"Switch0-Controller","127.0.1.1",6633,tcp}]},
{controllers_listener,disabled},
{queues_status,disabled},
{ports,
[{port,1,[{queues,[]},{port_no,10}]},
{port,3,[{queues,[]},{port_no,11}]}]}]},
{switch,2,
[{backend,linc_us4_oe},
{datapath_id,"00:00:ff:ff:ff:ff:ff:02"},
{controllers,[{"Switch0-Controller","127.0.1.1",6633,tcp}]},
{controllers_listener,disabled},
{queues_status,disabled},
{ports,
[{port,2,[{queues,[]},{port_no,20}]},
{port,4,[{queues,[]},{port_no,21}]}]}]}]}]},
{epcap,[{verbose,false},{stats_interval,10}]},
{enetconf,
[{capabilities,
[{base,{1,0}},
{base,{1,1}},
{startup,{1,0}},
{'writable-running',{1,0}}]},
{callback_module,linc_ofconfig},
{sshd_ip,any},
{sshd_port,1830},
{sshd_user_passwords,[{"linc","linc"}]}]},
{lager,
[{handlers,
[{lager_console_backend,info},
{lager_file_backend,
[{"log/error.log",error,10485760,"$D0",5},
{"log/console.log",info,10485760,"$D0",5}]}]}]},
{sasl,
[{sasl_error_logger,{file,"log/sasl-error.log"}},
{errlog_type,error},
{error_logger_mf_dir,"log/sasl"},
{error_logger_mf_maxbytes,10485760},
{error_logger_mf_maxfiles,5}]},
{sync,[{excluded_modules,[procket]}]}].