e2188e1fde47380234e7682df4aa59958e26abfa
[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 Default Tags      single-tenant    teardown    single-tenant-teardown
4 Suite Setup       Create Session    session    http://${CONTROLLER}:${RESTCONFPORT}    auth=${AUTH}    headers=${HEADERS}
5 Suite Teardown    Delete All Sessions
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
15 *** Variables ***
16
17 *** Test Cases ***
18
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}