Remove outdated code
This code doesn't match the new lease status introduced in Queens and is not used anywhere anyway. Change-Id: I1189f149aff4407f00dbb890c3f0e02a0aa79a14
This commit is contained in:
parent
a046acfdd5
commit
52b1dac890
@ -26,12 +26,6 @@ LOG = logging.getLogger(__name__)
|
|||||||
|
|
||||||
class Lease(base.APIDictWrapper):
|
class Lease(base.APIDictWrapper):
|
||||||
"""Represents one Blazar lease."""
|
"""Represents one Blazar lease."""
|
||||||
ACTIONS = (CREATE, DELETE, UPDATE, START, STOP
|
|
||||||
) = ('CREATE', 'DELETE', 'UPDATE', 'START', 'STOP')
|
|
||||||
|
|
||||||
STATUSES = (IN_PROGRESS, FAILED, COMPLETE
|
|
||||||
) = ('IN_PROGRESS', 'FAILED', 'COMPLETE')
|
|
||||||
|
|
||||||
_attrs = ['id', 'name', 'start_date', 'end_date', 'user_id', 'project_id',
|
_attrs = ['id', 'name', 'start_date', 'end_date', 'user_id', 'project_id',
|
||||||
'before_end_date', 'status', 'degraded']
|
'before_end_date', 'status', 'degraded']
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user