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 | ef8e7b2 | 2020-07-14 21:54:24 +0000 | [diff] [blame^] | 28 | |
| 29 | #REST |
ss412g | a07b859 | 2020-06-16 21:51:33 +0300 | [diff] [blame] | 30 | ${ranName} gnb_208_092_303030 |
ec472j | 0995008 | 2020-04-08 16:44:48 +0300 | [diff] [blame] | 31 | ${getNodeb} /v1/nodeb/${ranName} |
ss412g | a07b859 | 2020-06-16 21:51:33 +0300 | [diff] [blame] | 32 | ${set_general_configuration} /v1/nodeb/parameters |
| 33 | ${set_general_configuration_body} {"enableRic":false} |
ec472j | 09288ab | 2020-04-23 13:13:01 +0300 | [diff] [blame] | 34 | ${update_gnb_url} /v1/nodeb/${ranName}/update |
| 35 | ${update_gnb_body} {"servedNrCells":[{"servedNrCellInformation":{"cellId":"abcd","choiceNrMode":{"fdd":{}},"nrMode":1,"nrPci":1,"servedPlmns":["whatever"]},"nrNeighbourInfos":[{"nrCgi":"one","choiceNrMode":{"fdd":{}},"nrMode":1,"nrPci":1}]}]} |
| 36 | ${update_gnb_body_notvalid} {"servedNrCells":[{"servedNrCellInformation":{"choiceNrMode":{"fdd":{}},"nrMode":1,"nrPci":1,"servedPlmns":["whatever"]},"nrNeighbourInfos":[{"nrCgi":"whatever","choiceNrMode":{"fdd":{}},"nrMode":1,"nrPci":1}]}]} |
ss412g | 07ef76d | 2019-08-12 17:26:40 +0300 | [diff] [blame] | 37 | ${header} {"Content-Type": "application/json"} |
ss412g | ef8e7b2 | 2020-07-14 21:54:24 +0000 | [diff] [blame^] | 38 | |
| 39 | #K8S |
| 40 | ${pods_number} 5 |
| 41 | ${pods_number-1} 4 |
| 42 | ${verify_all_pods_are_ready_command} kubectl -n ricplt get pods | grep -E 'dbaas|e2mgr|rtmgr|gnbe2|e2term' | grep Running | grep 1/1 |wc --lines |
| 43 | ${stop_simu} kubectl scale --replicas=0 deploy/oran-simulator-gnbe2-oran-simu -n=ricplt |
| 44 | ${start_simu} kubectl scale --replicas=1 deploy/oran-simulator-gnbe2-oran-simu -n=ricplt |
| 45 | ${start_e2mgr} kubectl scale --replicas=1 deploy/deployment-ricplt-e2mgr -n=ricplt |
| 46 | ${stop_e2mgr} kubectl scale --replicas=0 deploy/deployment-ricplt-e2mgr -n=ricplt |
| 47 | ${start_e2} kubectl scale --replicas=1 deploy/deployment-ricplt-e2term-alpha -n=ricplt |
| 48 | ${stop_e2} kubectl scale --replicas=0 deploy/deployment-ricplt-e2term-alpha -n=ricplt |
| 49 | ${dbass_start} kubectl -n ricplt scale statefulsets statefulset-ricplt-dbaas-server --replicas=1 |
| 50 | ${dbass_stop} kubectl -n ricplt scale statefulsets statefulset-ricplt-dbaas-server --replicas=0 |
| 51 | ${stop_routing_manager} kubectl scale --replicas=0 deploy/deployment-ricplt-rtmgr -n=ricplt |
| 52 | ${start_routing_manager} kubectl scale --replicas=1 deploy/deployment-ricplt-rtmgr -n=ricplt |
| 53 | ${gnbe2_sim_pod} kubectl -n ricplt get pods |grep gnbe2 | awk '{print $1}' |
| 54 | ${e2mgr_pod} kubectl -n ricplt get pods |grep e2mgr | awk '{print $1}' |
| 55 | ${e2term_pod} kubectl -n ricplt get pods |grep e2term | awk '{print $1}' |
| 56 | ${rtmgr_pod} kubectl -n ricplt get pods |grep rtmgr | awk '{print $1}' |
ss412g | e7dbffd | 2019-09-03 18:34:28 +0300 | [diff] [blame] | 57 | |
| 58 | |
ss412g | ef8e7b2 | 2020-07-14 21:54:24 +0000 | [diff] [blame^] | 59 | #Logs |
| 60 | ${E2_INIT_message_type} MType: 1100 |
| 61 | ${Setup_failure_message_type} MType: 12003 |
| 62 | ${first_retry_to_retrieve_from_db} RnibDataService.retry - retrying 1 GetNodeb |
| 63 | ${third_retry_to_retrieve_from_db} RnibDataService.retry - after 3 attempts of GetNodeb |
| 64 | ${RIC_RES_STATUS_REQ_message_type_successfully_sent} Message type: 10090 - Successfully sent RMR message |
| 65 | ${E2_TERM_KEEP_ALIVE_REQ_message_type_successfully_sent} Message type: 1101 - Successfully sent RMR message |
| 66 | ${save_general_configuration} SetGeneralConfigurationHandler.Handle - save general configuration to rnib: {EnableRic:false} |
| 67 | ${set_and_publish_disconnect} RnibDataService.UpdateNodebInfoOnConnectionStatusInversion - stateChangeMessageChannel: RAN_CONNECTION_STATUS_CHANGE, event: gnb_208_092_303030_DISCONNECTED |
ss412g | e7dbffd | 2019-09-03 18:34:28 +0300 | [diff] [blame] | 68 | |