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
14 ${GBP_TENENT_ID} f5c7d344-d1c7-4208-8531-2c2693657e12
15 ${TENANT_PATH} /restconf/config/policy:tenants/tenant/${GBP_TENENT_ID}
16 ${TUNNELS_PATH} /restconf/config/opendaylight-inventory:nodes
17 ${OPER_ENDPOINTS_PATH} /restconf/operational/endpoint:endpoints
18 ${UNREG_ENDPOINTS_PATH} /restconf/operations/endpoint:unregister-endpoint
19 ${SF_PATH} /restconf/config/service-function:service-functions
20 ${SFF_PATH} /restconf/config/service-function-forwarder:service-function-forwarders
21 ${SFC_PATH} /restconf/config/service-function-chain:service-function-chains
22 ${SFP_PATH} /restconf/config/service-function-path:service-function-paths
23 ${OPER_NODES} /restconf/operational/opendaylight-inventory:nodes/
26 Delete Service Function Paths
27 [Documentation] Delete Service Function Paths from ODL
29 Remove All Elements At URI And Verify ${SFP_PATH}
31 Delete Service Function Chains
32 [Documentation] Delete Service Function Chains from ODL
34 Remove All Elements At URI And Verify ${SFC_PATH}
36 Delete Service Functions
37 [Documentation] Delete Service Function from ODL
39 Remove All Elements At URI And Verify ${SF_PATH}
41 Delete Service Function Forwarders
42 [Documentation] Delete Service Function Forwarders from ODL
44 Remove All Elements At URI And Verify ${SFF_PATH}
47 [Documentation] Delete Tenant from ODL
49 Remove All Elements At URI And Verify ${TUNNELS_PATH}
52 [Documentation] Delete Tenant from ODL
54 Remove All Elements At URI And Verify ${TENANT_PATH}
57 [Documentation] Unregister Endpoints Endpoints from ODL
59 Unregister Endpoints ${OPER_ENDPOINTS_PATH}