36d8cddce45cb3cc27de592a677bad479dc370a8
[oam.git] / solution / dev / smo / scripts / software-management / o-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 restconf=restconf/config/network-topology:network-topology/topology/topology-netconf/node
33
34 # nodeId: The device (or NetConf server) identifier to be addressed
35 nodeId=o-ran-RadioUnit-fronthaul-1
36
37 # static: a static part of the url path required by ODL
38 static=yang-ext:mount
39
40 # objectId: The Object identifier as defined by YANG
41 objectId=o-ran-software-management:software-inventory
42
43 # appUser, appPassword: App crendencials for authentiation
44 appUser=admin
45 appPassword=Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
46
47 # Inherit or static curl/header parameters
48         url=$protocol://$host/$restconf/$nodeId/$static/$objectId
49        auth="-u $appUser:$appPassword"
50   authority="-H 'authority: "$host"'"
51 contentType="-H 'Content-Type:application/json'"
52      accept="-H 'Accept:application/json'"