Page tree
Skip to end of metadata
Go to start of metadata

Reboot virtual server

Function .............. : Reboot virtual server
Action ................ : reboot
Method ................ : GET or POST

Returned values ....... : <status>success</status>
                          <statusmsg>rebooted</statusmsg>   

Boot virtual server

Function .............. : Boot virtual server
Action ................ : boot
Method ................ : GET or POST

Returned values ....... : <status>success</status>
                          <statusmsg>booted</statusmsg>                                                       

Shutdown virtual server

Function .............. : Shutdown virtual server
Action ................ : shutdown
Method ................ : GET or POST

Returned values ....... : <status>success</status>
                          <statusmsg>shutdown</statusmsg>

Virtual server status

Function .............. : Get virtual server status
Action ................ : status
Method ................ : GET or POST

Returned values ....... : <status>success</status>
                          <statusmsg>online|offline</statusmsg>

Virtual server information

Function .............. : Get virtual server information. Setting any flag to true will return the result.
Action ................ : info
Method ................ : GET or POST
Flags ................. : ipaddr (Returns a list of ipaddresses)
                          hdd    (Returns the hard disk usage in Bytes) 
                          mem    (Returns the memory usage in Bytes)
                          bw     (Returns the bandwidth usage in Bytes)                           

Returned values ....... : <ipaddr>123.123.123.123,122.122.122.122,111.111.111.111</ipaddr>
                          <hdd>total,used,free,percentused</hdd> 
                          <mem>total,used,free,percentused</mem>
                          <bw>total,used,free,percentused</bw>
                          

Extras

The following is returned on a success status:

<hostname>[hostname]</hostname>
                          <ipaddress>[mainipaddress]</ipaddress>

You can specify the status to be returned on any of the queries by adding status=true to the query. The returned data will contain:

<vmstat>online|offline</vmstat>
  • No labels