...
Test Case Id | Description | Pre-conditions | Test Steps | Expected Results | CSIT/External Lab | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|
1 | Perform healthcheck for the Policy using Healthcheck API
|
| API – healthcheck Method - GET Endpoint: https://<host>:6969/policy/pdpd/v1/engine/healthcheck (legacy policy system healthcheck with new REST API format) | All the policy components should return health status as “true” | CSIT - DONE External Lab - DONE | ||||||
2 | Import/Load Use case template for the following use cases (VoLTE, vCPE, vFW, vDNS) | Policy components should be up and running | API – policyEngineImport Method – POST Endpoint: https://<host>:8081/pdp/policyEngineImport (legacy API) | Policy service models should be imported for the specified use cases. We should be able to create policy from here. | CSIT | ||||||
3 | Create config Policy for the following use cases
| Policy components up and running | API – CreateConfig Method – PUT Endpoint: https://<host>:8081/pdp/api/createPolicy (legacy API) | Config Policy should be created in Policy Engine (PAP) | CSIT - DONE | ||||||
4 | Create and Push vPG vFW SDNC naming policy | Policy components up and running | Naming policy should be created in Policy Engine (PAP) | CSIT - DONE | 6 | Push Config policy to the PDP Engines for the following use cases
| Policy components up and running | API - pushPolicy API - createPolicy Method - PUT Endpoint: https:// <host>:8081/pdp/api/ | pushPolicy(legacy APIcreatePolicy | Naming policy should be created in Policy Engine | CSIT - DONE |
5 | Create and Push vPG SDNC naming policy | Policy components up and running | API - createPolicy Method - PUT Endpoint: https:// <host>:8081/pdp/api/createPolicy | Naming policy should be created in Policy Engine | CSIT - DONE | ||||||
6 | Push Config policy to the PDP Engines for the following use cases
| Policy components up and running | API - pushPolicy Method - PUT Endpoint: https:// <host>:8081/pdp/api/pushPolicy (legacy API) | Config Policy should be pushed to the PDP group | CSIT - DONE External Lab - Done | ||||||
8 | Create and Push Operational policy for the following use cases
| Policy components up and running | API - createPolicy Method – vFW use case
| Policy components up and running | API - createPolicy Method – PUT Endpoint: https://<host>:8081/pdp/api/createPolicy (legacy API) API - pushPolicy Method - PUT Endpoint: https:// <host>:8081/pdp/api/createPolicypushPolicy (legacy legac API) | Operational Policy should be created in Policy Engine (PAP) | CSIT - DONE | ||||
9 | Create and Push operational Policy to the PDP Engines for each vDNS use case vFW
| Policy components up and running API - pushPolicy Method - PUT Endpoint: https:// <host>:8081/pdp/api/pushPolicy (legacy API) | Operational Policy should be pushed to the PDP group | CSIT - DONE | |||||||
10 | Retrieve the configs for the vFW use case | Policy components up and running | API – getConfig Method – POST Endpoint: https://<host>:8081/pdp/api/getConfig (legacy API) | Both Config and Operational Policies configured should be retrieved successfully | CSIT - DONE | ||||||
11 | Retrieve the configs for the vDNS use case | Policy components up and running | API – getConfig Method – POST Endpoint: https://<host>:8081/pdp/api/getConfig (legacy API) | Both Config and Operational Policies configured should be retrieved successfully | CSIT - DONE | ||||||
12 | Retrieve the configs for the vCPE use case | Policy components up and running | API – getConfig Method – POST Endpoint: https://<host>:8081/pdp/api/getConfig (legacy API) | Both Config and Operational Policies configured should be retrieved successfully | CSIT - DONE | ||||||
13 | List Configuration Policies | List all configuration policies | API – listPolicy Method – POST Endpoint: https://<host>:8081/pdp/api/listPolicy | Should list all configuration policies | CSIT-Done | ||||||
14 | Get ONAP Optimization Framework Policy for Hardware Platform Awareness(HPA) | Retrieve OOF Policy for HPA | API – getConfig Method – POST Endpoint: https://<host>:8081/pdp/api/getConfig | Should return the HPA policy. | CSIT-Done |
...