]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commit
openstack: switch the default json output to dictionary 752/head
authorLoic Dachary <ldachary@redhat.com>
Sat, 12 Dec 2015 12:22:55 +0000 (13:22 +0100)
committerLoic Dachary <ldachary@redhat.com>
Wed, 16 Dec 2015 00:46:08 +0000 (01:46 +0100)
commit47adccd936881350fd6bff9273340600f6803e3d
tree39e005eb3d0b094f55d412d7ca529b0279243870
parent8662262b1ddcf0f570ad8d313167066535cbc24d
openstack: switch the default json output to dictionary

The python-openstackclient output may either be a list of Value/Field or
a dictionary. Use the dictionary instead of the Value/Field form
because it is easier to deal with. The former was chosen because of a
bug that made it impossible to control the output. The bug still exists
but is believed to be rare enough to ignore. Should it happen, a message
recommending a corrective action and a comment on:

https://bugs.launchpad.net/python-openstackclient/+bug/1510546

is displayed.

Signed-off-by: Loic Dachary <loic@dachary.org>
setup.py
teuthology/openstack/__init__.py
teuthology/openstack/test/test_openstack.py