Allow availability_zone to be specified when creating instances

Registered by Vipul Sabhaya

Nova supports the ability to target where VMs are spun up via the availability_zone parameter. Trove should also support a similar model so users are given more control of where Databases are created, on clouds that support availability zones.

For a nice explanation of how AZs are implemented in Nova, see: http://russellbryantnet.wordpress.com/2013/05/21/availability-zones-and-host-aggregates-in-openstack-compute-nova/

1. updated the python-troveclient to take allow an optional POST parameter for creating new instances (availability-zone)

2a. Update Trove API and TaskManager to consume the availability-zone parameter if it's there.
2b. Ensure that the API does not require the availability-zone param for creating instances

3. Update Unit Tests and Trove Integration tests.

4. Update Wiki Documentation to reflect the new parameter.

https://github.com/openstack/database-api/blob/master/openstack-database-api/src/markdown/database-api-v1.md

Blueprint information

Status:
Complete
Approver:
Vipul Sabhaya
Priority:
High
Drafter:
Vipul Sabhaya
Direction:
Approved
Assignee:
Dan Nguyen
Definition:
Approved
Series goal:
Accepted for grizzly
Implementation:
Implemented
Milestone target:
milestone icon next
Started by
Dan Nguyen
Completed by
Dan Nguyen

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/availability-zone-instance-create,n,z

Addressed by: https://review.openstack.org/44538
    First pass for allowing optional availability_zone

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.