The nova.api.openstack.compute.legacy_v2.contrib.server_usage Module

class ServerUsageController(*args, **kwargs)

Bases: nova.api.openstack.wsgi.Controller

detail(req, resp_obj)
show(req, resp_obj, id)
wsgi_actions = {}
wsgi_extensions = [('show', None), ('detail', None)]
class Server_usage(ext_mgr)

Bases: nova.api.openstack.extensions.ExtensionDescriptor

Adds launched_at and terminated_at on Servers.

alias = 'OS-SRV-USG'
get_controller_extensions()
name = 'ServerUsage'
namespace = 'http://docs.openstack.org/compute/ext/server_usage/api/v1.1'
updated = '2013-04-29T00:00:00Z'

Previous topic

The nova.api.openstack.compute.legacy_v2.contrib.server_start_stop Module

Next topic

The nova.api.openstack.compute.legacy_v2.contrib.services Module

Project Source

This Page