This patch add a parameter 'check' to node-recover command.
Then user could choice whether check physical resource status before do
node-recover action.
partial-blueprint: refresh-status-before-do-node-recover
Change-Id: I94e33351593ffc49458ad85abde8acba5dc972e9
We have supported metadata clean before.This patch adds
help for this function.
Change-Id: I0aba991202ec6053228678dea63ac15679cfd92b
Depends-On:Id541b209b2e0a67a5243ccc3099ed3f5a8d13460
When create profile, we use profile name only.
When we update cluster and node, we can use both profile id or name.
Change-Id: I45c5556667cc2b9c49aac27ab8def6cbf9e3f6d0
As requested by some users, we are supposed to output the action IDs
spawned at server side when deleting cluster or node.
Change-Id: Id339affb413f81aa12cf00d86122d00e2302e471
Closes-Bug: #1564711
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