Commit Graph

13 Commits

Author SHA1 Message Date
Lingxian Kong 64f3f62368 Fix detach configuration from instance
Change-Id: Id0853dfb207bbd219755d46a9c0d6b4e897bfbeb
2021-07-09 20:47:13 +12:00
Lingxian Kong a57568397e Support datastore version number
- Support "--datastore-version-number" for creating configuration
- Support "--datastore-version-number" for creating instance
- Support "--version-number" for creating datastore version
- Support "--version-name" for updating datastore version
- Support showing version number for datastore version, instance and
  configuration

Story: 2008358
Task: 41264

Change-Id: Ie84b4506736a82a214b0416f7e451d565552f651
2020-11-21 23:44:42 +00:00
Lingxian Kong 4b47eb6f7f Support to change parameters for the config group
* openstack database configuration parameter set <config> <values>
* openstack database configuration set <config> <values> --name NAME \
  --description DESC

Change-Id: I5a576309daa1751c76a4a0d33c53a8596c8665e8
2020-05-08 12:15:42 +12:00
Sean McGinnis 2b8282bb1e
Use unittest.mock instead of third party mock
Now that we no longer support py27, we can use the standard library
unittest.mock module instead of the third party mock lib.

Change-Id: Ib83e626f51e6e01898bb7931c1660a1a548500f3
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-04-18 11:59:46 -05:00
wangyao cfa82f0478 Add configuration-default to OSC
This change adds database support to the python-openstackclient
project for the configuration-default command.

The trove command configuration-default is now:
    openstack database configuration default

Change-Id: I9403df629e893bb1c4d75566cffd3d49697a543d
Partially-Implements: blueprint trove-support-in-python-openstackclient
2018-07-17 16:51:34 +08:00
wangyao 61e8de4e55 Add configuration-instances to OSC
This change adds database support to the python-openstackclient
project for the configuration-instances command.

The trove command configuration-instances is now:
    openstack database configuration instances

Change-Id: I4ad52cc8772534c95b708b49d018f4b2e35d6f86
Partially-Implements: blueprint trove-support-in-python-openstackclient
2018-07-12 15:56:06 +08:00
zhanggang ba1535fdf0 Add configuration-attach/detach to OSC
This change adds database support to the python-openstackclient
project for the configuration-attach/detach command.

The trove command configuration-attach is now:
    openstack database configuration attach
The trove command configuration-detach is now:
    openstack database configuration detach
Partially-Implements: blueprint trove-support-in-python-openstackclient

Change-Id: I03c71f6828ff7af8f9caf5c6b383e5e875f348c3
2017-12-28 00:06:50 -05:00
zhanggang 481e600f35 Add configuration-create to OSC
This change adds database support to the python-openstackclient
project for the configuration-create command.

The trove command configuration-create is now:
    openstack database configuration create

Change-Id: I5aadb88860d0d69c8e2b4b78b5fb0dca2eba031f
Partially-Implements: blueprint trove-support-in-python-openstackclient
2017-12-22 23:32:41 -05:00
zhanggang a1e9f46a53 Add configuration-delete to OSC
This change adds database support to the python-openstackclient
project for the configuration-delete command.

The trove command configuration-delete is now:
    openstack database configuration delete

Change-Id: I747566e5a1ddf415c3127a86debc2ba477256141
Partially-Implements: trove-support-in-python-openstackclient
2017-12-21 01:06:39 -05:00
wangyao 0ea43259d0 Add configuration-parameter-show to OSC
This change adds database support to the python-openstackclient
project for the configuration-parameter-show command.

The trove command configuration-parameter-show is now:
    openstack database configuration parameter show

Change-Id: I0a286390135a09b125fab0efa8c83aefec8ca334
Partially-Implements: trove-support-in-python-openstackclient
2017-12-09 14:20:36 +08:00
wangyao c2de9c6a22 Add configuration-parameter-list to OSC
This change adds database support to the python-openstackclient
project for the configuration-parameter-list command.

The trove command configuration-parameter-list is now:
    openstack database configuration parameter list

Change-Id: I8e7ee36529b75b0962aeaf30a074b55b9e0cee12
Partially-Implements: trove-support-in-python-openstackclient
2017-12-08 11:01:26 +08:00
wangyao 4d93fc91dd Add configuration-show to OSC
This change adds database support to the python-openstackclient
project for the configuration-show command.

The trove command configuration-show is now:
    openstack database configuration show

Change-Id: I2f2cd93054ecaa8f67722a0efd8789b63e59b373
Partially-Implements: trove-support-in-python-openstackclient
2017-11-30 21:16:18 +08:00
Trevor McCasland 1abc33cedc Add configuration-list to OSC
This change adds database support to the python-openstackclient
project for the configuraiton-list command.

The trove command configuration-list is now:
    openstack database configuration list

Change-Id: I3a85260c15b8d1b4a37a806db2cb5ff3c433537b
Partially-Implements: trove-support-in-python-openstackclient
2017-06-10 21:40:07 -04:00