Revision 924d8085 snf-cyclades-app/synnefo/db/models.py
b/snf-cyclades-app/synnefo/db/models.py | ||
---|---|---|
212 | 212 |
self.operstate = 'BUILD' |
213 | 213 |
|
214 | 214 |
@property |
215 |
def backend_id(self): |
|
215 |
def backend_vm_id(self):
|
|
216 | 216 |
"""Returns the backend id for this VM by prepending backend-prefix.""" |
217 | 217 |
if not self.id: |
218 | 218 |
raise VirtualMachine.InvalidBackendIdError("self.id is None") |
Also available in: Unified diff