summaryrefslogtreecommitdiff
path: root/troveclient/tests/osc
Commit message (Collapse)AuthorAgeFilesLines
* Add datastore-list to OSCTrevor McCasland2017-06-112-0/+49
| | | | | | | | | | | This change adds database support to the python-openstackclient project for the datastore-list command. The trove command datastore-list is now: openstack datastore list Change-Id: I4804e6deae350f05abdb66a6d8813e5581f2b22c Partially-Implements: trove-support-in-python-openstackclient
* Add database-list to OSCTrevor McCasland2017-06-112-0/+56
| | | | | | | | | | | | | | | | | This change adds database support to the python-openstackclient project for the database-list command. The trove command database-list is now: openstack database list To confirm the databases list command I had to create an instance and specify a database name like how it shows in the user-guide[1] on step 2. [1] http://docs.openstack.org/user-guide/create-db.html Change-Id: I4f4682eff1addc3fc837f5468939ddd96572e238 Partially-Implements: trove-support-in-python-openstackclient
* Add list to OSCTrevor McCasland2017-06-112-0/+57
| | | | | | | | | | | This change adds database support to the python-openstackclient project for the list command. The trove command list is now: openstack database instance list Partially-Implements: blueprint trove-support-in-python-openstackclient Change-Id: Ic5328827dbf6d1f47db62f0bb2e65e164a0b2b6b
* Add user-list to OSCTrevor McCasland2017-06-102-0/+50
| | | | | | | | | | | | | | | This change adds database support to the python-openstackclient project for the user-list command. The trove command user-list is now: openstack database user list Note: Only looking up an instance by ID works. I think it has something to do with not using osc-lib.find_resource because we use our own find_resource in the client manager's list call. Change-Id: If8a4b97b91c661e400dfcac0fa4922ed359ce32a Partially-Implements: trove-support-in-python-openstackclient
* Add limit-list to OSCTrevor McCasland2017-06-102-0/+57
| | | | | | | | | | | This change adds database support to the python-openstackclient project for the limit-list command. The trove command limit-list is now: openstack database limit list Change-Id: I534d30022cbfef4ae596077f604e2a305dbe3146 Partially-Implements: trove-support-in-python-openstackclient
* Add configuration-list to OSCTrevor McCasland2017-06-102-0/+57
| | | | | | | | | | | 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
* Add cluster-list to OSCTrevor McCasland2017-06-102-0/+56
| | | | | | | | | | | 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
* Add backup-list to OSCTrevor McCasland2017-01-172-0/+58
| | | | | | | | | | | This change adds database support to the python-openstackclient project for the backup-list command. The trove command backup-list is now: openstack database backup list Change-Id: I9aafb76c5a0d4a49b92a356e8465abf5919ab0ac Partially-Implements: trove-support-in-python-openstackclient
* Add OpenStackClient plugin and flavor listTrevor McCasland2017-01-116-0/+160
This change adds database support to the python-openstackclient through a plugin and tests. The support can be demonstrated through the implementation of the trove command flavor-list which is now: openstack database flavor list Use the -v or --debug flag to see the calls being made to the correct flavor list function. ubuntu@ubuntu:~$ openstack database flavor list -v START with options: [u'database', u'flavor', u'list', u'-v'] command: database flavor list -> troveclient.osc.v1.flavors.ListFlavors Using auth plugin: password +-----+-----------+-------+-------+------+-----------+ | id | name | RAM | vCPUs | Disk | ephemeral | +-----+-----------+-------+-------+------+-----------+ | 1 | m1.tiny | 512 | 1 | 1 | 0 | | 2 | m1.small | 2048 | 1 | 20 | 0 | | 3 | m1.medium | 4096 | 2 | 40 | 0 | | 4 | m1.large | 8192 | 4 | 80 | 0 | | 42 | m1.nano | 64 | 1 | 0 | 0 | | 451 | m1.heat | 512 | 1 | 0 | 0 | | 5 | m1.xlarge | 16384 | 8 | 160 | 0 | | 84 | m1.micro | 128 | 1 | 0 | 0 | | c1 | cirros256 | 256 | 1 | 0 | 0 | | d1 | ds512M | 512 | 1 | 5 | 0 | | d2 | ds1G | 1024 | 1 | 10 | 0 | | d3 | ds2G | 2048 | 2 | 10 | 0 | | d4 | ds4G | 4096 | 4 | 20 | 0 | +-----+-----------+-------+-------+------+-----------+ END return value: 0 Change-Id: I308a6c6f3f5ce7dbb814ec0fd8ecb1734a2f137f Partially-Implements: trove-support-in-python-openstackclient