1 ################################################################################
3 # Copyright 2019 highstreet technologies GmbH and others
5 # Licensed under the Apache License, Version 2.0 (the "License");
6 # you may not use this file except in compliance with the License.
7 # You may obtain a copy of the License at
9 # http://www.apache.org/licenses/LICENSE-2.0
11 # Unless required by applicable law or agreed to in writing, software
12 # distributed under the License is distributed on an "AS IS" BASIS,
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 # See the License for the specific language governing permissions and
15 # limitations under the License.
18 ################################################################################
19 # Configuration for interface tests
21 ################################################################################
22 # DCAE VES Collector communication end point
23 urlVes=http://localhost:30007/eventListener/v7
24 basicAuthVes=will:pill
26 ################################################################################
27 # common generated event settings, please dont touch
28 timestamp=$(date -u +%s%3N)
29 timeInS=${timestamp:0:$((${#timestamp}-3))}
30 timeMs=${timestamp:(-3)}
31 eventTime=$(date -u -d @$timeInS +'%Y-%m-%dT%H:%M:%S').$timeMs"Z"
32 eventType="O_RAN_COMPONENT"
34 ################################################################################
35 # Information from document: SDN-R System Requirements
37 # a. VendorA 1234 BestInClass (1234)
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)
44 # g. VendorA PNF5G (NO5G)
45 # h. VendorB PNF5G (VB5G)
46 # i. VendorC NGCell (NGCE)
47 # j. VendorC O-RU (SCRU)
49 # z. SDN-R Controller itself (SDNR)
51 declare -A pnfIdByType;
52 declare -A modelByType;
53 declare -A oamIpByType;
54 declare -A vendorsByType;
55 declare -A interfaceByType;
58 [1234]=NSHMRIACQ01M01123401
59 [fyng]=LKCYFL79Q01M01FYNG01
60 [r2d2]=MMTSIL02Q01M01R2D201
61 [7dev]=PRTNILACQ01M017DEV01
62 [nsky]=SEDNKSAHQ01M01nSky01
63 [1OSF]=SNSNFLR0Q01M011OSF01
65 [no5g]=MMTSIL02Q01M01NO5G01
66 [vb5g]=PRTNILACQ01M01VB5G01
67 [ngce]=SEDNKSAHQ01M01NGCE01
68 [scru]=SNSNFLR0Q01M01SCRU01
70 [sdnr]=$(hostname --fqdn)
74 [1234]="1234 BestInClass"
75 [fyng]="FancyNextGeneration"
76 [r2d2]="R2D2 NewFuture"
78 [nsky]="TheSkyIsTheLimit"
79 [1OSF]="OpenSourceFirst"
86 [sdnr]="ONAP Controller for Radio"
132 [sdnr]=northbound-interface
138 mkdir -p json/examples