Rename ID Parameter Names

Registered by Stephen Watson on 2016-10-07

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://review.openstack.org/#/c/388215/
[2] https://review.openstack.org/#/c/388240/
[3] https://review.openstack.org/#/c/396729/
[4] https://blueprints.launchpad.net/magnum/+spec/flatten-attributes

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 on 2016-11-17

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/rename-id-parameter-names,n,z

Addressed by: https://review.openstack.org/389811
    [WIP] Adds support for non-ID suffix

Addressed by: https://review.openstack.org/396729
    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

This blueprint contains Public information 
Everyone can see this information.