The nova.api.openstack.compute.availability_zone Module

class AvailabilityZone(extension_info)

Bases: nova.api.openstack.extensions.V21APIExtensionBase

  1. Add availability_zone to the Create Server API.
  2. Add availability zones describing.
alias = 'os-availability-zone'
get_controller_extensions()

It’s an abstract function V21APIExtensionBase and the extension will not be loaded without it.

get_resources()
get_server_create_schema(version)
name = 'AvailabilityZone'
server_create(server_dict, create_kwargs, body_deprecated_param)
version = 1
class AvailabilityZoneController

Bases: nova.api.openstack.wsgi.Controller

The Availability Zone API controller for the OpenStack API.

detail(*args, **kwargs)

Returns a detailed list of availability zone.

index(*args, **kwargs)

Returns a summary list of availability zone.

wsgi_actions = {}
wsgi_extensions = []

Previous topic

The nova.api.openstack.compute.attach_interfaces Module

Next topic

The nova.api.openstack.compute.baremetal_nodes Module

Project Source

This Page