f68386992166fd0a6d21b638fe1f47cc9d96f013
[oam.git] / solution / dev / smo / scripts / software-management / x-ran-ru-swm-config
1 ################################################################################
2 #
3 # Copyright 2020 highstreet technologies GmbH and others
4 #
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
8
9 #     http://www.apache.org/licenses/LICENSE-2.0
10
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.
16 #
17
18 ################################################################################
19 # Configuration for Sotware management interface tests 
20
21 # settings
22 # protocol: http | http
23 protocol=https
24
25 # host: http | https
26 host=sdn-r-dev.open5g-test.com
27
28 # port: The SDN-R port number exposed by SDN-R docker      
29 port=443
30
31 # restconf: a static url path of SDN-R (currently not RFC8040)
32 restconfConfig=restconf/config/network-topology:network-topology/topology/topology-netconf/node
33 restconfOperations=restconf/operations/network-topology:network-topology/topology/topology-netconf/node
34
35 # nodeId: The device (or NetConf server) identifier to be addressed
36 nodeId=x-ran-RadioUnit-fronthaul-1
37
38 # static: a static part of the url path required by ODL
39 static=yang-ext:mount
40
41 # objectId: The Object identifier as defined by YANG
42 inventoryId=xran-software-management:software-inventory
43 downloadId=xran-software-management:software-download
44 installId=xran-software-management:software-install
45 activateId=xran-software-management:software-activate
46
47 # appUser, appPassword: App crendencials for authentiation
48 appUser=admin
49 appPassword=Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
50
51 # Inherit or static curl/header parameters
52 urlInventory=$protocol://$host/$restconfConfig/$nodeId/$static/$inventoryId
53  urlDownload=$protocol://$host/$restconfOperations/$nodeId/$static/$downloadId
54   urlInstall=$protocol://$host/$restconfOperations/$nodeId/$static/$installId
55  urlActivate=$protocol://$host/$restconfOperations/$nodeId/$static/$activateId
56         auth="-u $appUser:$appPassword"