2 Documentation Test suite for cleaning up / unregister infrastructure constructs like endpoints for demo-symmetric-chain
4 Library RequestsLibrary
5 Library OperatingSystem
8 Variables ../../../../../variables/Variables.py
9 Resource ../../../../../libraries/Utils.robot
10 Resource ../../../../../libraries/GBP/RestconfUtils.robot
11 Resource ../Variables.robot
13 Suite Setup Create Session session http://${ODL_SYSTEM_IP}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS}
14 Suite Teardown Delete All Sessions
18 Delete Service Function Paths
19 [Documentation] Delete Service Function Paths from ODL
21 Remove All Elements At URI And Verify ${SFP_PATH}
23 Delete Service Function Chains
24 [Documentation] Delete Service Function Chains from ODL
26 Remove All Elements At URI And Verify ${SFC_PATH}
28 Delete Service Functions
29 [Documentation] Delete Service Function from ODL
31 Remove All Elements At URI And Verify ${SF_PATH}
33 Delete Service Function Forwarders
34 [Documentation] Delete Service Function Forwarders from ODL
36 Remove All Elements At URI And Verify ${SFF_PATH}
39 [Documentation] Delete Tenant from ODL
41 Remove All Elements At URI And Verify ${TUNNELS_PATH}
44 [Documentation] Delete Tenant from ODL
46 Remove All Elements At URI And Verify ${TENANT_PATH}
49 [Documentation] Unregister Endpoints Endpoints from ODL
51 RestconfUtils.Unregister Endpoints
53 Delete OVSDB Topology If Present
54 [Documentation] Delete OVSDB topology from ODL
56 ${resp} RequestsLibrary.Get Request session ${TOPOLOGY_PATH}
57 IF ${resp.status_code} == 200
58 Remove All Elements At URI And Verify ${TOPOLOGY_PATH}