Options:
name
(String - alternativedomName
,domainName
) - Required: The name of the DomU, whose id you want to know
Return value:
- (Number) id of the DomU
Options:
id
(String - alternativedomId
,domainId
) - Required: The id of the DomU, whose name you want to know
Return value:
- (String) name of the DomU
Options:
- none
Return value:
- (Object) Output of
xl list -l
. It's a bit strange structure, but you will get used to it 😄
Options:
name
(String - alternativedomName
,domainName
) - Required: The name of the DomU to shutdown (use this orid
, not both)id
(String - alternativedomId
,domainId
) - Required: The id of the DomU to shutdown (use this orname
, not both)all
(Boolean) - Shuts down all VMs on this Xen host. This will only work if the granted filter from the constructor matches all running VMs (checked first via the list command). If you set this to true you can omit the requiredname
andid
property.
Return value:
- (String) Output of
xl shutdown