Search virtual host
This topic lists the XML samples and node element descriptions required for configuring the request and response of the VMware_Integration module for searching a virtual host.
The following table lists the workflow names used for searching a virtual host in the VMware and BMC Cloud Lifecycle Management integration:
Workflow type | Name |
|---|---|
CLM_Integration | Virtual Host Search |
VMware_Integration | Virtual Host Search Implementation |
Request to VMware_Integration module
All of the following node elements are required for configuring the request:
Name | Description | Sample values |
|---|---|---|
<server-name> | Specifies the management server to be used for managing the virtual clusters and hosts | MICRO-CSM-VC01.bmc.com |
<cluster-name> | Specifies the cluster, whose virtual hosts are to be searched | field-cluster |
Response from VMware_Integration module
XML sample for configuring the response
<virtual-host>
<server-name>MICRO-CSM-VC01.bmc.com</server-name>
<cluster-name>field-cluster</cluster-name>
<name>pe-pun-asp-qa22.bmc.com</name>
<total-memory>32755</total-memory>
<cpu-clock-speed>2400</cpu-clock-speed>
<total-cpus>4</total-cpus>
<switches>
<switch>
<switch-name>vSwitch0</switch-name>
<switch-type>EXTERNAL_CLOUD_SIMULATED_SWITCH</switch-type>
</switch>
</switches>
</virtual-host>
</virtual-hosts>
All of the following node elements are required for configuring the response:
Name | Description | Sample values |
|---|---|---|
<virtual-hosts> | Represents a list of virtual hosts to be returned | None |
<virtual-host> | Represents one valid virtual host entry | None |
<server-name> | Specifies the vCenter server name to which the cluster belongs | MICRO-CSM-VC01.bmc.com |
<cluster-name> | Specifies the name of the virtual cluster | field-cluster |
<name> | Specifies the name of the virtual host | pe-pun-asp-qa22.bmc.com |
<total-memory> | Specifies the total memory, in MB, of all hosts within the virtual cluster | 32755 |
<cpu-clock-speed> | Specifies the speed of the CPU cores, in MHz | 2400 |
<total-cpus> | Specifies the total number of CPU resources of all hosts | 4 |
<switches> | Defines the switches within the cluster | None |
<switch> | Represents one switch entry | None |
<switch-name> | Specifies the name of the switch | vSwitch0 |
<switch-type> | Specifies the type of the switch Valid values:
| EXTERNAL_CLOUD_SIMULATED_SWITCH |
If an error occurs during execution, error XML code is returned in the following format:
<error>Error Message</error>
</value>