1 ################################################################################
2 # Copyright 2021 highstreet technologies GmbH and others
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
8 # https://www.apache.org/licenses/LICENSE-2.0
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.
17 ################################################################################
18 # Configuration for interface tests
20 ################################################################################
21 # DCAE VES Collector communication end point
22 urlVes=https://localhost:8443/eventListener/v7
23 basicAuthVes=sample1:sample1
25 ################################################################################
26 # common generated event settings, please dont touch
27 timestamp=$(date -u +%s%6N)
28 timeInS=${timestamp:0:$((${#timestamp}-6))}
29 timeMs=${timestamp:(-6)}
30 eventTime=$(date -u -d @$timeInS +'%Y-%m-%dT%H:%M:%S').$timeMs"Z"
31 eventType="O_RAN_COMPONENT"
33 ################################################################################
34 # Information from document: SDN-R System Requirements
36 # a. VendorA 1234 BestInClass (1234)
37 # b. VendorA FancyNextGeneration (FYNG)
38 # c. VendorB R2D2 NewFuture (R2D2)
39 # d. VendorB 7200DEV (7DEV)
40 # e. VendorC TheSkyIsTheLimit (nSky)
41 # f. VendorC OpenSourceFirst (1OSF)
43 # g. VendorA PNF5G (NO5G)
44 # h. VendorB PNF5G (VB5G)
45 # i. VendorC NGCell (NGCE)
46 # j. VendorC O-RU (SCRU)
48 # z. SDN-R Controller itself (SDNR)
50 declare -A pnfIdByType;
51 declare -A modelByType;
52 declare -A oamIpByType;
53 declare -A vendorsByType;
54 declare -A interfaceByType;
57 [1234]=NSHMRIACQ01M01123401
58 [fyng]=LKCYFL79Q01M01FYNG01
59 [r2d2]=MMTSIL02Q01M01R2D201
60 [7dev]=PRTNILACQ01M017DEV01
61 [nsky]=O-RAN-FH-IPv6-01
62 [1OSF]=SNSNFLR0Q01M011OSF01
64 [no5g]=MMTSIL02Q01M01NO5G01
65 [vb5g]=PRTNILACQ01M01VB5G01
66 [ngce]=SEDNKSAHQ01M01NGCE01
67 [scru]=SNSNFLR0Q01M01SCRU01
69 [sdnr]=$(hostname --fqdn)
73 [1234]="1234 BestInClass"
74 [fyng]="FancyNextGeneration"
75 [r2d2]="R2D2 NewFuture"
77 [nsky]="TheSkyIsTheLimit"
78 [1OSF]="OpenSourceFirst"
85 [sdnr]="ONAP Controller for Radio"
131 [sdnr]=northbound-interface
137 mkdir -p json/examples