Compute API extension os-hypervisors not documented
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openstack-manuals |
Fix Released
|
High
|
Anne Gentle |
Bug Description
We need a WADL to document the os-hypervisors extension to the Compute API.
It's an admin-only extension. Here's snippets of code that should help document it.
The WADL can go with the other extension WADLs at https:/
class HypervisorsCont
"""The Hypervisors API controller for the OpenStack API."""
def __init__(self):
self.api = compute_
def _view_hyperviso
hyp_dict = {
'id': hypervisor['id'],
}
if detail and not servers:
for field in ('vcpus', 'memory_mb', 'local_gb', 'vcpus_used',
}
if servers:
...
class Hypervisors(
"""Admin-only hypervisor administration"""
name = "Hypervisors"
alias = "os-hypervisors"
namespace = "http://
updated = "2012-06-
def get_resources(
resources = [extensions.
Changed in openstack-manuals: | |
assignee: | nobody → Anne Gentle (annegentle) |
Changed in openstack-manuals: | |
milestone: | none → folsom |
tags: | added: compute-api |
Changed in openstack-manuals: | |
status: | Confirmed → In Progress |
See also https:/ /bugs.launchpad .net/openstack- manuals/ +bug/1031837 for more info.