Zun

Enhance api version support in CLI

Registered by hongbin

Currently, we have a basic api version support in CLI: https://review.openstack.org/#/c/459590/ . However, the following needs to be enhanced:

* Introduce a APIVersion class that implements the utility for micro version. See how Nova did it: https://review.openstack.org/#/c/152569/
* Introduce a decorator, such as @api_versions.wraps("2.10", "2.20"), to handle the api version validation. See how Nova did it: https://review.openstack.org/#/c/167408/

Blueprint information

Status:
Complete
Approver:
hongbin
Priority:
Medium
Drafter:
hongbin
Direction:
Approved
Assignee:
feng.shengqin@zte.com.cn
Definition:
New
Series goal:
None
Implementation:
Implemented
Milestone target:
None
Started by
feng.shengqin@zte.com.cn
Completed by
feng.shengqin@zte.com.cn

Related branches

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.