...
- Conform to the APPC LCM Response format per the APPC LCM API Guide.
- Return Failed status code as well as status code message (APPC LCM Response includes a “status” section with subsections of “code” and “message.”
- Include the Failed VM(s)/VNFC(s) details in the Response Payload.
VM Level HealthCheck
Request:
...
- Will conform to the APPC LCM VM Level Request format per the APPC LCM API Guide
- I.e. vserver-id element is included action-identifier section of the request, vm-id and identity-url are included in the request payload.
...
- Obtain Cloud Provider details.
...
- Connect to the Cloud Provider for each VM/VNFC
- I.e. for OpenStack Compute API:
- Show Server Details.
- /servers/{server_id} /“OS-EXT-STS:vm_state.”
- I.e. for OpenStack Compute API:
- IF VM/VNFC is in a failed state, return a failure along with the failure reason in the HealthCheck response payload.
- IF VM/VNFC is in a failed state, return a failure along with the failure reason in the HealthCheck response payload.
Response:
...
- Will conform to the APPC LCM VM Level Response format per the APPC LCM API Guide
- Return Failed status code as well as status code message (APPC LCM Response includes a “status” section with subsections of “code” and “message.”
- Include the Failed VM/VNFC details in the Response Payload.
References
- ONAP APPC LCM Guide
- ONAP APPC Testing Request Samples
- ONAP APPC Ansible Adapter
- ONAP APPC Chef Adapter
- OpenStack Compute API Server Show Server Details
- ONAP VNF Provider Guidelines
- ONAP Control Loop Subcommittee
...