demx8as6 | f58b3e1 | 2019-09-18 08:53:26 +0200 | [diff] [blame] | 1 | ################################################################################ |
demx8as6 | 6342375 | 2021-03-26 21:58:48 +0100 | [diff] [blame] | 2 | # Copyright 2021 highstreet technologies GmbH and others |
demx8as6 | f58b3e1 | 2019-09-18 08:53:26 +0200 | [diff] [blame] | 3 | # |
| 4 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | # you may not use this file except in compliance with the License. |
| 6 | # You may obtain a copy of the License at |
demx8as6 | 323da64 | 2022-10-21 13:27:52 +0200 | [diff] [blame] | 7 | # |
demx8as6 | 86b92e8 | 2021-05-08 15:58:54 +0200 | [diff] [blame] | 8 | # https://www.apache.org/licenses/LICENSE-2.0 |
demx8as6 | 323da64 | 2022-10-21 13:27:52 +0200 | [diff] [blame] | 9 | # |
demx8as6 | f58b3e1 | 2019-09-18 08:53:26 +0200 | [diff] [blame] | 10 | # Unless required by applicable law or agreed to in writing, software |
| 11 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | # See the License for the specific language governing permissions and |
| 14 | # limitations under the License. |
| 15 | # |
| 16 | |
| 17 | ################################################################################ |
demx8as6 | 323da64 | 2022-10-21 13:27:52 +0200 | [diff] [blame] | 18 | # Configuration for interface tests |
demx8as6 | f58b3e1 | 2019-09-18 08:53:26 +0200 | [diff] [blame] | 19 | |
| 20 | ################################################################################ |
demx8as6 | 323da64 | 2022-10-21 13:27:52 +0200 | [diff] [blame] | 21 | # DCAE VES Collector communication end point |
Martin Skorupski | 2d0e835 | 2023-02-03 12:36:14 +0100 | [diff] [blame] | 22 | # urlVes=https://smo.o-ran-sc.org:8443/eventListener/v7 |
| 23 | urlVes=https://ves-collector.oam.smo.o-ran-sc.org/eventListener/v7 |
demx8as6 | 6342375 | 2021-03-26 21:58:48 +0100 | [diff] [blame] | 24 | basicAuthVes=sample1:sample1 |
demx8as6 | f58b3e1 | 2019-09-18 08:53:26 +0200 | [diff] [blame] | 25 | |
| 26 | ################################################################################ |
| 27 | # common generated event settings, please dont touch |
demx8as6 | 4c6b4d1 | 2021-03-26 22:07:26 +0100 | [diff] [blame] | 28 | timestamp=$(date -u +%s%6N) |
| 29 | timeInS=${timestamp:0:$((${#timestamp}-6))} |
| 30 | timeMs=${timestamp:(-6)} |
demx8as6 | f58b3e1 | 2019-09-18 08:53:26 +0200 | [diff] [blame] | 31 | eventTime=$(date -u -d @$timeInS +'%Y-%m-%dT%H:%M:%S').$timeMs"Z" |
| 32 | eventType="O_RAN_COMPONENT" |
| 33 | |
| 34 | ################################################################################ |
| 35 | # Information from document: SDN-R System Requirements |
| 36 | # |
demx8as6 | 323da64 | 2022-10-21 13:27:52 +0200 | [diff] [blame] | 37 | # a. VendorA pnf2 BestInClass (pnf2) |
demx8as6 | f58b3e1 | 2019-09-18 08:53:26 +0200 | [diff] [blame] | 38 | # b. VendorA FancyNextGeneration (FYNG) |
| 39 | # c. VendorB R2D2 NewFuture (R2D2) |
| 40 | # d. VendorB 7200DEV (7DEV) |
| 41 | # e. VendorC TheSkyIsTheLimit (nSky) |
| 42 | # f. VendorC OpenSourceFirst (1OSF) |
| 43 | |
| 44 | # g. VendorA PNF5G (NO5G) |
| 45 | # h. VendorB PNF5G (VB5G) |
demx8as6 | 323da64 | 2022-10-21 13:27:52 +0200 | [diff] [blame] | 46 | # i. VendorC NGCell (NGCE) |
demx8as6 | f58b3e1 | 2019-09-18 08:53:26 +0200 | [diff] [blame] | 47 | # j. VendorC O-RU (SCRU) |
| 48 | # |
| 49 | # z. SDN-R Controller itself (SDNR) |
| 50 | |
| 51 | declare -A pnfIdByType; |
| 52 | declare -A modelByType; |
| 53 | declare -A oamIpByType; |
| 54 | declare -A vendorsByType; |
| 55 | declare -A interfaceByType; |
| 56 | |
| 57 | pnfIdByType=( |
demx8as6 | 323da64 | 2022-10-21 13:27:52 +0200 | [diff] [blame] | 58 | [pnf2]=NSHMRIACQ01M01pnf201 |
| 59 | [fyng]=LKCYFL79Q01M01FYNG01 |
| 60 | [r2d2]=MMTSIL02Q01M01R2D201 |
| 61 | [7dev]=PRTNILACQ01M017DEV01 |
| 62 | [nsky]=O-RAN-FH-IPv6-01 |
demx8as6 | f58b3e1 | 2019-09-18 08:53:26 +0200 | [diff] [blame] | 63 | [1OSF]=SNSNFLR0Q01M011OSF01 |
| 64 | |
demx8as6 | 323da64 | 2022-10-21 13:27:52 +0200 | [diff] [blame] | 65 | [no5g]=MMTSIL02Q01M01NO5G01 |
| 66 | [vb5g]=PRTNILACQ01M01VB5G01 |
| 67 | [ngce]=SEDNKSAHQ01M01NGCE01 |
demx8as6 | f58b3e1 | 2019-09-18 08:53:26 +0200 | [diff] [blame] | 68 | [scru]=SNSNFLR0Q01M01SCRU01 |
| 69 | |
| 70 | [sdnr]=$(hostname --fqdn) |
| 71 | ); |
| 72 | |
| 73 | modelByType=( |
demx8as6 | 323da64 | 2022-10-21 13:27:52 +0200 | [diff] [blame] | 74 | [pnf2]="pnf2 BestInClass" |
| 75 | [fyng]="FancyNextGeneration" |
| 76 | [r2d2]="R2D2 NewFuture" |
| 77 | [7dev]="7200DEV" |
| 78 | [nsky]="TheSkyIsTheLimit" |
demx8as6 | f58b3e1 | 2019-09-18 08:53:26 +0200 | [diff] [blame] | 79 | [1OSF]="OpenSourceFirst" |
| 80 | |
demx8as6 | 323da64 | 2022-10-21 13:27:52 +0200 | [diff] [blame] | 81 | [no5g]="PNF5G" |
| 82 | [vb5g]="PNF5G" |
| 83 | [ngce]="NGCell" |
demx8as6 | f58b3e1 | 2019-09-18 08:53:26 +0200 | [diff] [blame] | 84 | [scru]="O-RU" |
| 85 | |
| 86 | [sdnr]="ONAP Controller for Radio" |
| 87 | ); |
| 88 | |
| 89 | oamIpByType=( |
demx8as6 | 323da64 | 2022-10-21 13:27:52 +0200 | [diff] [blame] | 90 | [pnf2]=10.10.10.11 |
| 91 | [fyng]=10.10.10.12 |
| 92 | [r2d2]=10.10.10.13 |
| 93 | [7dev]=10.10.10.14 |
| 94 | [nsky]=10.10.10.15 |
demx8as6 | f58b3e1 | 2019-09-18 08:53:26 +0200 | [diff] [blame] | 95 | [1OSF]=10.10.10.16 |
| 96 | |
demx8as6 | 323da64 | 2022-10-21 13:27:52 +0200 | [diff] [blame] | 97 | [no5g]=10.10.10.17 |
| 98 | [vb5g]=10.10.10.18 |
| 99 | [ngce]=10.10.10.19 |
demx8as6 | f58b3e1 | 2019-09-18 08:53:26 +0200 | [diff] [blame] | 100 | [scru]=10.10.10.20 |
| 101 | |
| 102 | [sdnr]=127.0.0.1 |
| 103 | ); |
| 104 | |
| 105 | vendorsByType=( |
demx8as6 | 323da64 | 2022-10-21 13:27:52 +0200 | [diff] [blame] | 106 | [pnf2]=VendorA |
| 107 | [fyng]=VendorA |
| 108 | [r2d2]=VendorB |
| 109 | [7dev]=VendorB |
| 110 | [nsky]=VendorC |
demx8as6 | f58b3e1 | 2019-09-18 08:53:26 +0200 | [diff] [blame] | 111 | [1OSF]=VendorC |
| 112 | |
demx8as6 | 323da64 | 2022-10-21 13:27:52 +0200 | [diff] [blame] | 113 | [no5g]=VendorA |
| 114 | [vb5g]=VendorB |
| 115 | [ngce]=VendorC |
demx8as6 | f58b3e1 | 2019-09-18 08:53:26 +0200 | [diff] [blame] | 116 | [scru]=VendorC |
| 117 | |
| 118 | [sdnr]=ONAP |
| 119 | ); |
| 120 | |
| 121 | interfaceByType=( |
demx8as6 | 323da64 | 2022-10-21 13:27:52 +0200 | [diff] [blame] | 122 | [pnf2]=4af8681f-f2e4-4058-8052-4e9343ee7bf2 |
| 123 | [fyng]=4af8681f-f2e4-4058-8052-4e9343ee7bf2 |
| 124 | [r2d2]=4af8681f-f2e4-4058-8052-4e9343ee7bf2 |
| 125 | [7dev]=4af8681f-f2e4-4058-8052-4e9343ee7bf2 |
| 126 | [nsky]=4af8681f-f2e4-4058-8052-4e9343ee7bf2 |
| 127 | [1OSF]=4af8681f-f2e4-4058-8052-4e9343ee7bf2 |
| 128 | [no5g]=4af8681f-f2e4-4058-8052-4e9343ee7bf2 |
| 129 | [vb5g]=4af8681f-f2e4-4058-8052-4e9343ee7bf2 |
| 130 | [ngce]=4af8681f-f2e4-4058-8052-4e9343ee7bf2 |
| 131 | [scru]=4af8681f-f2e4-4058-8052-4e9343ee7bf2 |
demx8as6 | f58b3e1 | 2019-09-18 08:53:26 +0200 | [diff] [blame] | 132 | [sdnr]=northbound-interface |
| 133 | ) |
| 134 | |
| 135 | spaces=" "; |
| 136 | sequence=; |
| 137 | |
| 138 | mkdir -p json/examples |