2 Documentation Test suite for cleaning up / unregister infrastructure constructs like endpoints for demo-symmetric-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}
21 Delete Service Function Chains
22 [Documentation] Delete Service Function Chains from ODL
24 Remove All Elements At URI And Verify ${SFC_PATH}
26 Delete Service Functions
27 [Documentation] Delete Service Function from ODL
29 Remove All Elements At URI And Verify ${SF_PATH}
31 Delete Service Function Forwarders
32 [Documentation] Delete Service Function Forwarders from ODL
34 Remove All Elements At URI And Verify ${SFF_PATH}
37 [Documentation] Delete Tenant from ODL
39 Remove All Elements At URI And Verify ${TUNNELS_PATH}
42 [Documentation] Delete Tenant from ODL
44 Remove All Elements At URI And Verify ${TENANT_PATH}
47 [Documentation] Unregister Endpoints Endpoints from ODL
49 RestconfUtils.Unregister Endpoints
51 Delete OVSDB Topology If Present
52 [Documentation] Delete OVSDB topology from ODL
54 ${resp} RequestsLibrary.Get Request session ${TOPOLOGY_PATH}
55 Run Keyword If ${resp.status_code} == 200
56 ... Remove All Elements At URI And Verify ${TOPOLOGY_PATH}