Bug #4086
Return region info in the result of POST /tokens
Status: | Feedback | Start date: | 07/01/2013 | |
---|---|---|---|---|
Priority: | Medium | Due date: | ||
Assignee: | Sofia Papagiannaki | % Done: | 100% |
|
Category: | Cyclades API | Spent time: | - | |
Target version: | 0.15 |
Description
As described in http://docs.openstack.org/api/openstack-compute/programmer/content/getting-the-authentication-token.html
It seems that SlipStream uses this in its configuration.
Associated revisions
astakos: Rename Region to region
Refs #4086
astakos: Change default region value in POST /tokens
Refs: 4086
astakos: Add region value in POST /tokens
Add hardcoded 'default' value in region attribute.
Refs #4086
History
#1 Updated by Christos Stavrakakis almost 10 years ago
- Status changed from New to Feedback
- Assignee changed from Christos Stavrakakis to Sofia Papagiannaki
- % Done changed from 0 to 100
Sofia already resolved it in commmit 563b06582297f471b20b1006b240e103bca007b0.
I just renamed 'Region' to 'region' to much with the docs.
#2 Updated by Christos KK Loverdos almost 10 years ago
And the return value for "region" in 563b06582297f471b20b1006b240e103bca007b0 is "defaultRegion". Can we make it just "default"? (reason: it is shorter and it is more natural to use "default"). Otherwise, if we follow the OpeStack example in the URL I provided, they say "RegionOne".
#3 Updated by Vangelis Koukis almost 10 years ago
The actual name of the region is deployment-specific, and is left completely up to the administrators to decide.
Changing it to "default" would perhaps imply there is a special "default" value, so I'd vote against it.
"RegionOne" is just a name chosen by the OpenStack docs, it doesn't make much sense to replicate it in our code.
#4 Updated by Christos KK Loverdos almost 10 years ago
So, what's the proposal?
If it's not a known value, then it must be configuration, right?