This patch add receiver update operation,
Then user cloud run 'receiver-update' command.
use receiver-update change has exist receiver name,action and params.
Implements: blueprint add-receiver-update
Depends-On: I228edd1f5ada5b91e82ef04c95e9a7fa2b7de305
Change-Id: I8adaef75c18b93ec46d95e91f2058f6a4b8d4608
Signed-off-by: Yuanbin.Chen <cybing4@gmail.com>
This patch revises the help message of receiver list, to add the
filter "user_id".
Depends-On: Ic4c23e0216551a3707b49b9f8868c9aa41d76281,
I096291a2860125681faee80d31be48f585996e7c,
Ia33a0df2909ba93a66ac61f3b729671933aae9fa
Change-Id: Ief2a928cec82f9a0adf1be7a4fcbecd0220ae17f
Partial-Bug: #1653613
Users can't know which type can be used.
Add "Receiver type can be "webhook" or "message". Default to "webhook"."
Change-Id: If4ec21f2775d7bbaa52f6c3a7a3e4412492a7776
This patch revises 'receiver create' command to change 'cluster'
and 'action' parameters to optional for they are only required
for webhook receiver creation.
Change-Id: Ia1de29ef41c534569ab4e71e3457c97b1ce40003
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