Committed by
Gerrit Code Review
linc-oe sys config files
Change-Id: If0ecdf7784dadad840e49fec9e8685154d3f9ddd
Showing
2 changed files
with
262 additions
and
0 deletions
tools/test/topos/sys-nonlinear-10.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]}]}]. |
tools/test/topos/sys-nonlinear-4.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,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"}, | ||
21 | + {controllers,[{"Switch0-Controller","10.1.8.147",6633,tcp}]}, | ||
22 | + {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"}, | ||
31 | + {controllers,[{"Switch0-Controller","10.1.8.147",6633,tcp}]}, | ||
32 | + {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"}, | ||
40 | + {controllers,[{"Switch0-Controller","10.1.8.147",6633,tcp}]}, | ||
41 | + {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"}, | ||
50 | + {controllers,[{"Switch0-Controller","10.1.8.147",6633,tcp}]}, | ||
51 | + {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]}]}]. |
-
Please register or login to post a comment