Amichai | 4db397d | 2019-08-28 19:23:15 +0300 | [diff] [blame] | 1 | ############################################################################## |
| 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 | ############################################################################## |
nm755n | 15d3982 | 2019-11-28 16:56:00 +0000 | [diff] [blame] | 18 | # |
| 19 | # This source code is part of the near-RT RIC (RAN Intelligent Controller) |
| 20 | # platform project (RICP). |
| 21 | # |
Amichai | 4db397d | 2019-08-28 19:23:15 +0300 | [diff] [blame] | 22 | |
ss412g | 07ef76d | 2019-08-12 17:26:40 +0300 | [diff] [blame] | 23 | *** Settings *** |
| 24 | Documentation Resource file |
| 25 | |
| 26 | |
| 27 | *** Variables *** |
ec472j | 0995008 | 2020-04-08 16:44:48 +0300 | [diff] [blame^] | 28 | ${docker_number} 5 |
| 29 | ${docker_number-1} 4 |
ss412g | 07ef76d | 2019-08-12 17:26:40 +0300 | [diff] [blame] | 30 | ${url} http://localhost:3800 |
ec472j | 0995008 | 2020-04-08 16:44:48 +0300 | [diff] [blame^] | 31 | ${ranName} gnb:208-092-303030 |
| 32 | ${getNodeb} /v1/nodeb/${ranName} |
| 33 | ${E2tInstanceAddress} 127.0.0.1:38000 |
ss412g | 07ef76d | 2019-08-12 17:26:40 +0300 | [diff] [blame] | 34 | ${header} {"Content-Type": "application/json"} |
ss412g | b50194c | 2019-09-11 14:14:56 +0300 | [diff] [blame] | 35 | ${docker_command} docker ps | grep Up | wc --lines |
ec472j | 0995008 | 2020-04-08 16:44:48 +0300 | [diff] [blame^] | 36 | ${stop_simu} docker stop gnbe2_oran_simu |
| 37 | ${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 |
| 38 | ${docker_Remove} docker rm gnbe2_oran_simu |
ss412g | e7dbffd | 2019-09-03 18:34:28 +0300 | [diff] [blame] | 39 | ${docker_restart} docker restart e2mgr |
ec472j | 0995008 | 2020-04-08 16:44:48 +0300 | [diff] [blame^] | 40 | ${restart_simu} docker restart gnbe2_oran_simu |
ss412g | e7dbffd | 2019-09-03 18:34:28 +0300 | [diff] [blame] | 41 | ${start_e2} docker start e2 |
ss412g | efcb452 | 2019-12-02 16:59:19 +0200 | [diff] [blame] | 42 | ${stop_e2} docker stop e2 |
ss412g | de19068 | 2019-10-24 09:29:26 +0300 | [diff] [blame] | 43 | ${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 |
| 44 | ${dbass_remove} docker rm dbass |
| 45 | ${dbass_stop} docker stop dbass |
ec472j | 0995008 | 2020-04-08 16:44:48 +0300 | [diff] [blame^] | 46 | ${restart_simu} docker restart gnbe2_oran_simu |
ss412g | 42996b7 | 2019-09-10 14:30:26 +0300 | [diff] [blame] | 47 | ${stop_docker_e2} docker stop e2 |
Amichai | 63b5d92 | 2019-12-26 15:22:55 +0200 | [diff] [blame] | 48 | ${stop_routingmanager_sim} docker stop rm_sim |
| 49 | ${start_routingmanager_sim} docker start rm_sim |
ss412g | e7dbffd | 2019-09-03 18:34:28 +0300 | [diff] [blame] | 50 | |
| 51 | |
| 52 | |