diff options
author | Matthew Sherborne <msherborne@gmail.com> | 2013-04-18 15:34:31 +1000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2013-04-20 22:02:12 +0000 |
commit | 4c887edc8840327ce707d2015fa50ac625bb17db (patch) | |
tree | 2184f7a703981945784e44be59e5bc03e8ebb0b6 /nova/utils.py | |
parent | 4ff5d3d4c3dade3932523d9ad6e6a84ff9ad172c (diff) | |
download | nova-4c887edc8840327ce707d2015fa50ac625bb17db.tar.gz nova-4c887edc8840327ce707d2015fa50ac625bb17db.tar.xz nova-4c887edc8840327ce707d2015fa50ac625bb17db.zip |
Allows xenapi 'lookup' to look for rescue mode VMs
When you lookup a VM by name, you can specify if you want it to check if
it has a rescue mode instance running.
If it finds the rescue mode instance, it'll return that one instead
of the original name.
This is useful for operations that should work on the rescue mode vm if
it's there, or the normal one, if it's not.
Work towards bug: 1170237
Change-Id: I41b31e59631b78a62faadb9970b6b824929e7061
Diffstat (limited to 'nova/utils.py')
0 files changed, 0 insertions, 0 deletions