1 ################################################################################
3 # Copyright 2020 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 Sotware management interface tests
22 # protocol: http | http
26 host=sdn-r-dev.open5g-test.com
28 # port: The SDN-R port number exposed by SDN-R docker
31 # restconf: a static url path of SDN-R (currently not RFC8040)
32 restconf=restconf/config/network-topology:network-topology/topology/topology-netconf/node
34 # nodeId: The device (or NetConf server) identifier to be addressed
35 nodeId=o-ran-RadioUnit-fronthaul-1
37 # static: a static part of the url path required by ODL
40 # objectId: The Object identifier as defined by YANG
41 objectId=o-ran-software-management:software-inventory
43 # appUser, appPassword: App crendencials for authentiation
45 appPassword=Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
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'"