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