Assign VMrack To Server Pool operation
The Assign VMrack To Server Pool operation assigns a VMRack to a server pool.
The following table describes the <items> XML and request elements for the Assign VMrack To Server Pool operation.
Adapter request elements for the Assign VMrack To Server Pool operation
The following figure illustrates a sample adapter request for the Assign VMrack To Server Pool operation:
Sample adapter request for the Assign VMrack To Server Pool operation
<dell-aim-request>
<operation-name>assign-vmrack-to-server-pool</operation-name>
<arguments>
<targets>
<target>
<host>scalent-controller</host>
<user-name>username</user-name>
<password encryption-type="Base64">cGFzc3dvcmQ=</password>
<protocol>https</protocol>
<port>443</port>
<use-ssl-certificate>true</use-ssl-certificate>
<allow-unsigned-certificate>true</allow-unsigned-certificate>
<install-certificate>true</install-certificate>
<passphrase>changeit</passphrase>
</target>
</targets>
<target>config1</target>
<vmrack-id>VMR.10.1</vmrack-id>
<server-pool-id>SP_X86_2_CPU_SERVER</server-pool-id>
<assignment-priority>1</assignment-priority>
</arguments>
</dell-aim-request>
<operation-name>assign-vmrack-to-server-pool</operation-name>
<arguments>
<targets>
<target>
<host>scalent-controller</host>
<user-name>username</user-name>
<password encryption-type="Base64">cGFzc3dvcmQ=</password>
<protocol>https</protocol>
<port>443</port>
<use-ssl-certificate>true</use-ssl-certificate>
<allow-unsigned-certificate>true</allow-unsigned-certificate>
<install-certificate>true</install-certificate>
<passphrase>changeit</passphrase>
</target>
</targets>
<target>config1</target>
<vmrack-id>VMR.10.1</vmrack-id>
<server-pool-id>SP_X86_2_CPU_SERVER</server-pool-id>
<assignment-priority>1</assignment-priority>
</arguments>
</dell-aim-request>
The following figure illustrates the adapter response for the sample request:
Sample adapter response for the Assign VMrack To Server Pool operation
<dell-aim-response>
<metadata>
<status>success</status>
<response-count>1</response-count>
</metadata>
<responses>
<response>
<metadata>
<target>scalent-controller</target>
<status>success</status>
<count>1</count>
</metadata>
<output>
<message>VMRack with ID - "VMR.10.1" assigned to server pool with
ID - "SP_X86_2_CPU_SERVER" successfully.</message>
</output>
</response>
</responses>
</dell-aim-response>
<metadata>
<status>success</status>
<response-count>1</response-count>
</metadata>
<responses>
<response>
<metadata>
<target>scalent-controller</target>
<status>success</status>
<count>1</count>
</metadata>
<output>
<message>VMRack with ID - "VMR.10.1" assigned to server pool with
ID - "SP_X86_2_CPU_SERVER" successfully.</message>
</output>
</response>
</responses>
</dell-aim-response>
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*