saltstack / salt-ext-modules-vmware

Salt Extension Modules for VMware
Apache License 2.0
20 stars 36 forks source link

Sri/ucm 146 #390

Closed srikanth-nalam closed 1 year ago

srikanth-nalam commented 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": [] } }