blob: 500d28bd2c2df694ba1513a35aa990a8b9bfcfdf [file] [log] [blame]
demx8as6f58b3e12019-09-18 08:53:26 +02001################################################################################
demx8as663423752021-03-26 21:58:48 +01002# Copyright 2021 highstreet technologies GmbH and others
demx8as6f58b3e12019-09-18 08:53:26 +02003#
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
7#
demx8as686b92e82021-05-08 15:58:54 +02008# https://www.apache.org/licenses/LICENSE-2.0
demx8as6f58b3e12019-09-18 08:53:26 +02009#
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################################################################################
18# Configuration for interface tests
19
20################################################################################
21# DCAE VES Collector communication end point
demx8as663423752021-03-26 21:58:48 +010022urlVes=https://localhost:8443/eventListener/v7
23basicAuthVes=sample1:sample1
demx8as6f58b3e12019-09-18 08:53:26 +020024
25################################################################################
26# common generated event settings, please dont touch
demx8as64c6b4d12021-03-26 22:07:26 +010027timestamp=$(date -u +%s%6N)
28timeInS=${timestamp:0:$((${#timestamp}-6))}
29timeMs=${timestamp:(-6)}
demx8as6f58b3e12019-09-18 08:53:26 +020030eventTime=$(date -u -d @$timeInS +'%Y-%m-%dT%H:%M:%S').$timeMs"Z"
31eventType="O_RAN_COMPONENT"
32
33################################################################################
34# Information from document: SDN-R System Requirements
35#
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)
42
43# g. VendorA PNF5G (NO5G)
44# h. VendorB PNF5G (VB5G)
45# i. VendorC NGCell (NGCE)
46# j. VendorC O-RU (SCRU)
47#
48# z. SDN-R Controller itself (SDNR)
49
50declare -A pnfIdByType;
51declare -A modelByType;
52declare -A oamIpByType;
53declare -A vendorsByType;
54declare -A interfaceByType;
55
56pnfIdByType=(
57 [1234]=NSHMRIACQ01M01123401
58 [fyng]=LKCYFL79Q01M01FYNG01
59 [r2d2]=MMTSIL02Q01M01R2D201
60 [7dev]=PRTNILACQ01M017DEV01
demx8as6f9e11bb2021-04-02 13:37:33 +020061 [nsky]=O-RAN-FH-IPv6-01
demx8as6f58b3e12019-09-18 08:53:26 +020062 [1OSF]=SNSNFLR0Q01M011OSF01
63
64 [no5g]=MMTSIL02Q01M01NO5G01
65 [vb5g]=PRTNILACQ01M01VB5G01
66 [ngce]=SEDNKSAHQ01M01NGCE01
67 [scru]=SNSNFLR0Q01M01SCRU01
68
69 [sdnr]=$(hostname --fqdn)
70);
71
72modelByType=(
73 [1234]="1234 BestInClass"
74 [fyng]="FancyNextGeneration"
75 [r2d2]="R2D2 NewFuture"
76 [7dev]="7200DEV"
77 [nsky]="TheSkyIsTheLimit"
78 [1OSF]="OpenSourceFirst"
79
80 [no5g]="PNF5G"
81 [vb5g]="PNF5G"
82 [ngce]="NGCell"
83 [scru]="O-RU"
84
85 [sdnr]="ONAP Controller for Radio"
86);
87
88oamIpByType=(
89 [1234]=10.10.10.11
90 [fyng]=10.10.10.12
91 [r2d2]=10.10.10.13
92 [7dev]=10.10.10.14
93 [nsky]=10.10.10.15
94 [1OSF]=10.10.10.16
95
96 [no5g]=10.10.10.17
97 [vb5g]=10.10.10.18
98 [ngce]=10.10.10.19
99 [scru]=10.10.10.20
100
101 [sdnr]=127.0.0.1
102);
103
104vendorsByType=(
105 [1234]=VendorA
106 [fyng]=VendorA
107 [r2d2]=VendorB
108 [7dev]=VendorB
109 [nsky]=VendorC
110 [1OSF]=VendorC
111
112 [no5g]=VendorA
113 [vb5g]=VendorB
114 [ngce]=VendorC
115 [scru]=VendorC
116
117 [sdnr]=ONAP
118);
119
120interfaceByType=(
121 [1234]=LP-MWPS-RADIO
122 [fyng]=LP-MWPS-RADIO
123 [r2d2]=LP-MWPS-RADIO
124 [7dev]=LP-MWPS-RADIO
125 [nsky]=LP-MWPS-RADIO
126 [1OSF]=LP-MWPS-RADIO
127 [no5g]=LP-MWPS-RADIO
128 [vb5g]=LP-MWPS-RADIO
129 [ngce]=LP-MWPS-RADIO
130 [scru]=LP-MWPS-RADIO
131 [sdnr]=northbound-interface
132)
133
134spaces=" ";
135sequence=;
136
137mkdir -p json/examples