blob: 4f4ef3f4b086db703303eab4d1bbb840f88e954e [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##############################################################################
18
19
20*** Settings ***
21Resource ../Resource/resource.robot
22Resource ../Resource/Keywords.robot
23Library OperatingSystem
24Library REST ${url}
25
26
27*** Variables ***
28${Run_Config} docker exec gnbe2_simu pkill gnbe2_simu -INT
29${Save_e2_log} docker logs --tail 300 gnbe2_simu > gnb.log
30${Save_e2mgr_log} docker logs --tail 300 e2mgr > e2mgr.log
31
32*** Test Cases ***
33X2 - Setup and Get
34 Post Request setup node b x-2
35 Get Request node b enb test1
36
37
38Run Configuration update
39 Run ${Run_Config}
40 Sleep 1s
41
42Remove log files
43 Remove File ${EXECDIR}/gnb.log
44 Remove File ${EXECDIR}/e2mgr.log
45
46Save logs
47 Sleep 1s
48 Run ${Save_e2_log}
49 Run ${Save_e2mgr_log}
50
51
52
53
54
55
56
57