In my last post, I documented the HCX installation workflow for VCD based clouds. In this post, I am going to show how to do the same via API.
Once HCX Cloud Manager has been deployed and boots up, you can make use of the below API to integrate VCD into HCX.
1: Import VCD Certificate
1 2 3 4 5 6 7 |
Method: POST URL: https://<hcx-cloud-fqdn>:9443/api/admin/certificates Headers: Accept: application/json Request Payload: Body: form-data, Key:url, value: 'https://vcd01.vstellar.local' |
Response Output
2: Configure VCD
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
Method: POST URL: https://<hcx-cloud-fqdn>:9443/api/admin/global/config/vcd/ Headers: Accept: application/json, Content-Type: application/json Request Payload: { "data":{ "items":[ { "config":{ "url":"https://vcd01.vstellar.local" |