blob: 29e15f87fd004b558f7b0c5b8c4bac41dc21c7cb [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 ***
ec472j09950082020-04-08 16:44:48 +030028${docker_number} 5
29${docker_number-1} 4
ss412g07ef76d2019-08-12 17:26:40 +030030${url} http://localhost:3800
ec472j09950082020-04-08 16:44:48 +030031${ranName} gnb:208-092-303030
32${getNodeb} /v1/nodeb/${ranName}
ec472j09288ab2020-04-23 13:13:01 +030033${update_gnb_url} /v1/nodeb/${ranName}/update
34${update_gnb_body} {"servedNrCells":[{"servedNrCellInformation":{"cellId":"abcd","choiceNrMode":{"fdd":{}},"nrMode":1,"nrPci":1,"servedPlmns":["whatever"]},"nrNeighbourInfos":[{"nrCgi":"one","choiceNrMode":{"fdd":{}},"nrMode":1,"nrPci":1}]}]}
35${update_gnb_body_notvalid} {"servedNrCells":[{"servedNrCellInformation":{"choiceNrMode":{"fdd":{}},"nrMode":1,"nrPci":1,"servedPlmns":["whatever"]},"nrNeighbourInfos":[{"nrCgi":"whatever","choiceNrMode":{"fdd":{}},"nrMode":1,"nrPci":1}]}]}
36${E2tInstanceAddress} 10.0.2.15:38000
ss412g07ef76d2019-08-12 17:26:40 +030037${header} {"Content-Type": "application/json"}
ss412gb50194c2019-09-11 14:14:56 +030038${docker_command} docker ps | grep Up | wc --lines
ec472j09950082020-04-08 16:44:48 +030039${stop_simu} docker stop gnbe2_oran_simu
40${run_simu_regular} docker run -d --name gnbe2_oran_simu --net host --env gNBipv4=10.0.2.15 --env gNBport=5577 --env ricIpv4=10.0.2.15 --env ricPort=36422 --env nbue=0 snapshot.docker.ranco-dev-tools.eastus.cloudapp.azure.com:10001/gnbe2_oran_simu:3.2-32
41${docker_Remove} docker rm gnbe2_oran_simu
ss412ge7dbffd2019-09-03 18:34:28 +030042${docker_restart} docker restart e2mgr
ec472j09950082020-04-08 16:44:48 +030043${restart_simu} docker restart gnbe2_oran_simu
ss412ge7dbffd2019-09-03 18:34:28 +030044${start_e2} docker start e2
ss412gefcb4522019-12-02 16:59:19 +020045${stop_e2} docker stop e2
ss412gde190682019-10-24 09:29:26 +030046${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
47${dbass_remove} docker rm dbass
48${dbass_stop} docker stop dbass
ec472j09950082020-04-08 16:44:48 +030049${restart_simu} docker restart gnbe2_oran_simu
ss412g42996b72019-09-10 14:30:26 +030050${stop_docker_e2} docker stop e2
Amichai63b5d922019-12-26 15:22:55 +020051${stop_routingmanager_sim} docker stop rm_sim
52${start_routingmanager_sim} docker start rm_sim
ss412ge7dbffd2019-09-03 18:34:28 +030053
54
55