Skip to content

Latest commit

 

History

History
73 lines (45 loc) · 1.64 KB

servers.rst

File metadata and controls

73 lines (45 loc) · 1.64 KB

Servers

A virtual machine instance.

Classes

novaclient

ServerManager

Server

id

This server's ID.

name

The name you gave the server when you booted it.

imageId

The Image this server was booted with.

flavorId

This server's current Flavor.

hostId

Rackspace doesn't document this value. It appears to be SHA1 hash.

status

The server's status (BOOTING, ACTIVE, etc).

progress

When booting, resizing, updating, etc., this will be set to a value between 0 and 100 giving a rough estimate of the progress of the current operation.

addresses

The public and private IP addresses of this server. This'll be a dict of the form:

{
  "public" : ["67.23.10.138"],
  "private" : ["10.176.42.19"]
}

You can get more than one public/private IP provisioned, but not directly from the API; you'll need to open a support ticket.

metadata

The metadata dict you gave when creating the server.

Constants

Reboot types:

REBOOT_SOFT

REBOOT_HARD