~hudson-openstack/nova/trunk

Viewing all changes in revision 1200.

  • Committer: Tarmac
  • Author(s): Rick Harris, Rick Harris
  • Date: 2011-06-20 16:17:35 UTC
  • mfrom: (1184.2.21 uuid-redux)
  • Revision ID: tarmac-20110620161735-l2leyre2wxshy9xg
This patch adds support for working with instances by UUID in addition to integer IDs.

The Zone Scheduler routing mechanics were changed slightly so that when an UUID is passed in, it checks to see whether the item is available locally.

If it isn't it re-routes to a child zone. 

If it is available locally, it substitutes the UUID with the integer ID and calls the wrapped function. This is the 'trick' allows us to not change any of the virt-layer code-- everything still uses integer IDs locally.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: