This Page

Psst... hey. You're reading the latest content, but it might be out of sync with code. You can read Nova 2011.2 docs or all OpenStack docs too.

The nova.api.openstack.contrib.hosts Module

The hosts admin extension.

class nova.api.openstack.contrib.hosts.HostController

Bases: object

The Hosts API controller for the OpenStack API.

index(req)
reboot(req, id)
shutdown(req, id)
startup(req, id)
update(req, id, service=None, *args, **kwargs)
class nova.api.openstack.contrib.hosts.Hosts

Bases: nova.api.openstack.extensions.ExtensionDescriptor

get_alias()
get_description()
get_name()
get_namespace()
get_resources(*args, **kwargs)
get_updated()
nova.api.openstack.contrib.hosts.check_host(fn)

Makes sure that the host exists.