summaryrefslogtreecommitdiff
path: root/test-requirements.txt
diff options
context:
space:
mode:
authorTrevor McCasland <TM2086@att.com>2017-01-11 15:36:52 -0600
committerTrevor McCasland <TM2086@att.com>2017-01-11 16:07:45 -0600
commit4eebd5678625e5db173f3fa617663e5de71f74de (patch)
tree7e2c1707c9d4ea5f244b203fc4cc0ab2be170be3 /test-requirements.txt
parente2a2263e193b63e0f4b436d4ca063134f0d7d622 (diff)
downloadpython-troveclient-4eebd5678625e5db173f3fa617663e5de71f74de.tar.gz
Add OpenStackClient plugin and flavor list
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
Diffstat (limited to 'test-requirements.txt')
-rw-r--r--test-requirements.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/test-requirements.txt b/test-requirements.txt
index 9ddd426..4077cce 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -6,6 +6,7 @@ coverage>=4.0 # Apache-2.0
fixtures>=3.0.0 # Apache-2.0/BSD
oslosphinx>=4.7.0 # Apache-2.0
oslotest>=1.10.0 # Apache-2.0
+python-openstackclient>=3.3.0 # Apache-2.0
requests-mock>=1.1 # Apache-2.0
sphinx!=1.3b1,<1.4,>=1.2.1 # BSD
testrepository>=0.0.18 # Apache-2.0/BSD