20 Commits

Author SHA1 Message Date
liyi
6d238496e8 Remove log translations
Log messages are no longer being translated. This removes all use of
the _LE, _LI, and _LW translation markers to simplify logging and to
avoid confusion with new contributions.

See:
http://lists.openstack.org/pipermail/openstack-i18n/2016-November/002574.html
http://lists.openstack.org/pipermail/openstack-dev/2017-March/113365.html

Change-Id: If4d80503845a14ebf3778cad36b6a21aac4eec54
2017-03-23 11:37:47 +08:00
chohoor
8ca170092c Support check before do node-recover action
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
2017-03-10 14:08:12 +08:00
jonnary
43bd4f6d84 Add metadata clean help
We have supported metadata clean before.This patch adds
help for this function.

Change-Id: I0aba991202ec6053228678dea63ac15679cfd92b
Depends-On:Id541b209b2e0a67a5243ccc3099ed3f5a8d13460
2016-12-10 18:04:59 +08:00
Jenkins
c394c5ed98 Merge "Point out valid sort keys in openstack cluster member list" 2016-11-22 02:39:25 +00:00
Jenkins
7c05b0c7d1 Merge "Show project_id field when xyz-list with global-project" 2016-11-22 02:34:03 +00:00
jonnary
1d198552c8 Point out valid sort keys in openstack cluster member list
This patch points out valid filter keys in `openstack cluster member list`.

Change-Id: I34d25c285711c16b0484162b68d4795bba1b8787
2016-11-19 14:15:53 +08:00
lvdongbing
3940b7df38 Show project_id field when xyz-list with global-project
Change-Id: I1a3b6d607e9c70eaf7f5fa10ee3a802ca720b279
2016-10-26 22:44:29 -04:00
jonnary
ed4b2905cb All dictionary options need be a string
All dictionary options need be a string, otherwise only the first
"key: value" valids.

Change-Id: I17802a362b0e78f2d9a5a4930472704f76510fd6
2016-10-26 09:18:41 -07:00
jonnary
c94ab235d2 profile's name also can be use in some commands
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
2016-10-26 06:49:37 -07:00
xu-haiwei
b3aed5f8dc Show 'dependents' property in node details
Change-Id: Ib905a01553b66b009439d624d01ce76e74189506
2016-09-06 04:37:59 +00:00
tengqm
6e41ab2265 Fix output from cluster/node delete
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
2016-08-30 21:47:33 -04:00
Jenkins
54e5e2334d Merge "py3:Rmove six.iteritems/iterkeys in python-senlinclient" 2016-08-25 03:06:07 +00:00
Ethan Lynn
49f18b0897 Fix _show_node error
Passing the correct args to get_node function.

Change-Id: I0c0c1180e1027ba5425fa9ddec1088874ddf63d9
Closes-Bug: #1616347
2016-08-24 16:01:12 +08:00
Lu lei
7b83eec5b8 py3:Rmove six.iteritems/iterkeys in python-senlinclient
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
2016-08-24 14:12:35 +08:00
Ethan Lynn
a619b79c3b Reorder required parameters
This patch put required parameters to an visible position.

Change-Id: Ib68ab28c8f616d912b81ee38ec6325e087f6c648
2016-08-11 22:15:32 +08:00
Jenkins
3743dbc8b9 Merge "Update senlinclient for new sdk version" 2016-07-30 15:37:05 +00:00
tengqm
dd21b7aa0b Update senlinclient for new sdk version
This patch fixes problem found after sdk version 0.9.1 which includes a
new implementation of senlin cluster resources.

Change-Id: I67b265731f34080df85233dac09c1256f43aecdb
2016-07-29 02:15:56 -04:00
Tang Chen
4437ed83be Use osc_lib instead of cliff
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
2016-06-27 20:22:56 +08:00
Tang Chen
9891067bb0 Use osc-lib instead of openstackclient
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
2016-06-24 11:58:04 +08:00
tengqm
735b018198 Refactor osc support
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
2016-03-24 23:07:37 -04:00