blob: 4b6bcb391cbb25f6a9ba37197573ba3519478af3 [file] [log] [blame]
Amichai4db397d2019-08-28 19:23:15 +03001##############################################################################
2#
3# Copyright (c) 2019 AT&T Intellectual Property.
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##############################################################################
nm755n15d39822019-11-28 16:56:00 +000018#
19# This source code is part of the near-RT RIC (RAN Intelligent Controller)
20# platform project (RICP).
21#
Amichai4db397d2019-08-28 19:23:15 +030022
ss412g07ef76d2019-08-12 17:26:40 +030023*** Settings ***
24Documentation Resource file
25
26
27*** Variables ***
ss412gde190682019-10-24 09:29:26 +030028${docker_number} 6
29${docker_number-1} 5
30${ip_gnb_simu} 10.0.2.15
31${ip_e2adapter} 10.0.2.15
ss412g07ef76d2019-08-12 17:26:40 +030032${url} http://localhost:3800
33${json} {"ranIp": "10.0.2.15","ranPort": 5577,"ranName":"test1"}
ss412gde190682019-10-24 09:29:26 +030034${endcbadjson} {"ranIp": "a","ranPort": 49999,"ranName":"test2"}
Amichai4db397d2019-08-28 19:23:15 +030035${endcjson} {"ranIp": "10.0.2.15","ranPort": 49999,"ranName":"test2"}
36${resetcausejson} {"cause": "misc:not-enough-user-plane-processing-resources"}
ss412gde190682019-10-24 09:29:26 +030037${resetbadcausejson} {"cause": "bla" }
38${resetbad1causejson} {"cause": }
ss412g07ef76d2019-08-12 17:26:40 +030039${header} {"Content-Type": "application/json"}
ss412gb50194c2019-09-11 14:14:56 +030040${docker_command} docker ps | grep Up | wc --lines
ss412g42996b72019-09-10 14:30:26 +030041${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
ss412gde190682019-10-24 09:29:26 +030042#${run_simu_load} docker run -d --name gnbe2_simu -h gnb-sim --env gNBipv4=gnb-sim --env gNBport=5577/sctp --env duration=600000000000 --env indicationReportRate=1000000000 --env indicationInsertRate=0 snapshot.docker.ranco-dev-tools.eastus.cloudapp.azure.com:10001/gnbe2_simu:1.0.6
Amichai4db397d2019-08-28 19:23:15 +030043${stop_simu} docker stop gnbe2_simu
ss412g42996b72019-09-10 14:30:26 +030044${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
ss412gde190682019-10-24 09:29:26 +030045#${run_simu_regular} docker run -d --name gnbe2_simu -h gnb-sim --env gNBipv4=gnb-sim --env gNBport=5577/sctp --env duration=600000000000 --env indicationReportRate=0 --env indicationInsertRate=0 snapshot.docker.ranco-dev-tools.eastus.cloudapp.azure.com:10001/gnbe2_simu:1.0.6
Amichai4db397d2019-08-28 19:23:15 +030046${docker_Remove} docker rm gnbe2_simu
ss412ge7dbffd2019-09-03 18:34:28 +030047${docker_restart} docker restart e2mgr
48${restart_simu} docker restart gnbe2_simu
49${restart_e2adapter} docker restart e2adapter
50${start_e2} docker start e2
51${stop_docker_e2} docker stop e2
ss412gde190682019-10-24 09:29:26 +030052${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
53${dbass_remove} docker rm dbass
54${dbass_stop} docker stop dbass
ss412g42996b72019-09-10 14:30:26 +030055${restart_simu} docker restart gnbe2_simu
56${start_e2} docker start e2
57${stop_docker_e2} docker stop e2
58${Run_Config} docker exec gnbe2_simu pkill gnbe2_simu -INT
ss412gde190682019-10-24 09:29:26 +030059${Save_sim_log} docker logs gnbe2_simu > gnb.log
ss412g42996b72019-09-10 14:30:26 +030060${Save_e2mgr_log} docker logs e2mgr > e2mgr.log
ss412gde190682019-10-24 09:29:26 +030061${Save_rsm_log} docker logs rsm > rsm.log
62${Save_e2adapter_log} docker logs e2adapter > e2adapter.log
63${403_reset_message} "Activity X2_RESET rejected. RAN current state DISCONNECTED does not allow its execution "
64${e2mgr_log_filename} e2mgr.log
65${gnb_log_filename} gnb.log
66${rsm_log_filename} rsm.log
67${e2adapter_log_filename} e2adapter.log
ss412g42996b72019-09-10 14:30:26 +030068
ss412ge7dbffd2019-09-03 18:34:28 +030069
70
71