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 Library RequestsLibrary
6 Library OperatingSystem
9 Variables ../../../../../variables/Variables.py
10 Resource ../../../../../libraries/Utils.robot
11 Resource ../../../../../libraries/GBP/RestconfUtils.robot
12 Resource ../Variables.robot
16 Delete Service Function Paths
17 [Documentation] Delete Service Function Paths from ODL
19 Remove All Elements At URI And Verify ${SFP_PATH}
22 Delete Service Function Chains
23 [Documentation] Delete Service Function Chains from ODL
25 Remove All Elements At URI And Verify ${SFC_PATH}
27 Delete Service Functions
28 [Documentation] Delete Service Function from ODL
30 Remove All Elements At URI And Verify ${SF_PATH}
32 Delete Service Function Forwarders
33 [Documentation] Delete Service Function Forwarders from ODL
35 Remove All Elements At URI And Verify ${SFF_PATH}
38 [Documentation] Delete Tunnels from ODL
40 Remove All Elements At URI And Verify ${TUNNELS_PATH}
43 [Documentation] Delete Tenant from ODL
45 Remove All Elements At URI And Verify ${TENANT_PATH}
48 [Documentation] Unregister Endpoints Endpoints from ODL
50 RestconfUtils.Unregister Endpoints
52 Delete OVSDB Topology If Present
53 [Documentation] Delete OVSDB topology from ODL
55 ${resp} RequestsLibrary.Get session ${TOPOLOGY_PATH}
56 Run Keyword If ${resp.status_code} == 200
57 ... Remove All Elements At URI And Verify ${TOPOLOGY_PATH}