X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=solution%2Fdev%2Fves-test-collector%2Fclient-scripts-ves-v7%2Fconfig;fp=solution%2Fdev%2Fves-test-collector%2Fclient-scripts-ves-v7%2Fconfig;h=d11dc5cffa93001f05707827a80681ea26d76a3b;hb=f58b3e1c0d88c9c403cbbef28cb36fa2f1b6bf86;hp=0000000000000000000000000000000000000000;hpb=2c1023c4053ed30de38bc7e2486738fb3c730536;p=oam.git diff --git a/solution/dev/ves-test-collector/client-scripts-ves-v7/config b/solution/dev/ves-test-collector/client-scripts-ves-v7/config new file mode 100644 index 0000000..d11dc5c --- /dev/null +++ b/solution/dev/ves-test-collector/client-scripts-ves-v7/config @@ -0,0 +1,138 @@ +################################################################################ +# +# Copyright 2019 highstreet technologies GmbH and others +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +################################################################################ +# Configuration for interface tests + +################################################################################ +# DCAE VES Collector communication end point +urlVes=http://localhost:30007/eventListener/v7 +basicAuthVes=will:pill + +################################################################################ +# common generated event settings, please dont touch +timestamp=$(date -u +%s%3N) +timeInS=${timestamp:0:$((${#timestamp}-3))} +timeMs=${timestamp:(-3)} +eventTime=$(date -u -d @$timeInS +'%Y-%m-%dT%H:%M:%S').$timeMs"Z" +eventType="O_RAN_COMPONENT" + +################################################################################ +# Information from document: SDN-R System Requirements +# +# a. VendorA 1234 BestInClass (1234) +# b. VendorA FancyNextGeneration (FYNG) +# c. VendorB R2D2 NewFuture (R2D2) +# d. VendorB 7200DEV (7DEV) +# e. VendorC TheSkyIsTheLimit (nSky) +# f. VendorC OpenSourceFirst (1OSF) + +# g. VendorA PNF5G (NO5G) +# h. VendorB PNF5G (VB5G) +# i. VendorC NGCell (NGCE) +# j. VendorC O-RU (SCRU) +# +# z. SDN-R Controller itself (SDNR) + +declare -A pnfIdByType; +declare -A modelByType; +declare -A oamIpByType; +declare -A vendorsByType; +declare -A interfaceByType; + +pnfIdByType=( + [1234]=NSHMRIACQ01M01123401 + [fyng]=LKCYFL79Q01M01FYNG01 + [r2d2]=MMTSIL02Q01M01R2D201 + [7dev]=PRTNILACQ01M017DEV01 + [nsky]=SEDNKSAHQ01M01nSky01 + [1OSF]=SNSNFLR0Q01M011OSF01 + + [no5g]=MMTSIL02Q01M01NO5G01 + [vb5g]=PRTNILACQ01M01VB5G01 + [ngce]=SEDNKSAHQ01M01NGCE01 + [scru]=SNSNFLR0Q01M01SCRU01 + + [sdnr]=$(hostname --fqdn) +); + +modelByType=( + [1234]="1234 BestInClass" + [fyng]="FancyNextGeneration" + [r2d2]="R2D2 NewFuture" + [7dev]="7200DEV" + [nsky]="TheSkyIsTheLimit" + [1OSF]="OpenSourceFirst" + + [no5g]="PNF5G" + [vb5g]="PNF5G" + [ngce]="NGCell" + [scru]="O-RU" + + [sdnr]="ONAP Controller for Radio" +); + +oamIpByType=( + [1234]=10.10.10.11 + [fyng]=10.10.10.12 + [r2d2]=10.10.10.13 + [7dev]=10.10.10.14 + [nsky]=10.10.10.15 + [1OSF]=10.10.10.16 + + [no5g]=10.10.10.17 + [vb5g]=10.10.10.18 + [ngce]=10.10.10.19 + [scru]=10.10.10.20 + + [sdnr]=127.0.0.1 +); + +vendorsByType=( + [1234]=VendorA + [fyng]=VendorA + [r2d2]=VendorB + [7dev]=VendorB + [nsky]=VendorC + [1OSF]=VendorC + + [no5g]=VendorA + [vb5g]=VendorB + [ngce]=VendorC + [scru]=VendorC + + [sdnr]=ONAP +); + +interfaceByType=( + [1234]=LP-MWPS-RADIO + [fyng]=LP-MWPS-RADIO + [r2d2]=LP-MWPS-RADIO + [7dev]=LP-MWPS-RADIO + [nsky]=LP-MWPS-RADIO + [1OSF]=LP-MWPS-RADIO + [no5g]=LP-MWPS-RADIO + [vb5g]=LP-MWPS-RADIO + [ngce]=LP-MWPS-RADIO + [scru]=LP-MWPS-RADIO + [sdnr]=northbound-interface +) + +spaces=" "; +sequence=; + +mkdir -p json/examples