1 ##############################################################################
3 # Copyright (c) 2019 AT&T Intellectual Property.
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.
17 ##############################################################################
19 # This source code is part of the near-RT RIC (RAN Intelligent Controller)
20 # platform project (RICP).
24 Documentation Resource file
30 ${ip_gnb_simu} 10.0.2.15
31 ${ip_e2adapter} 10.0.2.15
32 ${url} http://localhost:3800
33 ${url_rsm} http://localhost:4800
34 ${json_setup_rsm_tests} {"ranIp": "10.0.2.15","ranPort": 36422,"ranName":"test1"}
35 ${json} {"ranIp": "10.0.2.15","ranPort": 5577,"ranName":"test1"}
36 ${endcbadjson} {"ranIp": "a","ranPort": 49999,"ranName":"test2"}
37 ${endcjson} {"ranIp": "10.0.2.15","ranPort": 49999,"ranName":"test2"}
38 ${resetcausejson} {"cause": "misc:not-enough-user-plane-processing-resources"}
39 ${resetbadcausejson} {"cause": "bla" }
40 ${resetbad1causejson} {"cause": }
41 ${resource_status_start_json} {"enableResourceStatus":true}
42 ${resource_status_stop_json} {"enableResourceStatus":false}
43 ${header} {"Content-Type": "application/json"}
44 ${docker_command} docker ps | grep Up | wc --lines
45 ${run_simu_load} docker run -d --name gnbe2_simu --env gNBipv4=localhost --env gNBport=36422 --env duration=600000000000 --env indicationReportRate=1000000000 --env indicationInsertRate=0 -p 5577:36422/sctp snapshot.docker.ranco-dev-tools.eastus.cloudapp.azure.com:10001/gnbe2_simu:1.0.6
46 ${stop_e2e_simu} docker stop e2e_simu
47 ${stop_simu} docker stop gnbe2_simu
48 ${run_simu_regular} docker run -d --name gnbe2_simu --env gNBipv4=localhost --env gNBport=36422 --env duration=600000000000 --env indicationReportRate=0 --env indicationInsertRate=0 -p 5577:36422/sctp snapshot.docker.ranco-dev-tools.eastus.cloudapp.azure.com:10001/gnbe2_simu:1.0.6
49 ${run_e2e_simu_regular} docker run -d --name e2e_simu -p 36422:36422 --net host -it snapshot.docker.ranco-dev-tools.eastus.cloudapp.azure.com:10001/e2sim:1.4.0 sh -c "./build/e2sim 10.0.2.15 36422"
50 ${docker_Remove} docker rm gnbe2_simu
51 ${docker_remove_e2e_simu} docker rm e2e_simu
52 ${docker_restart} docker restart e2mgr
53 ${restart_simu} docker restart gnbe2_simu
54 ${restart_e2e_simu} docker restart e2e_simu
55 ${restart_e2adapter} docker restart e2adapter
56 ${restart_rsm} docker restart rsm
57 ${start_e2} docker start e2
58 ${stop_e2} docker stop e2
59 ${dbass_start} docker run -d --name dbass -p 6379:6379 --env DBAAS_SERVICE_HOST=10.0.2.15 snapshot.docker.ranco-dev-tools.eastus.cloudapp.azure.com:10001/dbass:1.0.0
60 ${dbass_remove} docker rm dbass
61 ${dbass_stop} docker stop dbass
62 ${restart_simu} docker restart gnbe2_simu
63 ${stop_docker_e2} docker stop e2
64 ${restart_docker_sim} docker restart gnbe2_simu
65 ${Run_Config} docker exec gnbe2_simu pkill gnbe2_simu -INT
66 ${403_reset_message} "Activity X2_RESET rejected. RAN current state DISCONNECTED does not allow its execution "
67 ${stop_routingmanager_sim} docker stop rm_sim
68 ${start_routingmanager_sim} docker start rm_sim