Rename ID Parameter Names
Magnum uses several parameters with names that do not imply they can be identified with either UUID or a name:
* external_network_id
* image_id
* flavor_id
* master_flavor_id
* keypair_id
These parameters shall have the "id" suffix removed in the client (e.g. "--keypair-id" becomes "--keypair") all the way down to the database layer (e.g. "keypair_id" becomes "keypair") to more intuitively convey that they can be identified via more than just their UUID.
Extra info on work items:
1) Update client for new parameter names
Status: Merged [1] [2]
2) Update documentation in magnum for new parameters
Status: Merged [3]
3) Update server-side implementation
API updates and DB implementation handled by flatten-attributes bp [4]
Status: In progress
[1] https:/
[2] https:/
[3] https:/
[4] https:/
Blueprint information
- Status:
- Started
- Approver:
- Adrian Otto
- Priority:
- Undefined
- Drafter:
- Stephen Watson
- Direction:
- Approved
- Assignee:
- Stephen Watson
- Definition:
- New
- Series goal:
- None
- Implementation:
- Good progress
- Milestone target:
- None
- Started by
- Stephen Watson
- Completed by
Related branches
Related bugs
Bug #1540126: Rename "external_network_id" to "external_network" | In Progress |
Bug #1599393: magnum baymodel-create optional parameter(external_network_id) needs update | In Progress |
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
[WIP] Adds support for non-ID suffix
Addressed by: https:/
Updates Documentation for non-ID Params
Work Items
Work items:
Update client for new parameter names: DONE
Update documentation in magnum for new parameters: DONE
Update server-side implementation: INPROGRESS