Sean Condon | b44c6ce | 2021-10-01 15:29:32 +0100 | [diff] [blame] | 1 | { |
| 2 | "groups": [ |
| 3 | "mixedGroup", |
| 4 | "acme" |
| 5 | ], |
| 6 | "application": { |
| 7 | "application": [ |
| 8 | { |
| 9 | "description": "Network Video Recorder", |
| 10 | "display_name": "NVR", |
| 11 | "enterprise": "starbucks", |
| 12 | "address": "nvr.starbucks.com", |
| 13 | "endpoint": [ |
| 14 | { |
| 15 | "name": "rtsp", |
| 16 | "port_end": 3330, |
| 17 | "port_start": 3316, |
| 18 | "protocol": "UDP" |
| 19 | } |
| 20 | ], |
| 21 | "id": "starbucks_nvr" |
| 22 | }, |
| 23 | { |
| 24 | "description": "Fidelio POS", |
| 25 | "display_name": "Fidelio", |
| 26 | "enterprise": "starbucks", |
| 27 | "address": "fidelio.starbucks.com", |
| 28 | "endpoint": [ |
| 29 | { |
| 30 | "name": "fidelio", |
| 31 | "port_end": 7588, |
| 32 | "port_start": 7585, |
| 33 | "protocol": "TCP" |
| 34 | } |
| 35 | ], |
| 36 | "id": "starbucks_fidelio" |
| 37 | }, |
| 38 | { |
| 39 | "description": "Data Acquisition", |
| 40 | "display_name": "DA", |
| 41 | "enterprise": "acme", |
| 42 | "address": "da.acme.com", |
| 43 | "endpoint": [ |
| 44 | { |
| 45 | "name": "da", |
| 46 | "port_end": 7588, |
| 47 | "port_start": 7585, |
| 48 | "protocol": "TCP" |
| 49 | } |
| 50 | ], |
| 51 | "id": "acme_dataacquisition" |
| 52 | } |
| 53 | ] |
| 54 | }, |
| 55 | "connectivity_service": { |
| 56 | "connectivity_service": [ |
| 57 | { |
| 58 | "core_5g_endpoint": "http://aether_roc_umbrella_sdcore_test_dummy/v1/config/5g", |
| 59 | "description": "5G Test", |
| 60 | "display_name": "ROC 5G Test Connectivity Service", |
| 61 | "id": "cs5gtest" |
| 62 | }, |
| 63 | { |
| 64 | "description": "ROC 4G Test Connectivity Service", |
| 65 | "display_name": "4G Test", |
| 66 | "hss_endpoint": "http://aether_roc_umbrella_sdcore_test_dummy/v1/config/imsis", |
| 67 | "id": "cs4gtest", |
| 68 | "pcrf_endpoint": "http://aether_roc_umbrella_sdcore_test_dummy/v1/config/policies", |
| 69 | "spgwc_endpoint": "http://aether_roc_umbrella_sdcore_test_dummy/v1/config" |
| 70 | } |
| 71 | ] |
| 72 | }, |
| 73 | "device_group": { |
| 74 | "device_group": [ |
| 75 | { |
| 76 | "display_name": "Global Default Device Group", |
| 77 | "id": "defaultent_defaultsite_default", |
| 78 | "ip_domain": "defaultent_defaultip", |
| 79 | "site": "defaultent_defaultsite" |
| 80 | }, |
| 81 | { |
| 82 | "display_name": "Seattle Default", |
| 83 | "id": "starbucks_seattle_default", |
| 84 | "ip_domain": "starbucks_seattle", |
| 85 | "site": "starbucks_seattle" |
| 86 | }, |
| 87 | { |
| 88 | "display_name": "Seattle Cameras", |
| 89 | "id": "starbucks_seattle_cameras", |
| 90 | "imsis": [ |
| 91 | { |
| 92 | "imsi_range_from": 0, |
| 93 | "imsi_range_to": 3, |
| 94 | "name": "counters" |
| 95 | }, |
| 96 | { |
| 97 | "imsi_range_from": 10, |
| 98 | "imsi_range_to": 14, |
| 99 | "name": "store" |
| 100 | } |
| 101 | ], |
| 102 | "ip_domain": "starbucks_seattle", |
| 103 | "site": "starbucks_seattle" |
| 104 | }, |
| 105 | { |
| 106 | "display_name": "Seattle POS", |
| 107 | "id": "starbucks_seattle_pos", |
| 108 | "imsis": [ |
| 109 | { |
| 110 | "imsi_range_from": 20, |
| 111 | "imsi_range_to": 22, |
| 112 | "name": "tills" |
| 113 | }, |
| 114 | { |
| 115 | "imsi_range_from": 30, |
| 116 | "imsi_range_to": 34, |
| 117 | "name": "store" |
| 118 | } |
| 119 | ], |
| 120 | "ip_domain": "starbucks_seattle", |
| 121 | "site": "starbucks_seattle" |
| 122 | }, |
| 123 | { |
| 124 | "display_name": "New York Default", |
| 125 | "id": "starbucks_newyork_default", |
| 126 | "ip_domain": "starbucks_newyork", |
| 127 | "site": "starbucks_newyork" |
| 128 | }, |
| 129 | { |
| 130 | "display_name": "New York Cameras", |
| 131 | "id": "starbucks_newyork_cameras", |
| 132 | "imsis": [ |
| 133 | { |
| 134 | "imsi_range_from": 40, |
| 135 | "imsi_range_to": 41, |
| 136 | "name": "front" |
| 137 | }, |
| 138 | { |
| 139 | "imsi_range_from": 50, |
| 140 | "imsi_range_to": 55, |
| 141 | "name": "store" |
| 142 | } |
| 143 | ], |
| 144 | "ip_domain": "starbucks_newyork", |
| 145 | "site": "starbucks_newyork" |
| 146 | }, |
| 147 | { |
| 148 | "display_name": "New York POS", |
| 149 | "id": "starbucks_newyork_pos", |
| 150 | "imsis": [ |
| 151 | { |
| 152 | "imsi_range_from": 60, |
| 153 | "imsi_range_to": 61, |
| 154 | "name": "tills" |
| 155 | }, |
| 156 | { |
| 157 | "imsi_range_from": 70, |
| 158 | "imsi_range_to": 73, |
| 159 | "name": "store" |
| 160 | } |
| 161 | ], |
| 162 | "ip_domain": "starbucks_newyork", |
| 163 | "site": "starbucks_newyork" |
| 164 | }, |
| 165 | { |
| 166 | "display_name": "ACME Default", |
| 167 | "id": "acme_chicago_default", |
| 168 | "ip_domain": "acme_chicago", |
| 169 | "site": "acme_chicago" |
| 170 | }, |
| 171 | { |
| 172 | "display_name": "ACME Robots", |
| 173 | "id": "acme_chicago_robots", |
| 174 | "imsis": [ |
| 175 | { |
| 176 | "imsi_range_from": 0, |
| 177 | "imsi_range_to": 3, |
| 178 | "name": "production" |
| 179 | }, |
| 180 | { |
| 181 | "imsi_range_from": 10, |
| 182 | "imsi_range_to": 12, |
| 183 | "name": "warehouse" |
| 184 | } |
| 185 | ], |
| 186 | "ip_domain": "acme_chicago", |
| 187 | "site": "acme_chicago" |
| 188 | } |
| 189 | ] |
| 190 | }, |
| 191 | "enterprise": { |
| 192 | "enterprise": [ |
| 193 | { |
| 194 | "description": "This Enterprise holds discovered IMSIs that cannot be associated elsewhere.", |
| 195 | "display_name": "Default Enterprise", |
| 196 | "id": "defaultent" |
| 197 | }, |
| 198 | { |
| 199 | "connectivity_service": [ |
| 200 | { |
| 201 | "connectivity_service": "cs5gtest", |
| 202 | "enabled": true |
| 203 | } |
| 204 | ], |
| 205 | "description": "ACME Corporation", |
| 206 | "display_name": "ACME Corp", |
| 207 | "id": "acme" |
| 208 | }, |
| 209 | { |
| 210 | "connectivity_service": [ |
| 211 | { |
| 212 | "connectivity_service": "cs5gtest", |
| 213 | "enabled": true |
| 214 | }, |
| 215 | { |
| 216 | "connectivity_service": "cs4gtest", |
| 217 | "enabled": false |
| 218 | } |
| 219 | ], |
| 220 | "description": "Starbucks Corporation", |
| 221 | "display_name": "Starbucks Inc.", |
| 222 | "id": "starbucks" |
| 223 | } |
| 224 | ] |
| 225 | }, |
| 226 | "ip_domain": { |
| 227 | "ip_domain": [ |
| 228 | { |
| 229 | "admin_status": "ENABLE", |
| 230 | "description": "Global Default IP Domain", |
| 231 | "display_name": "Global Default IP Domain", |
| 232 | "dns_primary": "8.8.8.1", |
| 233 | "dns_secondary": "8.8.8.2", |
| 234 | "id": "defaultent_defaultip", |
| 235 | "mtu": 57600, |
| 236 | "subnet": "192.168.0.0/24", |
| 237 | "enterprise": "defaultent" |
| 238 | }, |
| 239 | { |
| 240 | "admin_status": "ENABLE", |
| 241 | "description": "New York IP Domain", |
| 242 | "display_name": "New York", |
| 243 | "dns_primary": "8.8.8.1", |
| 244 | "dns_secondary": "8.8.8.2", |
| 245 | "id": "starbucks_newyork", |
| 246 | "mtu": 57600, |
| 247 | "subnet": "254.186.117.251/31", |
| 248 | "enterprise": "starbucks" |
| 249 | }, |
| 250 | { |
| 251 | "admin_status": "ENABLE", |
| 252 | "description": "Seattle IP Domain", |
| 253 | "display_name": "Seattle", |
| 254 | "dns_primary": "8.8.8.3", |
| 255 | "dns_secondary": "8.8.8.3", |
| 256 | "id": "starbucks_seattle", |
| 257 | "mtu": 12690, |
| 258 | "subnet": "196.5.91.0/31", |
| 259 | "enterprise": "starbucks" |
| 260 | }, |
| 261 | { |
| 262 | "admin_status": "DISABLE", |
| 263 | "description": "Chicago IP Domain", |
| 264 | "display_name": "Chicago", |
| 265 | "dns_primary": "8.8.8.4", |
| 266 | "dns_secondary": "8.8.8.4", |
| 267 | "id": "acme_chicago", |
| 268 | "mtu": 12690, |
| 269 | "subnet": "163.25.44.0/31", |
| 270 | "enterprise": "acme" |
| 271 | } |
| 272 | ] |
| 273 | }, |
| 274 | "site": { |
| 275 | "site": [ |
| 276 | { |
| 277 | "description": "Global Default Site", |
| 278 | "display_name": "Global Default Site", |
| 279 | "enterprise": "defaultent", |
| 280 | "id": "defaultent_defaultsite", |
| 281 | "imsi_definition": { |
| 282 | "mcc": "000", |
| 283 | "mnc": "00", |
| 284 | "enterprise": 0, |
| 285 | "format": "SSSSSSSSSSSSSSS" |
| 286 | } |
| 287 | }, |
| 288 | { |
| 289 | "description": "ACME HQ", |
| 290 | "display_name": "Chicago", |
| 291 | "enterprise": "acme", |
| 292 | "id": "acme_chicago", |
| 293 | "imsi_definition": { |
| 294 | "mcc": "123", |
| 295 | "mnc": "456", |
| 296 | "enterprise": 1, |
| 297 | "format": "CCCNNNEEESSSSSS" |
| 298 | }, |
| 299 | "small_cell": [ |
| 300 | { |
| 301 | "name": "cell1", |
| 302 | "address": "ap2.chicago.acme.com", |
| 303 | "enable": true, |
| 304 | "tac": "8002" |
| 305 | } |
| 306 | ] |
| 307 | }, |
| 308 | { |
| 309 | "description": "Starbucks Corp HQ", |
| 310 | "display_name": "Seattle", |
| 311 | "enterprise": "starbucks", |
| 312 | "id": "starbucks_seattle", |
| 313 | "imsi_definition": { |
| 314 | "mcc": "265", |
| 315 | "mnc": "122", |
| 316 | "enterprise": 2, |
| 317 | "format": "CCCNNNEEESSSSSS" |
| 318 | }, |
| 319 | "small_cell": [ |
| 320 | { |
| 321 | "name": "cell2", |
| 322 | "address": "ap1.seattle.starbucks.com", |
| 323 | "enable": true, |
| 324 | "tac": "0654" |
| 325 | }, |
| 326 | { |
| 327 | "name": "cell3", |
| 328 | "address": "ap2.seattle.starbucks.com", |
| 329 | "enable": true, |
| 330 | "tac": "87475" |
| 331 | } |
| 332 | ] |
| 333 | }, |
| 334 | { |
| 335 | "description": "Starbucks New York", |
| 336 | "display_name": "New York", |
| 337 | "enterprise": "starbucks", |
| 338 | "id": "starbucks_newyork", |
| 339 | "imsi_definition": { |
| 340 | "mcc": "021", |
| 341 | "mnc": "32", |
| 342 | "enterprise": 2, |
| 343 | "format": "CCCNNNEEESSSSSS" |
| 344 | }, |
| 345 | "small_cell": [ |
| 346 | { |
| 347 | "name": "cell4", |
| 348 | "address": "ap2.newyork.starbucks.com", |
| 349 | "enable": true, |
| 350 | "tac": "8002" |
| 351 | } |
| 352 | ] |
| 353 | } |
| 354 | ] |
| 355 | }, |
| 356 | "template": { |
| 357 | "template": [ |
| 358 | { |
| 359 | "description": "VCS Template 1", |
| 360 | "display_name": "Template 1", |
| 361 | "id": "template_1", |
| 362 | "sd": 10886763, |
| 363 | "sst": 158, |
| 364 | "traffic_class": "class_1", |
| 365 | "device": { |
| 366 | "mbr": { |
| 367 | "uplink": 10, |
| 368 | "downlink": 5 |
| 369 | } |
| 370 | } |
| 371 | }, |
| 372 | { |
| 373 | "description": "VCS Template 2", |
| 374 | "display_name": "Template 2", |
| 375 | "id": "template_2", |
| 376 | "sd": 16619900, |
| 377 | "sst": 157, |
| 378 | "traffic_class": "class_2", |
| 379 | "device": { |
| 380 | "mbr": { |
| 381 | "uplink": 10, |
| 382 | "downlink": 5 |
| 383 | } |
| 384 | } |
| 385 | } |
| 386 | ] |
| 387 | }, |
| 388 | "traffic_class": { |
| 389 | "traffic_class": [ |
| 390 | { |
| 391 | "description": "High Priority TC", |
| 392 | "display_name": "Class 1", |
| 393 | "id": "class_1", |
| 394 | "qci": 10, |
| 395 | "arp": 1 |
| 396 | }, |
| 397 | { |
| 398 | "description": "Medium Priority TC", |
| 399 | "display_name": "Class 2", |
| 400 | "id": "class_2", |
| 401 | "qci": 20, |
| 402 | "arp": 1 |
| 403 | }, |
| 404 | { |
| 405 | "description": "Low Priority TC", |
| 406 | "display_name": "Class 3", |
| 407 | "id": "class_3", |
| 408 | "qci": 30, |
| 409 | "arp": 1 |
| 410 | } |
| 411 | ] |
| 412 | }, |
| 413 | "upf": { |
| 414 | "upf": [ |
| 415 | { |
| 416 | "address": "seattle.cameras_upf.starbucks.com", |
| 417 | "description": "Seattle Cameras UPF", |
| 418 | "display_name": "Seattle Cameras", |
| 419 | "id": "starbucks_seattle_cameras", |
| 420 | "enterprise": "starbucks", |
| 421 | "port": 9229 |
| 422 | }, |
| 423 | { |
| 424 | "address": "newyork.cameras_upf.starbucks.com", |
| 425 | "description": "New York Cameras UPF", |
| 426 | "display_name": "New York Cameras", |
| 427 | "id": "starbucks_newyork_cameras", |
| 428 | "enterprise": "starbucks", |
| 429 | "port": 6161 |
| 430 | }, |
| 431 | { |
| 432 | "address": "chicago.robots_upf.acme.com", |
| 433 | "description": "Chicago Robots UPF", |
| 434 | "display_name": "Chicago Robots", |
| 435 | "id": "acme_chicago_robots", |
| 436 | "enterprise": "acme", |
| 437 | "port": 6161 |
| 438 | }, |
| 439 | { |
| 440 | "address": "newyork.pos_upf.starbucks.com", |
| 441 | "description": "NewYork POS UPF", |
| 442 | "display_name": "NewYork POS", |
| 443 | "id": "starbucks_newyork_pos", |
| 444 | "enterprise": "starbucks", |
| 445 | "port": 6161 |
| 446 | } |
| 447 | ] |
| 448 | }, |
| 449 | "vcs": { |
| 450 | "vcs": [ |
| 451 | { |
| 452 | "filter": [ |
| 453 | { |
| 454 | "allow": true, |
| 455 | "application": "starbucks_nvr" |
| 456 | } |
| 457 | ], |
| 458 | "description": "New York Cameras", |
| 459 | "device_group": [ |
| 460 | { "enable": true, |
| 461 | "device_group": "starbucks_newyork_cameras" |
| 462 | } |
| 463 | ], |
| 464 | "display_name": "NY Cams", |
| 465 | "enterprise": "starbucks", |
| 466 | "id": "starbucks_newyork_cameras", |
| 467 | "sd": 8284729, |
| 468 | "sst": 127, |
| 469 | "template": "template_1", |
| 470 | "traffic_class": "class_1", |
| 471 | "upf": "starbucks_newyork_cameras", |
| 472 | "device": { |
| 473 | "mbr": { |
| 474 | "downlink": 10, |
| 475 | "uplink": 10 |
| 476 | } |
| 477 | } |
| 478 | }, |
| 479 | { |
| 480 | "filter": [ |
| 481 | { |
| 482 | "allow": false, |
| 483 | "application": "starbucks_nvr" |
| 484 | } |
| 485 | ], |
| 486 | "description": "Seattle Cameras", |
| 487 | "device_group": [ |
| 488 | { "enable": true, |
| 489 | "device_group": "starbucks_seattle_cameras" |
| 490 | } |
| 491 | ], |
| 492 | "display_name": "Seattle Cams", |
| 493 | "enterprise": "starbucks", |
| 494 | "id": "starbucks_seattle_cameras", |
| 495 | "sd": 2973238, |
| 496 | "sst": 79, |
| 497 | "template": "template_2", |
| 498 | "traffic_class": "class_2", |
| 499 | "upf": "starbucks_seattle_cameras", |
| 500 | "device": { |
| 501 | "mbr": { |
| 502 | "downlink": 10, |
| 503 | "uplink": 5 |
| 504 | } |
| 505 | } |
| 506 | }, |
| 507 | { |
| 508 | "filter": [ |
| 509 | { |
| 510 | "allow": false, |
| 511 | "application": "acme_dataacquisition" |
| 512 | } |
| 513 | ], |
| 514 | "description": "Chicago Robots", |
| 515 | "device_group": [ |
| 516 | { "enable": true, |
| 517 | "device_group": "acme_chicago_robots" |
| 518 | } |
| 519 | ], |
| 520 | "display_name": "Chicago Robots VCS", |
| 521 | "enterprise": "acme", |
| 522 | "id": "acme_chicago_robots", |
| 523 | "sd": 2973238, |
| 524 | "sst": 79, |
| 525 | "template": "template_2", |
| 526 | "traffic_class": "class_2", |
| 527 | "upf": "acme_chicago_robots", |
| 528 | "device": { |
| 529 | "mbr": { |
| 530 | "downlink": 10, |
| 531 | "uplink": 5 |
| 532 | } |
| 533 | } |
| 534 | } |
| 535 | ] |
| 536 | } |
| 537 | |
| 538 | } |