FIX: Remove old VPP Restart sequence
[csit.git] / tests / honeycomb / func / __init__.robot
1 # Copyright (c) 2017 Cisco and/or its affiliates.
2 # Licensed under the Apache License, Version 2.0 (the "License");
3 # you may not use this file except in compliance with the License.
4 # You may obtain a copy of the License at:
5 #
6 #     http://www.apache.org/licenses/LICENSE-2.0
7 #
8 # Unless required by applicable law or agreed to in writing, software
9 # distributed under the License is distributed on an "AS IS" BASIS,
10 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11 # See the License for the specific language governing permissions and
12 # limitations under the License.
13
14 *** Variables***
15 # Honeycomb node to run tests on.
16 | ${node}= | ${nodes['DUT1']}
17
18 *** Settings ***
19 | Library | resources.libraries.python.SetupFramework
20 | Library | resources.libraries.python.SetupFramework.CleanupFramework
21 | Library | resources/libraries/python/honeycomb/HcPersistence.py
22 | Resource | resources/libraries/robot/shared/default.robot
23 | Resource | resources/libraries/robot/shared/interfaces.robot
24 | Resource | resources/libraries/robot/shared/default.robot
25 | Resource | resources/libraries/robot/honeycomb/honeycomb.robot
26 | ...
27 | Suite Setup | Run Keywords | Setup Framework | ${nodes} | AND
28 | ... | Restart Vpp Service On All Duts | ${nodes} | AND
29 | ... | Verify Vpp On All Duts | ${nodes} | AND
30 | ... | VPP Enable Traces On All Duts | ${nodes} | AND
31 | ... | Update All Interface Data On All Nodes | ${nodes} | AND
32 | ... | Set Global Variable | ${node} | AND
33 | ... | Stop Honeycomb service on DUTs | ${node} | AND
34 | ... | Clear Honeycomb Log | ${node}
35 | ...
36 | Suite Teardown | Run Keywords | Archive Honeycomb logs | ${node} | AND
37 | ... | Cleanup Framework | ${nodes}