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:
Pierre Riteau 2018-08-28 16:10:09 +01:00
parent a046acfdd5
commit 52b1dac890
1 changed files with 0 additions and 6 deletions

View File

@ -26,12 +26,6 @@ LOG = logging.getLogger(__name__)
class Lease(base.APIDictWrapper):
"""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',
'before_end_date', 'status', 'degraded']