API over the nova service.
Bases: django.views.generic.base.View
API for managing aggregate extra specs
Get a specific aggregate’s extra specs
Example GET: http://localhost/api/nova/flavors/1/extra-specs
Update a specific aggregate’s extra specs.
This method returns HTTP 204 (no content) on success.
Bases: django.views.generic.base.View
API for nova availability zones.
Get a list of availability zones.
The following get parameters may be passed in the GET request:
Parameters: | detailed – If this equals “true” then the result will include more detail. |
---|
The listing result is an object with property “items”.
Bases: django.views.generic.base.View
API for console output.
Get a list of lines of console output.
The listing result is an object with property “items”. Each item is a line of output from the server.
Example GET: http://localhost/api/nova/servers/abcd/console-output/
Bases: django.views.generic.base.View
API for getting default quotas for nova
Get the values for Nova specific quotas
Example GET: http://localhost/api/nova/quota-sets/defaults/
Update the values for Nova specific quotas
This method returns HTTP 204 (no content) on success.
Bases: django.views.generic.base.View
API for editable quotas.
Get a list of editable quota fields.
The listing result is an object with property “items”. Each item is an editable quota. Returns an empty list in case no editable quota is found.
Bases: django.views.generic.base.View
API for nova extensions.
Get a list of extensions.
The listing result is an object with property “items”. Each item is an image.
Example GET: http://localhost/api/nova/extensions
Bases: django.views.generic.base.View
API for retrieving a single flavor
Get a specific flavor
Parameters: | get_extras – Also retrieve the extra specs. |
---|
Example GET: http://localhost/api/nova/flavors/1
Bases: django.views.generic.base.View
API for managing flavor extra specs
Get a specific flavor’s extra specs
Example GET: http://localhost/api/nova/flavors/1/extra-specs
Update a specific flavor’s extra specs.
This method returns HTTP 204 (no content) on success.
Bases: django.views.generic.base.View
API for nova flavors.
Get a list of flavors.
The listing result is an object with property “items”. Each item is a flavor. By default this will return the flavors for the user’s current project. If the user is admin, public flavors will also be returned.
Parameters: |
|
---|
Example GET: http://localhost/api/nova/flavors?is_public=true
Bases: django.views.generic.base.View
Creates a new keypair and associates it to the current project.
Parameters: |
|
---|
This returns the new keypair object on success.
Bases: django.views.generic.base.View
API for nova keypairs.
Get a list of keypairs associated with the current logged-in account.
The listing result is an object with property “items”.
Create a keypair.
Create a keypair using the parameters supplied in the POST application/json object. The parameters are:
Parameters: |
|
---|
This returns the new keypair object on success.
Bases: django.views.generic.base.View
API for nova limits.
Get an object describing the current project limits.
Note: the Horizon API doesn’t support any other project (tenant) but the underlying client does...
The following get parameters may be passed in the GET request:
Parameters: | reserved – Take into account the reserved limits. Reserved limits |
---|
may be instances in the rebuild process for example.
The result is an object with limits as properties.
Bases: django.views.generic.base.View
API for setting quotas for a given project.
Update a single project quota data.
The PATCH data should be an application/json object with the attributes to set to new quota values.
This method returns HTTP 204 (no content) on success.
Bases: django.views.generic.base.View
API for remote console information.
Gets information about an available remote console for the given server.
Example POST: http://localhost/api/nova/servers/abcd/console-info/
Bases: django.views.generic.base.View
API over all server security groups.
Get a list of server security groups.
The listing result is an object with property “items”. Each item is security group associated with this server.
Example GET: http://localhost/api/nova/servers/abcd/security-groups/
Bases: django.views.generic.base.View
API for retrieving a single server
Get a specific server
Perform a change to a server
Bases: django.views.generic.base.View
API over all server actions.
Get a list of server actions.
The listing result is an object with property “items”. Each item is an action taken against the given server.
Example GET: http://localhost/api/nova/servers/abcd/actions/
Bases: django.views.generic.base.View
API for nova server groups.
Get a list of server groups.
The listing result is an object with property “items”.
Bases: django.views.generic.base.View
API for server metadata.
Get a specific server’s metadata
Update metadata items for a server
Bases: django.views.generic.base.View
API over all servers.
Get a list of servers.
The listing result is an object with property “items”. Each item is a server.
Example GET: http://localhost/api/nova/servers
Create a server.
Create a server using the parameters supplied in the POST application/json object. The required parameters as specified by the underlying novaclient are:
Parameters: |
|
---|
Other parameters are accepted as per the underlying novaclient: “block_device_mapping”, “block_device_mapping_v2”, “nics”, “meta”, “availability_zone”, “instance_count”, “admin_pass”, “disk_config”, “config_drive”
This returns the new server object on success.
Bases: django.views.generic.base.View
API for nova services.
Get a list of nova services. Will return HTTP 501 status code if the service_list extension is not supported.
Bases: django.views.generic.base.View
API for nova snapshots.
Bases: django.views.generic.base.View
API over all server volumes.
Get a list of server volumes.
The listing result is an object with property “items”. Each item is a volume.
Example GET: http://localhost/api/nova/servers/abcd/volumes/