Add a worker Node

POST https://{{crosswork_ip}}:30603/crosswork/platform/v1/node-manager/vms/add

Use this API Call to add a Worker node to the cluster

Request Body

{"ManagementIPAddress"=>"{{mgmt_IP}}", "DataIPAddress"=>"{{data_IP}}", "NodeType"=>"Worker", "VMName"=>"*****", "CwImage"=>"{{Image_name}}", "Cluster_Id"=>"day0-cluster", "HostDataCentre"=>{"DataCentre_Id"=>"Datacenter", "Host"=>"{{host_IP}}", "Datastore"=>"{{datastore_name}}", "HSDatastore"=>"{{datastore_name}}"}, "Op_Status"=>"Running", "VmSize"=>"moderate"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring
Cache-Controlstring