X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=Automation%2FTests%2FResource%2Fresource.robot;h=2110d8d78a095c66961113dfddb76114760a7cd1;hb=4db397dbfa07d202f1a7134e1a7a52b8fb3b5d8a;hp=45d1ee85b298e0afba2a28585c951219cd2e5a01;hpb=264731981e4a52e876c5b484e35032ada6559ac6;p=ric-plt%2Fe2mgr.git diff --git a/Automation/Tests/Resource/resource.robot b/Automation/Tests/Resource/resource.robot old mode 100644 new mode 100755 index 45d1ee8..2110d8d --- a/Automation/Tests/Resource/resource.robot +++ b/Automation/Tests/Resource/resource.robot @@ -1,3 +1,21 @@ +############################################################################## +# +# Copyright (c) 2019 AT&T Intellectual Property. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +############################################################################## + *** Settings *** Documentation Resource file @@ -5,6 +23,10 @@ Documentation Resource file *** Variables *** ${url} http://localhost:3800 ${json} {"ranIp": "10.0.2.15","ranPort": 5577,"ranName":"test1"} +${endcjson} {"ranIp": "10.0.2.15","ranPort": 49999,"ranName":"test2"} +${resetcausejson} {"cause": "misc:not-enough-user-plane-processing-resources"} ${header} {"Content-Type": "application/json"} -${run_script} /home/ubuntu/run.sh ${docker_command} docker ps | grep 1.0 | wc --lines +${run_simu} 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_sim:1.0.5 +${stop_simu} docker stop gnbe2_simu +${docker_Remove} docker rm gnbe2_simu