~ttx/nova/privsep2

Viewing all changes in revision 1428.

  • Committer: Tarmac
  • Author(s): Tushar Patil
  • Date: 2011-08-14 03:34:19 UTC
  • mfrom: (1414.1.1 nova)
  • Revision ID: tarmac-20110814033419-x2ck0h6mi8vuyt6i
Currently OS API doesn't accept availability zone parameter so there is no way to instruct scheduler (SimpleScheduler) to launch VM instance on specific host of specified zone.

Now changes have been made in the create_instance_helper to read the availability zone and pass it to the compute create API. Any OS extensions can take a advantage of it.
Also changes have been made in the nova-manage ServiceCommands class to expose zone information to the admin users. Only admin users will be allowed to launch VM instance on specific host.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: