2 Documentation Test suite for cleaning up / unregister infrastructure constructs like endpoints for demo-symmetric-chain
3 Suite Setup Create Session session http://${ODL_SYSTEM_IP}:${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
15 Delete Service Function Paths
16 [Documentation] Delete Service Function Paths from ODL
18 Remove All Elements At URI And Verify ${SFP_PATH}
20 Delete Service Function Chains
21 [Documentation] Delete Service Function Chains from ODL
23 Remove All Elements At URI And Verify ${SFC_PATH}
25 Delete Service Functions
26 [Documentation] Delete Service Function from ODL
28 Remove All Elements At URI And Verify ${SF_PATH}
30 Delete Service Function Forwarders
31 [Documentation] Delete Service Function Forwarders from ODL
33 Remove All Elements At URI And Verify ${SFF_PATH}
36 [Documentation] Delete Tenant from ODL
38 Remove All Elements At URI And Verify ${TUNNELS_PATH}
41 [Documentation] Delete Tenant from ODL
43 Remove All Elements At URI And Verify ${TENANT_PATH}
46 [Documentation] Unregister Endpoints Endpoints from ODL
48 RestconfUtils.Unregister Endpoints
50 Delete OVSDB Topology If Present
51 [Documentation] Delete OVSDB topology from ODL
53 ${resp} RequestsLibrary.Get Request session ${TOPOLOGY_PATH}
54 Run Keyword If ${resp.status_code} == 200 Remove All Elements At URI And Verify ${TOPOLOGY_PATH}