Package enomalism2 :: Package modules :: Package hypervisorcontrol :: Module rest
[hide private]

Module rest

Functions [hide private]
Dictionary
rest_hypervisor_list(self, *args, **kw)
Return a list of hypervisors.
Dictionary
rest_hypervisor_UUID(self, *args, **kw)
GET will retrieve the specified hypervisor instance.
Dictionary
rest_hypervisor_UUID_delete(self, *args, **kw)
Delete the specified hypervisor.
Function Details [hide private]

rest_hypervisor_list(self, *args, **kw)

 

Return a list of hypervisors.

URL Format:

   /rest/hypervisor/list/
Returns: Dictionary
A dictionary containing the result of the action.
Decorators:
  • @register_extension("hypervisor/list", allowed_methods= ['GET', 'POST'])
Raises:
  • None - No exceptions are raised by this method.

rest_hypervisor_UUID(self, *args, **kw)

 

GET will retrieve the specified hypervisor instance. DELETE will delete the specified cluster instance.

URL Format:

   /rest/hypervisor/<UUID>/
Returns: Dictionary
A dictionary containing the results of the specified command.
Decorators:
  • @register_extension("hypervisor/*", allowed_methods= ['GET', 'DELETE'])
Raises:
  • None - No exceptions are raised by this method.

rest_hypervisor_UUID_delete(self, *args, **kw)

 

Delete the specified hypervisor.

URL Format:

   /rest/hypervisor/<UUID>/delete/
Returns: Dictionary
A dictionary containing the result of the command.
Decorators:
  • @register_extension("hypervisor/*/delete", allowed_methods= ['GET', 'POST', 'DELETE'])
Raises:
  • None - No exceptions are raised by this method.

Status: Deprecated

See Also: enomalism2.identity.validate_permission