Update Robot Framework format - step 7
[integration/test.git] / csit / suites / groupbasedpolicy / GBP / 3-node / gbp1 / 998_clean_odl.robot
1 *** Settings ***
2 Documentation       Test suite for cleaning up / unregister infrastructure constructs like endpoints for demo-asymmetric-chain
3
4 Library             RequestsLibrary
5 Library             OperatingSystem
6 Library             json
7 Variables           ../../../../../variables/Variables.py
8 Resource            ../../../../../libraries/Utils.robot
9 Resource            ../../../../../libraries/GBP/RestconfUtils.robot
10 Resource            ../Variables.robot
11
12 Suite Setup         Create Session    session    http://${ODL_SYSTEM_IP}:${RESTCONFPORT}    auth=${AUTH}    headers=${HEADERS}
13 Suite Teardown      Delete All Sessions
14
15 Default Tags        single-tenant    teardown    single-tenant-teardown
16
17
18 *** Test Cases ***
19 Delete Tenant
20     [Documentation]    Delete Tenants from ODL
21     Remove All Elements At URI    ${TENANT1_PATH}
22
23 Unregister Endpoints
24     [Documentation]    Unregister Endpoints Endpoints from ODL
25     RestconfUtils.Unregister Endpoints
26
27 Delete Nodes
28     [Documentation]    Delete Nodes from ODL
29     Remove All Elements At URI    ${TUNNELS_PATH}