Remove power_state.BUILDING
This isn't used anywhere in the code anymore, it was probably forgotten when the baremetal driver was deleted. Change-Id: Iaf60a1fce58373185cf93a3981c58acc75a5b477
This commit is contained in:
@@ -34,10 +34,6 @@ SHUTDOWN = 0x04 # the VM is powered off
|
|||||||
CRASHED = 0x06
|
CRASHED = 0x06
|
||||||
SUSPENDED = 0x07
|
SUSPENDED = 0x07
|
||||||
|
|
||||||
# TODO(maoy): BUILDING state is only used in bare metal case and should
|
|
||||||
# eventually be removed/cleaned up. NOSTATE is probably enough.
|
|
||||||
BUILDING = 0x09
|
|
||||||
|
|
||||||
# TODO(justinsb): Power state really needs to be a proper class,
|
# TODO(justinsb): Power state really needs to be a proper class,
|
||||||
# so that we're not locked into the libvirt status codes and can put mapping
|
# so that we're not locked into the libvirt status codes and can put mapping
|
||||||
# logic here rather than spread throughout the code
|
# logic here rather than spread throughout the code
|
||||||
@@ -48,5 +44,4 @@ STATE_MAP = {
|
|||||||
SHUTDOWN: 'shutdown',
|
SHUTDOWN: 'shutdown',
|
||||||
CRASHED: 'crashed',
|
CRASHED: 'crashed',
|
||||||
SUSPENDED: 'suspended',
|
SUSPENDED: 'suspended',
|
||||||
BUILDING: 'building',
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user