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 *** |
ss412g | efcb452 | 2019-12-02 16:59:19 +0200 | [diff] [blame] | 28 | ${docker_number} 8 |
| 29 | ${docker_number-1} 7 |
ss412g | de19068 | 2019-10-24 09:29:26 +0300 | [diff] [blame] | 30 | ${ip_gnb_simu} 10.0.2.15 |
| 31 | ${ip_e2adapter} 10.0.2.15 |
ss412g | 07ef76d | 2019-08-12 17:26:40 +0300 | [diff] [blame] | 32 | ${url} http://localhost:3800 |
ss412g | efcb452 | 2019-12-02 16:59:19 +0200 | [diff] [blame] | 33 | ${url_rsm} http://localhost:4800 |
| 34 | ${json_setup_rsm_tests} {"ranIp": "10.0.2.15","ranPort": 36422,"ranName":"test1"} |
ss412g | 07ef76d | 2019-08-12 17:26:40 +0300 | [diff] [blame] | 35 | ${json} {"ranIp": "10.0.2.15","ranPort": 5577,"ranName":"test1"} |
ss412g | de19068 | 2019-10-24 09:29:26 +0300 | [diff] [blame] | 36 | ${endcbadjson} {"ranIp": "a","ranPort": 49999,"ranName":"test2"} |
Amichai | 4db397d | 2019-08-28 19:23:15 +0300 | [diff] [blame] | 37 | ${endcjson} {"ranIp": "10.0.2.15","ranPort": 49999,"ranName":"test2"} |
| 38 | ${resetcausejson} {"cause": "misc:not-enough-user-plane-processing-resources"} |
ss412g | de19068 | 2019-10-24 09:29:26 +0300 | [diff] [blame] | 39 | ${resetbadcausejson} {"cause": "bla" } |
| 40 | ${resetbad1causejson} {"cause": } |
ss412g | efcb452 | 2019-12-02 16:59:19 +0200 | [diff] [blame] | 41 | ${resource_status_start_json} {"enableResourceStatus":true} |
| 42 | ${resource_status_stop_json} {"enableResourceStatus":false} |
ss412g | 07ef76d | 2019-08-12 17:26:40 +0300 | [diff] [blame] | 43 | ${header} {"Content-Type": "application/json"} |
ss412g | b50194c | 2019-09-11 14:14:56 +0300 | [diff] [blame] | 44 | ${docker_command} docker ps | grep Up | wc --lines |
ss412g | 42996b7 | 2019-09-10 14:30:26 +0300 | [diff] [blame] | 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 |
ss412g | efcb452 | 2019-12-02 16:59:19 +0200 | [diff] [blame] | 46 | ${stop_e2e_simu} docker stop e2e_simu |
Amichai | 4db397d | 2019-08-28 19:23:15 +0300 | [diff] [blame] | 47 | ${stop_simu} docker stop gnbe2_simu |
ss412g | 42996b7 | 2019-09-10 14:30:26 +0300 | [diff] [blame] | 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 |
ss412g | efcb452 | 2019-12-02 16:59:19 +0200 | [diff] [blame] | 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" |
Amichai | 4db397d | 2019-08-28 19:23:15 +0300 | [diff] [blame] | 50 | ${docker_Remove} docker rm gnbe2_simu |
ss412g | efcb452 | 2019-12-02 16:59:19 +0200 | [diff] [blame] | 51 | ${docker_remove_e2e_simu} docker rm e2e_simu |
ss412g | e7dbffd | 2019-09-03 18:34:28 +0300 | [diff] [blame] | 52 | ${docker_restart} docker restart e2mgr |
| 53 | ${restart_simu} docker restart gnbe2_simu |
ss412g | efcb452 | 2019-12-02 16:59:19 +0200 | [diff] [blame] | 54 | ${restart_e2e_simu} docker restart e2e_simu |
ss412g | e7dbffd | 2019-09-03 18:34:28 +0300 | [diff] [blame] | 55 | ${restart_e2adapter} docker restart e2adapter |
ss412g | efcb452 | 2019-12-02 16:59:19 +0200 | [diff] [blame] | 56 | ${restart_rsm} docker restart rsm |
ss412g | e7dbffd | 2019-09-03 18:34:28 +0300 | [diff] [blame] | 57 | ${start_e2} docker start e2 |
ss412g | efcb452 | 2019-12-02 16:59:19 +0200 | [diff] [blame] | 58 | ${stop_e2} docker stop e2 |
ss412g | de19068 | 2019-10-24 09:29:26 +0300 | [diff] [blame] | 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 |
ss412g | 42996b7 | 2019-09-10 14:30:26 +0300 | [diff] [blame] | 62 | ${restart_simu} docker restart gnbe2_simu |
ss412g | 42996b7 | 2019-09-10 14:30:26 +0300 | [diff] [blame] | 63 | ${stop_docker_e2} docker stop e2 |
ss412g | efcb452 | 2019-12-02 16:59:19 +0200 | [diff] [blame] | 64 | ${restart_docker_sim} docker restart gnbe2_simu |
ss412g | 42996b7 | 2019-09-10 14:30:26 +0300 | [diff] [blame] | 65 | ${Run_Config} docker exec gnbe2_simu pkill gnbe2_simu -INT |
ss412g | de19068 | 2019-10-24 09:29:26 +0300 | [diff] [blame] | 66 | ${403_reset_message} "Activity X2_RESET rejected. RAN current state DISCONNECTED does not allow its execution " |
ss412g | 42996b7 | 2019-09-10 14:30:26 +0300 | [diff] [blame] | 67 | |
ss412g | e7dbffd | 2019-09-03 18:34:28 +0300 | [diff] [blame] | 68 | |
| 69 | |
| 70 | |