Andrea Campanella | 299681f | 2022-05-31 14:54:44 +0200 | [diff] [blame^] | 1 | # SPDX-FileCopyrightText: 2020-present Open Networking Foundation <info@opennetworking.org> |
| 2 | # |
| 3 | # SPDX-License-Identifier: Apache-2.0 |
| 4 | |
| 5 | import: |
| 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 | |
| 21 | image: |
| 22 | credential: null |
| 23 | |
| 24 | onos-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 | } |
| 115 | netcfg: > |
| 116 | { |
| 117 | "devices": { |
| 118 | "device:leaf1": { |
| 119 | "basic": { |
| 120 | "name": "leaf1", |
| 121 | "managementAddress": "grpc://mininet-stratum:50001?device_id=1", |
| 122 | "driver": "stratum-bmv2", |
| 123 | "pipeconf": "org.stratumproject.fabric-upf.bmv2", |
| 124 | "locType": "grid", |
| 125 | "gridX": 200, |
| 126 | "gridY": 600 |
| 127 | }, |
| 128 | "segmentrouting": { |
| 129 | "ipv4NodeSid": 101, |
| 130 | "ipv4Loopback": "192.168.1.1", |
| 131 | "routerMac": "00:AA:00:00:00:01", |
| 132 | "isEdgeRouter": true, |
| 133 | "adjacencySids": [] |
| 134 | } |
| 135 | }, |
| 136 | "device:leaf2": { |
| 137 | "basic": { |
| 138 | "name": "leaf2", |
| 139 | "managementAddress": "grpc://mininet-stratum:50002?device_id=1", |
| 140 | "driver": "stratum-bmv2", |
| 141 | "pipeconf": "org.stratumproject.fabric-upf.bmv2", |
| 142 | "locType": "grid", |
| 143 | "gridX": 800, |
| 144 | "gridY": 600 |
| 145 | }, |
| 146 | "segmentrouting": { |
| 147 | "ipv4NodeSid": 102, |
| 148 | "ipv4Loopback": "192.168.1.2", |
| 149 | "routerMac": "00:AA:00:00:00:02", |
| 150 | "isEdgeRouter": true, |
| 151 | "adjacencySids": [] |
| 152 | } |
| 153 | }, |
| 154 | "device:spine1": { |
| 155 | "basic": { |
| 156 | "name": "spine1", |
| 157 | "managementAddress": "grpc://mininet-stratum:50003?device_id=1", |
| 158 | "driver": "stratum-bmv2", |
| 159 | "pipeconf": "org.stratumproject.fabric.bmv2", |
| 160 | "locType": "grid", |
| 161 | "gridX": 400, |
| 162 | "gridY": 400 |
| 163 | }, |
| 164 | "segmentrouting": { |
| 165 | "ipv4NodeSid": 201, |
| 166 | "ipv4Loopback": "192.168.2.1", |
| 167 | "routerMac": "00:BB:00:00:00:01", |
| 168 | "isEdgeRouter": false, |
| 169 | "adjacencySids": [] |
| 170 | } |
| 171 | }, |
| 172 | "device:spine2": { |
| 173 | "basic": { |
| 174 | "name": "spine2", |
| 175 | "managementAddress": "grpc://mininet-stratum:50004?device_id=1", |
| 176 | "driver": "stratum-bmv2", |
| 177 | "pipeconf": "org.stratumproject.fabric.bmv2", |
| 178 | "locType": "grid", |
| 179 | "gridX": 600, |
| 180 | "gridY": 400 |
| 181 | }, |
| 182 | "segmentrouting": { |
| 183 | "ipv4NodeSid": 202, |
| 184 | "ipv4Loopback": "192.168.2.2", |
| 185 | "routerMac": "00:BB:00:00:00:02", |
| 186 | "isEdgeRouter": false, |
| 187 | "adjacencySids": [] |
| 188 | } |
| 189 | } |
| 190 | }, |
| 191 | "ports": { |
| 192 | "device:leaf1/3": { |
| 193 | "interfaces": [ |
| 194 | { |
| 195 | "name": "leaf1-3", |
| 196 | "ips": [ |
| 197 | "172.16.1.254/24" |
| 198 | ], |
| 199 | "vlan-untagged": 100 |
| 200 | } |
| 201 | ] |
| 202 | }, |
| 203 | "device:leaf1/4": { |
| 204 | "interfaces": [ |
| 205 | { |
| 206 | "name": "leaf1-4", |
| 207 | "ips": [ |
| 208 | "172.16.1.254/24" |
| 209 | ], |
| 210 | "vlan-untagged": 100 |
| 211 | } |
| 212 | ] |
| 213 | }, |
| 214 | "device:leaf1/5": { |
| 215 | "interfaces": [ |
| 216 | { |
| 217 | "name": "leaf1-5", |
| 218 | "ips": [ |
| 219 | "172.16.1.254/24" |
| 220 | ], |
| 221 | "vlan-tagged": [ |
| 222 | 100 |
| 223 | ] |
| 224 | } |
| 225 | ] |
| 226 | }, |
| 227 | "device:leaf1/6": { |
| 228 | "interfaces": [ |
| 229 | { |
| 230 | "name": "leaf1-6", |
| 231 | "ips": [ |
| 232 | "172.16.2.254/24" |
| 233 | ], |
| 234 | "vlan-tagged": [ |
| 235 | 200 |
| 236 | ] |
| 237 | } |
| 238 | ] |
| 239 | } |
| 240 | }, |
| 241 | "hosts": { |
| 242 | "00:00:00:00:00:1A/None": { |
| 243 | "basic": { |
| 244 | "name": "h1a", |
| 245 | "locType": "grid", |
| 246 | "gridX": 100, |
| 247 | "gridY": 700 |
| 248 | } |
| 249 | }, |
| 250 | "00:00:00:00:00:1B/None": { |
| 251 | "basic": { |
| 252 | "name": "h1b", |
| 253 | "locType": "grid", |
| 254 | "gridX": 100, |
| 255 | "gridY": 800 |
| 256 | } |
| 257 | }, |
| 258 | "00:00:00:00:00:1C/100": { |
| 259 | "basic": { |
| 260 | "name": "h1c", |
| 261 | "locType": "grid", |
| 262 | "gridX": 250, |
| 263 | "gridY": 800 |
| 264 | } |
| 265 | }, |
| 266 | "00:00:00:00:00:20/200": { |
| 267 | "basic": { |
| 268 | "name": "h2", |
| 269 | "locType": "grid", |
| 270 | "gridX": 400, |
| 271 | "gridY": 700 |
| 272 | } |
| 273 | }, |
| 274 | "00:00:00:00:00:30/300": { |
| 275 | "basic": { |
| 276 | "name": "h3", |
| 277 | "locType": "grid", |
| 278 | "gridX": 750, |
| 279 | "gridY": 700 |
| 280 | } |
| 281 | }, |
| 282 | "00:00:00:00:00:40/None": { |
| 283 | "basic": { |
| 284 | "name": "h4", |
| 285 | "locType": "grid", |
| 286 | "gridX": 850, |
| 287 | "gridY": 700 |
| 288 | } |
| 289 | } |
| 290 | } |
| 291 | } |