]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
Make AvailabilityZone parameter available to nova create
authorJeff Peeler <jpeeler@redhat.com>
Fri, 15 Feb 2013 15:57:46 +0000 (10:57 -0500)
committerJeff Peeler <jpeeler@redhat.com>
Mon, 18 Feb 2013 17:38:05 +0000 (12:38 -0500)
commitea8bda21c15bf9ac1a58326ba9350c0ad3b82be0
tree1155b709ed73526337c40544eb2e98a1fb3e65af
parent6f330aed62e2d199efdd3d0defa4f717b2f84f59
Make AvailabilityZone parameter available to nova create

Looks for the AvailabilityZone property in the instance's
resource section. For example:

"Resources" : {
  "Properties": {
    "AvailabilityZone" : "nova",
...

Fixes bug #1096006

Change-Id: I3333b5f909b27e53f6985713de58dd30efc1a80a
Signed-off-by: Jeff Peeler <jpeeler@redhat.com>
heat/engine/resources/instance.py
heat/tests/test_engine_service.py
heat/tests/test_instance.py
heat/tests/test_loadbalancer.py