1, Initiate a thread to offload the registration process.
2, Discover AZ and the associated pservers
3, Register AZ
4, Register pservers: hostname =
{cloud-owner}
_
{cloud-region-id}
_
{hypervisor_hostname}
5, create relationship between pservers and AZ
refs:
https://developer.openstack.org/api-ref/compute/?expanded=show-the-detail-of-quota-detail,show-aggregate-details-detail,get-detailed-availability-zone-information-detail
https://developer.openstack.org/api-ref/compute/?expanded=show-the-detail-of-quota-detail,show-aggregate-details-detail,get-detailed-availability-zone-information-detail,list-hypervisors-details-detail
https://nexus.onap.org/service/local/repositories/releases/archive/org/onap/aai/aai-common/aai-schema/1.3.2/aai-schema-1.3.2.jar/!/onap/aai_swagger_html/aai_swagger_v14.html#operation--cloud-infrastructure-cloud-regions-cloud-region--cloud-owner---cloud-region-id--availability-zones-get