28 Commits

Author SHA1 Message Date
liyi
97e85c1c8a Unify style of 'domain' field
The output of CLI need unify style of 'domain' filed.

Change-Id: I09b6d4ec952ce30d2d74e6a51e58e16d1d585718
Partial-Bug: #1703545
2017-07-11 17:26:13 +08:00
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
XueFeng Liu
8953c284ad Revert "Revert "Revert "Revert "Fix openstack cluster profile validate bug""""
This reverts commit 3a10bc25e5ac4f07af7c73b97b9714c7f683cfb7.

Change-Id: I6bfb47096002c37de974627b7f8da9fb16adf6dc
2017-01-27 03:17:51 +00:00
Jenkins
9963955f95 Merge "Revise help string profile list" 2016-12-29 14:43:32 +00:00
miaohb
2e1a6d1880 Trivial: Modify the description of profile validate
The spec file should be of the profile to be validated, not created,
which is copied from profile create.

Change-Id: Idd7b5426da45ca93c9405fd860c47178ffa1a399
2016-12-27 04:29:05 +00:00
XueFeng Liu
3a10bc25e5 Revert "Revert "Revert "Fix openstack cluster profile validate bug"""
This reverts commit 3525aef3a6474c74ec046ef66fe5c3b2d7465737.

Change-Id: Ic403676653ea57c5c407c80ab31e75af02ab1eac
2016-12-27 04:08:07 +00:00
Qiming Teng
3525aef3a6 Revert "Revert "Fix openstack cluster profile validate bug""
This reverts commit 130a522cad462b8bb12ceb92b2e437d63706e384.

Let's do it again because the global requirements version is bumped now.

Change-Id: I41a0384527fa76c1747628651a771d012426b86c
2016-12-23 09:22:49 +00:00
Tony Breeds
130a522cad Revert "Fix openstack cluster profile validate bug"
Like I21fe5dad0b401672fdde719b8d0adff5fef1e54d, this relies on features
from the SDK has not been released/integrated with upper-constraints.txt

This reverts commit 82771162c96f6ce82aa7deefcb3f2112f553b420.

Change-Id: Idf4be216ffb7ecb2632489754c830b9357f8173d
2016-12-23 03:01:47 +00:00
lvdongbing
98caf6c616 Revise help string profile list
Remove 'metadata' from valid filter keys of profile list.

Change-Id: I1646fb3985021467c3e3777e12667d50e2a57c8a
2016-12-22 04:25:05 -05:00
Jenkins
6162c3b8b5 Merge "Revert "Get project_id and user_id when show profile"" 2016-12-21 11:24:09 +00:00
Qiming Teng
427ff59006 Revert "Get project_id and user_id when show profile"
This reverts commit 508df27dd3e963cdcd6f45c27b208773cc7274bf.

The corresponding fix in SDK has not been released.

Change-Id: I21fe5dad0b401672fdde719b8d0adff5fef1e54d
2016-12-21 11:12:14 +00:00
jonnary
82771162c9 Fix openstack cluster profile validate bug
This patch fix project_id and user_id show bug in
command `openstack  cluster profile validate`.

Change-Id: I603a818721ea5f702df34115a15abb4f80c16d8b
Closes-Bug: #1650119
2016-12-15 14:43:56 +08:00
Jenkins
31a2c0a0df Merge "Add metadata clean help" 2016-12-13 03:24:20 +00:00
Jenkins
61af1dd5a3 Merge "Get project_id and user_id when show profile" 2016-12-12 12:01:14 +00:00
Aaron-DH
508df27dd3 Get project_id and user_id when show profile
Change-Id: Ieeae4b56c7c24173a09ea0e1f47444eabd219bc4
Depends-On: Ief68afcdbcb67dca746bf11a0c80ea774c8e4c47
Closes-bug: #1647589
2016-12-12 14:32:43 +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
zhangyanxian
7a3a3f08d3 Fix import method to follow community guideline
Instead of "from i18n import _ 
            from i18n import _LE"
this style "from i18n import _, _LE" is recommended as community guideline [1].
[1]http://docs.openstack.org/developer/hacking/#real-world-import-order-examples

Change-Id: I34636afad831522e0781a5e48c5a25e960a04ff5
2016-12-02 03:07:53 +00:00
Jenkins
7c05b0c7d1 Merge "Show project_id field when xyz-list with global-project" 2016-11-22 02:34:03 +00: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
c3dab67843 Modify several marker's help
keep marker's help consistency

Change-Id: Id5c1d862f5d898e2cff5b94569c7ce8845b4d6a7
2016-10-16 03:50:21 +00:00
lvdongbing
1944fd7c09 Fix 'type_name' in openstack cluster profile list
This is a supplement to https://review.openstack.org/369966

Change-Id: I6bbab32304953055342765e43cb76ba47a961e77
2016-09-17 21:17:47 -04:00
miaohb
53f68624ea Profile list can not display the "type" column
Profile list can not display the "type" column

Change-Id: I028bc9c5a28e8242e87deb077f24c4b141536918
2016-09-08 17:42:53 +08:00
Ethan Lynn
e450261b02 Add profile validate operation to senlinclient
Add profile validate operation to senlinclient

Change-Id: I7fd1e5e3fa9115ba270f2c0e5f645ac5183622e3
2016-08-23 11:18:44 +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
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