Revision 26fef2b9 db/models.py
b/db/models.py | ||
---|---|---|
188 | 188 |
('OP_INSTANCE_REMOVE', 'Remove Instance'), |
189 | 189 |
('OP_INSTANCE_STARTUP', 'Startup Instance'), |
190 | 190 |
('OP_INSTANCE_SHUTDOWN', 'Shutdown Instance'), |
191 |
('OP_INSTANCE_REBOOT', 'Reboot Instance') |
|
191 |
('OP_INSTANCE_REBOOT', 'Reboot Instance'), |
|
192 |
|
|
193 |
# These are listed here for completeness, |
|
194 |
# and are ignored for the time being |
|
195 |
('OP_INSTANCE_SET_PARAMS', 'Set Instance Parameters'), |
|
196 |
('OP_INSTANCE_QUERY_DATA', 'Query Instance Data'), |
|
192 | 197 |
) |
193 | 198 |
# A backend job may be in one of the following possible states |
194 | 199 |
BACKEND_STATUSES = ( |
... | ... | |
208 | 213 |
'OP_INSTANCE_REMOVE': 'DESTROYED', |
209 | 214 |
'OP_INSTANCE_STARTUP': 'STARTED', |
210 | 215 |
'OP_INSTANCE_SHUTDOWN': 'STOPPED', |
211 |
'OP_INSTANCE_REBOOT': 'STARTED' |
|
216 |
'OP_INSTANCE_REBOOT': 'STARTED', |
|
217 |
'OP_INSTANCE_SET_PARAMS': None, |
|
218 |
'OP_INSTANCE_QUERY_DATA': None |
|
212 | 219 |
} |
213 | 220 |
|
214 | 221 |
# This dictionary contains the correspondence between |
Also available in: Unified diff