This PR makes troveclient to handle API response in new data schema.
Trove API response data schema has changed by the commit[1].
Original problem is that python-troveclient can't parse a API response
data in new data schema, resulting in an error.
[1]: 429c39890e
Task: 44986
Story: 2009979
Change-Id: I2e446c68c3b82c11d13f6bace54273c109e02069
Some plugin command option help strings were using invalid syntax to
refer to another option. This looked odd in CLI output
--marker <ID> Begin displaying the results for IDs greater than
thespecified marker. When used with :option:`--limit,`
setthis to the last ID displayed in the previous run.
and also caused building autoprogram-cliff from python-openstackclient
to break with errors like:
<ListDatabaseInstances>:1:unknown option: --limit,
This commit reformats the help strings to use double backticks, which
render sanely in the CLI help and also build properly from
python-openstackclient.
Change-Id: Ia3fd6d5ec76e0e6d6aee87d8a8790a1ed2d38a26
The previous patches have add configuration and extended_properties
to "trove cluster-create"[1][2], this commit add the two paramenters
to OSC, user can pass configuration and extended_properties during
"openstack database cluster create".
[1] https://review.openstack.org/#/c/583125/
[2] https://review.openstack.org/#/c/589047/
Change-Id: Ic8e3ba4e92d3b65fa65875675f58eead5827976a
Signed-off-by: zhanggang <zhanggang@cmss.chinamobile.com>
This change adds database support to the python-openstackclient
project for the cluster-modules command.
The trove command cluster-modules is now:
openstack database cluster modules
Change-Id: Ib16578de1520163e9b9bc6894a079e8f0fcef37b
Partially-Implements: blueprint trove-support-in-python-openstackclient
This change adds database support to python-openstackclient
project for the cluster-grow and cluster-shrink commands.
The trove command cluster-grow is now:
openstack database cluster grow
The trove command cluster-shrink is now:
openstack database cluster shrink
Change-Id: I449e7f7d841ea266611ff79f8a41f6e730fced3c
Partially-Implements: blueprint trove-support-in-python-openstackclient
Signed-off-by: Zhao Chao <zhaochao1984@gmail.com>
This change adds database support for the python-openstackclient
project for the force-delete and cluster-force-delete commands.
The trove command force-delete is now:
openstack database instance force delete
The trove command cluster-force-delete is now:
openstack database cluster force delete
Change-Id: I919678ca6b06d3b5762eac1990cc1fbf0e149d7c
Partially-Implements: blueprint trove-support-in-python-openstackclient
Signed-off-by: Zhao Chao <zhaochao1984@gmail.com>
This change adds database support for the python-openstackclient
project for the upgrade and cluster-upgrade commands.
The trove command upgrade is now:
openstack database instance upgrade
The trove command cluster-upgrade is now:
openstack database cluster upgrade
Change-Id: Ic416d476c645fa3c697881fb001d512ed3d25d2b
Partially-Implements: blueprint trove-support-in-python-openstackclient
Signed-off-by: Zhao Chao <zhaochao1984@gmail.com>
This change adds database support for the python-openstackclient
project for the cluster-instances command.
The trove command cluster-instances is now:
openstack database cluster list instances
Change-Id: Ifcbb0a0374d4b2918ee22b85a0733c8bbbf21497
Partially-Implements: blueprint trove-support-in-python-openstackclient
Signed-off-by: Zhao Chao <zhaochao1984@gmail.com>
This change adds database support to the python-openstackclient
project for the cluster-reset-status and reset-status command.
The trove command cluster-reset-status is now:
openstack database cluster reset status
The trove command reset-status is now:
openstack database instance reset status
Change-Id: I8945327d244bfd2a9afe7febb7179467a8be9bd0
Partially-Implements: blueprint trove-support-in-python-openstackclient
This change adds database support to the python-openstackclient
project for the cluster-create command.
The trove command cluster-create is now:
openstack database cluster create
Change-Id: Iff5557411e498a1657e2f0f60fc7c46e16a42f2a
Partially-Implements: blueprint trove-support-in-python-openstackclient
This change adds database support to the python-openstackclient
project for the cluster-delete command.
The trove command cluster-delete is now:
openstack database cluster delete
Change-Id: Ibf8f0670231799508a902cffd332c844584ed407
Partially-Implements: trove-support-in-python-openstackclient
This change adds database support to the python-openstackclient
project for the cluster-show command.
The trove command cluster-show is now:
openstack database cluster show
Change-Id: I7021a0bf7fedaa5bbaa4979709b6a1de005b1db3
Partially-Implements: trove-support-in-python-openstackclient
This change adds database support to the python-openstackclient
project for the cluster-list command.
The trove command cluster-list is now:
openstack database cluster list
Change-Id: I06b398190930db459ef8739685548263499f0d3c
Partially-Implements: trove-support-in-python-openstackclient