Summary:
Retrieves Server IDs of the Hardware Node and Virtuozzo Containers that it hosts.
Request specification:
Name |
Min/Max |
Type |
Description |
|
|
|
|
|
|
|
|
|
|
|
The maximum number of the IDs to include in the list. |
|
|
|
Retrieve only the servers of the specified type. The parameter is not currently used. |
|
|
Retrieve only the Containers, which status match one of the statuses specified here. By using this parameter, you can, for example, retrieve only the IDs of the running Containers, or stopped Containers, etc. |
|
|
|
|
|
Returns:
Name |
Min/Max |
Type |
Description |
|
|
A list of Server IDs. |
Description:
To retrieve a list of Virtuozzo Containers from the Hardware Node, use vzaenvm
, which is a Virtuozzo implementation of this interface.
Example:
Retrieving a list of running Virtuozzo Containers.
Input
<packet version="4.0.0" id="2">
<target>vzaenvm</target>
<data>
<vzaenvm>
<get_list>
<status>
<state>6</state>
</status>
</get_list>
</vzaenvm>
</data>
</packet>
Output
<ns1:packet version="4.0.0">
<ns1:origin>vzaenvm</ns1:origin>
<ns1:data>
<ns2:vzaenvm>
<ns2:eid>3e25fee2-1163-4336-9e74-8b8097936d47</ns2:eid>
<ns2:eid>72145bf0-7562-43d4-b707-cc33d37e3f10</ns2:eid>
<ns2:eid>6dbd99dc-f212-45de-a5f4-ddb78a2b5280</ns2:eid>
</ns2:vzaenvm>
</ns1:packet>