Create a route for listing availability zones
Description
----------------
Nova and Trove have the ability to pass an optional argument to specify the availability zone for instance creation. At the moment the Trove API doesn't have a way to list the availability zones.
Note: we will probably want to add this to the python-troveclient too
Nova Request
-------
curl -i
http://
-X GET
-H "X-Auth-Project-Id: trove"
-H "User-Agent: python-novaclient"
-H "Accept: application/json"
-H "X-Auth-Token: <blah>"
Nova Response
-------
RESP: [200]
CaseInsensitiveDict
({
'date': 'Wed, 16 Oct 2013 20:56:29 GMT',
'content-length': '777',
'content-type': 'application/json',
'x-compute-
})
RESP BODY:
{
"availabili
{
},
}
},
},
{
},
}
},
}
]
}
Proposed Trove API call
-------
Basically ignore internal I think...
Trove Request
-------
curl -i
http://
-X GET
-H "X-Auth-Project-Id: trove"
-H "User-Agent: python-troveclient"
-H "Accept: application/json"
-H "X-Auth-Token: <blah>"
Trove Response
-------
RESP: [200]
CaseInsensitiveDict
({
'date': 'Wed, 16 Oct 2013 20:56:29 GMT',
'content-length': '777',
'content-type': 'application/json',
'x-compute-
})
RESP BODY:
{
"availabili
{
},
}
},
}
]
}
Blueprint information
- Status:
- Not started
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- Dan Nguyen
- Direction:
- Needs approval
- Assignee:
- Dan Nguyen
- Definition:
- Drafting
- Series goal:
- None
- Implementation:
-
Not started
- Milestone target:
-
next
- Started by
- Completed by
Related branches
Related bugs
Sprints
Whiteboard
Why do we need to implement new routs for listing AZ's ? Nova does it. - denis_makogon
Our users don't have direct access to our private Nova, meaning they can't use nova client to list the available AZ's - esp