The blazar_dashboard.api.client
ModuleΒΆ
-
class
blazar_dashboard.api.client.
Lease
(apiresource)[source] Bases:
openstack_dashboard.api.base.APIDictWrapper
Represents one Blazar lease.
-
ACTIONS
= ('CREATE', 'DELETE', 'UPDATE', 'START', 'STOP')
-
COMPLETE
= 'COMPLETE'
-
CREATE
= 'CREATE'
-
DELETE
= 'DELETE'
-
FAILED
= 'FAILED'
-
IN_PROGRESS
= 'IN_PROGRESS'
-
START
= 'START'
-
STATUSES
= ('IN_PROGRESS', 'FAILED', 'COMPLETE')
-
STOP
= 'STOP'
-
UPDATE
= 'UPDATE'
-
-
blazar_dashboard.api.client.
blazarclient
(*args, **kwargs)[source]
-
blazar_dashboard.api.client.
lease_create
(request, name, start, end, reservations, events)[source] Create a lease.
-
blazar_dashboard.api.client.
lease_delete
(request, lease_id)[source] Delete a lease.
-
blazar_dashboard.api.client.
lease_get
(request, lease_id)[source] Get a lease.
-
blazar_dashboard.api.client.
lease_list
(request)[source] List the leases.
-
blazar_dashboard.api.client.
lease_update
(request, lease_id, **kwargs)[source] Update a lease.