Closed srikanth-nalam closed 1 year ago
Creation of Execution Modules for Precheck and Remediate Execution modules for ESX.py
Sample output response schema for precheck module :
{ "/SDDC-Datacenter/vlcm_cluster1": { "status": "OK", "summary": "Pre-check completed successfully.", "hosts": { "host-46": { "name": "esxi-6.vrack.vsphere.local", "summary": "Host is in compliance with desired configuration." }, "host-51": { "name": "esxi-7.vrack.vsphere.local", "summary": "Host is in compliance with desired configuration." } }, "successful_hosts": [ "host-46", "host-51" ], "failed_hosts": [], "skipped_hosts": [] } }
Sample output response schema for remediate 👍
{ "/SDDC-Datacenter/vlcm_cluster1": { "hosts": { "host-46": { "name": "esxi-6.vrack.vsphere.local" }, "host-51": { "name": "esxi-7.vrack.vsphere.local" } }, "successful_hosts": [ "host-46", "host-51" ], "failed_hosts": [], "skipped_hosts": [] } }
Creation of Execution Modules for Precheck and Remediate Execution modules for ESX.py
Sample output response schema for precheck module :
{ "/SDDC-Datacenter/vlcm_cluster1": { "status": "OK", "summary": "Pre-check completed successfully.", "hosts": { "host-46": { "name": "esxi-6.vrack.vsphere.local", "summary": "Host is in compliance with desired configuration." }, "host-51": { "name": "esxi-7.vrack.vsphere.local", "summary": "Host is in compliance with desired configuration." } }, "successful_hosts": [ "host-46", "host-51" ], "failed_hosts": [], "skipped_hosts": [] } }
Sample output response schema for remediate 👍
{ "/SDDC-Datacenter/vlcm_cluster1": { "hosts": { "host-46": { "name": "esxi-6.vrack.vsphere.local" }, "host-51": { "name": "esxi-7.vrack.vsphere.local" } }, "successful_hosts": [ "host-46", "host-51" ], "failed_hosts": [], "skipped_hosts": [] } }