In python-openstacksdk, senlin-api,senlin-engine layers,
"global_project" option has been support for action-list.
But in senlin client and db layer this hasn't been supported.
This patch Add "global_project" arguments for action-list in
senlinclient.
Depends-On: I064422a2b7058a1353206ab0978fe8ce0bffd732
Change-Id: Iaae58e8121e20789d072d5acbe28921ec255a8e0
Before this patch, `openstack cluster action list` can't list actions.
Also, find a action's anohter problem in senlin server code.
I will report and fix atcion's server bug tomorrow.
Change-Id: Id6796e53a6875f82e4ab7bc3da6519a2eab272aa
1、As mentioned in [1], we should avoid using six.iteritems/keys achieve
iterators. We can use dict.items/keys instead, as it will return iterators in
PY3 as well. And dict.items/keys will more readable.
2、In py2, the performance about list should be negligible, see the link [2].
[1] https://wiki.openstack.org/wiki/Python3
[2] http://lists.openstack.org/pipermail/openstack-dev/2015-June/066391.html
Change-Id: I75d12f56821666ebaec8350acba3a5fc29957f1e
This patch fixes problem found after sdk version 0.9.1 which includes a
new implementation of senlin cluster resources.
Change-Id: I67b265731f34080df85233dac09c1256f43aecdb
Base classes of commands are defined in cliff,
but have been encapsulated again in osc-lib for
all plugin clients. So use osc-lib instead of
cliff.
Change-Id: I7b64c4dbedf270720f222471d57b9e20ab5a046c
osc-lib is a package of common support modules for writing
OSC plugins. All common functions, classes such as exceptions,
utils, logs and so on have been moved from openstackclient to
osc-lib.
So use osc-lib instead of openstackclient.
Change-Id: I94fceb763e7370596357db949f5e3eef091ee561
This patch refactors the OSC (OpenStackClient) support so that they are
moved out of a sub directory. We will use it as the 'default' CLI while
deprecating the previous shell.
Change-Id: I2553f0f38e5fa30735be63ab00dec4b3a4080ba5