blob: 68c1e51759b442b23e4141385687306f63fb27ea [file] [log] [blame]
Andrea Campanella299681f2022-05-31 14:54:44 +02001# SPDX-FileCopyrightText: 2020-present Open Networking Foundation <info@opennetworking.org>
2#
3# SPDX-License-Identifier: Apache-2.0
4
5import:
6 onos-classic:
7 enabled: true
8 stratum:
9 enabled: false
10 pfcp-agent:
11 enabled: false
12 dbuf:
13 enabled: false
14 int-host-reporter:
15 enabled: false
16 di-topology-watchdog:
17 enabled: false
18 di-metrics-exporter:
19 enabled: false
20
21image:
22 credential: null
23
24onos-classic:
25 image:
26 repository: opennetworking/sdfabric-onos
27 tag: 1.1.1
28 replicas: 1
29
30 java_opts: >
31 -Xmx4G
32 -XX:+UseG1GC
33 -XX:MaxGCPauseMillis=200
34 -XX:-UseContainerSupport
35 -Dkaraf.log.console=INFO
36 -Dds.lock.timeout.milliseconds=10000
37 -Dlog4j2.formatMsgNoLookups=true
38# -XX:+UnlockExperimentalVMOptions
39# -XX:+UseZGC
40
41 ports:
42 - name: up4
43 port: 51001
44 - name: east-west
45 port: 9876
46 - name: cli
47 port: 8101
48 - name: ui
49 port: 8181
50
51 apps:
52 - org.onosproject.lldpprovider
53 - org.onosproject.netcfghostprovider
54 - org.onosproject.gui
55 - org.onosproject.drivers.barefoot
56 - org.onosproject.drivers.bmv2
57 - org.onosproject.segmentrouting
58 - org.omecproject.up4
59 - org.stratumproject.fabric-tna
60 - org.onosproject.dhcprelay
61
62 logging:
63 karafVersion: 4.2.14
64 config: |
65 # Common pattern layout for appenders
66 log4j2.stdout.pattern = %d{RFC3339} %-5level [%c{1}] %msg%n%throwable
67
68 # Root logger
69 log4j2.rootLogger.level = INFO
70
71 # OSGi appender
72 log4j2.rootLogger.appenderRef.PaxOsgi.ref = PaxOsgi
73 log4j2.appender.osgi.type = PaxOsgi
74 log4j2.appender.osgi.name = PaxOsgi
75 log4j2.appender.osgi.filter = *
76
77 # stdout appender
78 log4j2.rootLogger.appenderRef.Console.ref = Console
79 log4j2.appender.console.type = Console
80 log4j2.appender.console.name = Console
81 log4j2.appender.console.layout.type = PatternLayout
82 log4j2.appender.console.layout.pattern = ${log4j2.stdout.pattern}
83
84 # SSHD logger
85 log4j2.logger.sshd.name = org.apache.sshd
86 log4j2.logger.sshd.level = INFO
87
88 # Spifly logger
89 log4j2.logger.spifly.name = org.apache.aries.spifly
90 log4j2.logger.spifly.level = WARN
91
92 annotations:
93 fluentbit.io/parser: onos
94
95 atomix:
96 replicas: 1
97 persistence:
98 enabled: false
99 java_opts: >
100 -Xmx2G
101 -XX:-UseContainerSupport
102
103 # Please check the README to learn more
104 config:
105 componentConfig:
106 "org.onosproject.net.host.impl.HostManager": >
107 {
108 "monitorHosts": "true",
109 "probeRate": "10000"
110 }
111 "org.onosproject.segmentrouting.phasedrecovery.impl.PhasedRecoveryManager": >
112 {
113 "phasedRecovery": true
114 }
Andrea Campanellacffacbe2022-07-15 11:14:44 +0200115 "org.onosproject.grpc.ctl.GrpcChannelControllerImpl": >
116 {
117 "enableMessageLog": true
118 }
Andrea Campanella299681f2022-05-31 14:54:44 +0200119 netcfg: >
120 {
121 "devices": {
122 "device:leaf1": {
123 "basic": {
124 "name": "leaf1",
125 "managementAddress": "grpc://mininet-stratum:50001?device_id=1",
126 "driver": "stratum-bmv2",
127 "pipeconf": "org.stratumproject.fabric-upf.bmv2",
128 "locType": "grid",
129 "gridX": 200,
130 "gridY": 600
131 },
132 "segmentrouting": {
133 "ipv4NodeSid": 101,
134 "ipv4Loopback": "192.168.1.1",
135 "routerMac": "00:AA:00:00:00:01",
136 "isEdgeRouter": true,
137 "adjacencySids": []
138 }
139 },
140 "device:leaf2": {
141 "basic": {
142 "name": "leaf2",
143 "managementAddress": "grpc://mininet-stratum:50002?device_id=1",
144 "driver": "stratum-bmv2",
145 "pipeconf": "org.stratumproject.fabric-upf.bmv2",
146 "locType": "grid",
147 "gridX": 800,
148 "gridY": 600
149 },
150 "segmentrouting": {
151 "ipv4NodeSid": 102,
152 "ipv4Loopback": "192.168.1.2",
153 "routerMac": "00:AA:00:00:00:02",
154 "isEdgeRouter": true,
155 "adjacencySids": []
156 }
157 },
158 "device:spine1": {
159 "basic": {
160 "name": "spine1",
161 "managementAddress": "grpc://mininet-stratum:50003?device_id=1",
162 "driver": "stratum-bmv2",
163 "pipeconf": "org.stratumproject.fabric.bmv2",
164 "locType": "grid",
165 "gridX": 400,
166 "gridY": 400
167 },
168 "segmentrouting": {
169 "ipv4NodeSid": 201,
170 "ipv4Loopback": "192.168.2.1",
171 "routerMac": "00:BB:00:00:00:01",
172 "isEdgeRouter": false,
173 "adjacencySids": []
174 }
175 },
176 "device:spine2": {
177 "basic": {
178 "name": "spine2",
179 "managementAddress": "grpc://mininet-stratum:50004?device_id=1",
180 "driver": "stratum-bmv2",
181 "pipeconf": "org.stratumproject.fabric.bmv2",
182 "locType": "grid",
183 "gridX": 600,
184 "gridY": 400
185 },
186 "segmentrouting": {
187 "ipv4NodeSid": 202,
188 "ipv4Loopback": "192.168.2.2",
189 "routerMac": "00:BB:00:00:00:02",
190 "isEdgeRouter": false,
191 "adjacencySids": []
192 }
193 }
194 },
195 "ports": {
196 "device:leaf1/3": {
197 "interfaces": [
198 {
199 "name": "leaf1-3",
200 "ips": [
201 "172.16.1.254/24"
202 ],
203 "vlan-untagged": 100
204 }
205 ]
206 },
207 "device:leaf1/4": {
208 "interfaces": [
209 {
210 "name": "leaf1-4",
211 "ips": [
212 "172.16.1.254/24"
213 ],
214 "vlan-untagged": 100
215 }
216 ]
217 },
218 "device:leaf1/5": {
219 "interfaces": [
220 {
221 "name": "leaf1-5",
222 "ips": [
223 "172.16.1.254/24"
224 ],
225 "vlan-tagged": [
226 100
227 ]
228 }
229 ]
230 },
231 "device:leaf1/6": {
232 "interfaces": [
233 {
234 "name": "leaf1-6",
235 "ips": [
236 "172.16.2.254/24"
237 ],
238 "vlan-tagged": [
239 200
240 ]
241 }
242 ]
Andrea Campanellacffacbe2022-07-15 11:14:44 +0200243 },
244 "device:leaf2/3": {
245 "interfaces": [
246 {
247 "name": "leaf2-3",
248 "ips": [
249 "172.16.3.254/24"
250 ],
251 "vlan-tagged": [
252 300
253 ]
254 }
255 ]
256 },
257 "device:leaf2/4": {
258 "interfaces": [
259 {
260 "name": "leaf2-4",
261 "ips": [
262 "172.16.4.254/24"
263 ],
264 "vlan-untagged": 100
265 }
266 ]
Andrea Campanella299681f2022-05-31 14:54:44 +0200267 }
268 },
269 "hosts": {
270 "00:00:00:00:00:1A/None": {
271 "basic": {
272 "name": "h1a",
273 "locType": "grid",
274 "gridX": 100,
275 "gridY": 700
276 }
277 },
278 "00:00:00:00:00:1B/None": {
279 "basic": {
280 "name": "h1b",
281 "locType": "grid",
282 "gridX": 100,
283 "gridY": 800
284 }
285 },
286 "00:00:00:00:00:1C/100": {
287 "basic": {
288 "name": "h1c",
289 "locType": "grid",
290 "gridX": 250,
291 "gridY": 800
292 }
293 },
294 "00:00:00:00:00:20/200": {
295 "basic": {
296 "name": "h2",
297 "locType": "grid",
298 "gridX": 400,
299 "gridY": 700
300 }
301 },
302 "00:00:00:00:00:30/300": {
303 "basic": {
304 "name": "h3",
305 "locType": "grid",
306 "gridX": 750,
307 "gridY": 700
308 }
309 },
310 "00:00:00:00:00:40/None": {
311 "basic": {
312 "name": "h4",
313 "locType": "grid",
314 "gridX": 850,
315 "gridY": 700
316 }
317 }
318 }
319 }