3335 Commits

Author SHA1 Message Date
Huanxuan Ao
5e070c36a1 Add "Is Public" column in volume type list
I think admin users will like to see the "Is Public" column
in volume type list since they can know the volume type
is public or private, so add "Is Public" column in volume
type list

Change-Id: I3f6e297a7adf82a275debbd87d2c4da415aa1360
Closes-Bug: #1643861
2016-11-22 14:58:55 +00:00
Jenkins
f4536e708d Merge "Add '--network' and other options to floating ip list" 2016-11-18 23:08:20 +00:00
Jenkins
5787d3cbae Merge "Add relnote for release 3.4.1" 2016-11-18 18:42:42 +00:00
Jenkins
9a4075334b Merge "Use project_domain_id only in password auth" 2016-11-18 18:02:35 +00:00
Dean Troyer
61cc546475 Add relnote for release 3.4.1
Change-Id: If7d0237c4ed032be9d225cd0a05972caf5946e2d
2016-11-18 11:08:40 -06:00
Boris Bobrov
e51a8d6374 Use project_domain_id only in password auth
The method being changed constructs domain-related parameters that will
further be passed to the auth plugin. If project domain is not
passed, the method sets it to the default domain.

token_endpoint does not expect any information about domain,
because it uses only a token and URL. Passing it to auth plugin causes
an exception.

Construct domain-related parameters only for specific plugins, such
as password or totp.

Change-Id: I13db3bbe31a0ed843e9f4528d37c768546e2bee9
Closes-Bug: 1642301
2016-11-18 13:52:58 +00:00
Steve Martinelli
0ef8535036 translate all command help strings
Leverage the new cliff command class attribute (_description)
to get the help of a command, this allows us to mark strings
for translation. We could not do this before since the help
was grabbed from the docstring.

This also depends on a new release of cliff and a bump to the
minimum level in osc's requirements.

Closes-Bug: 1636209
Depends-On: Id915f6aa7d95a0ff3dc6e2ceaac5decb3f3bf0da
Change-Id: I8673080bb5625e8e3c499feaefd42dfc7121e96f
2016-11-17 02:33:42 +00:00
OpenStack Proposal Bot
6eef3277f5 Updated from global requirements
Change-Id: Ie6b85f717a7fe5bce2f6a711168dba894940cde9
2016-11-16 22:16:41 +00:00
Jenkins
17c0c70e7e Merge "3.4.0 release note cleanup" 2016-11-16 17:43:42 +00:00
Jenkins
16ffc51bf6 Merge "Do proper deprecation for security group rule create" 2016-11-16 17:00:48 +00:00
Dean Troyer
ad5ae83a34 3.4.0 release note cleanup
Change-Id: I4023e80da43e0cb28150db2892f301d141d63ef8
2016-11-16 09:47:37 -06:00
Dean Troyer
0ac4370c09 Do proper deprecation for security group rule create
Review I03fd0e14e470e7272930ac2651e73263b83bd4e1 renamed the
--src-group and --src-ip options to --remote-group and --remote-ip
but did not properly deprecate the old option names.

Add deprecation warnings when the old option names are used.

Also, format the warnings using the new proposed translation guideline
for marking substrings to not be translated, such as literal names
and option names.

Change-Id: I63d085d190fc28b8637e7686016eda4efbdda1be
2016-11-16 07:53:30 -06:00
Reedip
76c7a0af57 TrivialFix: Insert blank space for readability
Change-Id: Ia4612f65332d788e186c801edb98486862f98e56
2016-11-16 14:10:10 +05:30
OpenStack Proposal Bot
4cd336b128 Updated from global requirements
Change-Id: I96c212312bca547dd5a27b6af8cfabad46d6e1da
2016-11-16 00:21:32 +00:00
OpenStack Proposal Bot
0b5655fae8 Updated from global requirements
Change-Id: I1896f594f692e43e7c986594fc0afcf6a345b54e
2016-11-15 10:14:28 +00:00
songminglong
839c5f7a84 Add '--network' and other options to floating ip list
The patch adds filtering '--network', '--port',
'--fixed-ip-address' options to floating ip list command

Partial-Bug: #1614379
Change-Id: I82319d0985d9e864431097c90264a20bf88167cc
2016-11-13 10:11:03 +08:00
Jenkins
95c26cebaa Merge "network.common.NetworkAndComputeShowOne: catch HttpException" 2016-11-10 18:10:41 +00:00
Jenkins
85c26caa2e Merge "Not appropriate name sg rule attribute" 2016-11-10 18:10:34 +00:00
Jenkins
85f2afdad0 Merge "Add description field port create & port set" 2016-11-10 18:10:27 +00:00
Jenkins
518fbf0397 Merge "Support --provider-* options in the network list command" 2016-11-10 18:09:24 +00:00
Jenkins
81c0129365 Merge "Add option to allow filtering by mac-address on port list" 2016-11-10 18:09:14 +00:00
Jenkins
496dbfc52e Merge "Use FakeImage class to replace duplicated image info in volume test" 2016-11-10 18:09:07 +00:00
Jenkins
f3d3813522 Merge "Allow input the QoS policy name in network rbac create command" 2016-11-10 18:09:00 +00:00
Jenkins
c89d441008 Merge "Add direction and protocol options to os security group rule list cmd" 2016-11-10 18:08:53 +00:00
Jenkins
55ddaf7bbe Merge "Add "--read-only" and "--read-write" options in "volume set"" 2016-11-10 16:59:18 +00:00
Jordan Pittier
52279b1b04 network.common.NetworkAndComputeShowOne: catch HttpException
Problem: if a user issue the cmd 'openstack floating ip create public'
and has already maxed his quota for FIP, OSC exits with a not so useful
message:

>jordan@jordan-XPS13-9333:~ $ openstack floating ip create public
>HttpException: Conflict

This patches catch the HttpException earlier and prints a more
verbose message:

> jordan@jordan-XPS13-9333:~ $ openstack floating ip create public
> Error while executing command: Quota exceeded for resources: ['floatingip']

Change-Id: I7c87524d871d230d92f007c32e06439b34c7194a
2016-11-10 16:30:23 +01:00
Jenkins
b37ad9992b Merge "Add "volume migrate" command" 2016-11-10 14:13:28 +00:00
Jenkins
8b2f256828 Merge "Add 'description' option" 2016-11-09 20:05:56 +00:00
OpenStack Proposal Bot
a1ed375292 Updated from global requirements
Change-Id: I27e6899434ac47018a6ebd140cd326e7c6cd00d9
2016-11-09 04:24:18 +00:00
Sindhu Devale
52c4a55d43 Add 'description' option
This patch adds '--description' option to
os security group rule create cmd.

Change-Id: I604bcdeb4658d2dcc4d860a87e704e186cca5225
Partially-Implements: blueprint network-commands-options
Partially-Implements: blueprint neutron-client-descriptions
2016-11-08 21:52:41 +00:00
Jenkins
874933debd Merge "SDK refactor: Prepare floating ip commands" 2016-11-08 19:47:56 +00:00
Jenkins
6bba1f0008 Merge "SDK Refactor: Prepare subnet pool commands" 2016-11-08 19:47:49 +00:00
Jenkins
c27da0564c Merge "SDK Refactor: Prepare network segment commands" 2016-11-08 19:47:41 +00:00
Jenkins
b072edd80a Merge "SDK Refactor: Prepare address scope commands" 2016-11-08 19:10:38 +00:00
Jordan Pittier
55669b90c0 Add 'all-projects' option to 'volume backup list'
Similar to what 'volume list --all-projects' does, 'volume backup
list --all-projects' list volume backups accross all projects.

Change-Id: Id5dda9b5adc822c4ddfb2dda339946d3322858e2
2016-11-08 17:35:51 +01:00
Huanxuan Ao
e07b0e0919 Add options to "volume backup list" command
Add "--name", "--status", "--volume", "--marker" (v2 only)
and "--limit" (v2 only) options to "volume backup list" command

Change-Id: If20cb7650f2359d393ee314d9e055a8659c73009
Closes-Bug: #1612484
Closes-Bug: #1639712
2016-11-08 04:47:57 +00:00
OpenStack Proposal Bot
0e3e05098c Updated from global requirements
Change-Id: I6e4dbe7ad08d749aa153eb30887802c6fb129a13
2016-11-06 02:07:15 +00:00
judy-yu
3a915b5b5f Not appropriate name sg rule attribute
For ingress rules set ip-prefix means src-ip-
prefix, but for egress rules set ip-prefix means
dst-ip-prefix. It is not appropriate to name
src-ip directly. So as to src-group.

Change-Id: I03fd0e14e470e7272930ac2651e73263b83bd4e1
Closes-bug: #1637365
2016-11-04 17:23:46 +08:00
Sindhu Devale
86a3c7a415 SDK refactor: Prepare floating ip commands
Prepare the OSC "floating ip" commands for the SDK refactor.

Change-Id: I02052185b3ce0b053acdcf76a0f68d49e6f7e608
Partially-Implements: blueprint network-command-sdk-support
2016-11-03 14:54:11 +00:00
OpenStack Proposal Bot
970b0e0005 Updated from global requirements
Change-Id: I2cfff831e1ef85249bb6ec19637ac75f2ee9f899
2016-11-02 15:40:40 +00:00
Yi Zhao
84beac5994 Add filtering options --name,--enable,--disable to router list
Change-Id: I171b6be4501b02c3df66589c45177200919117db
Closes-Bug: #1637945
Partially-Implements: blueprint network-commands-options
2016-10-31 16:54:08 +08:00
Yan Xing'an
960b2658dc Support --provider-* options in the network list command
Add --provider-network-type, --provider-physical-network, --provider-segment
options into network list command.

Change-Id: I02546170211fb3e7e55d5dc7e7cdc6d387fd26e5
Closes-Bug: #1635580
Partially-Implements: blueprint network-commands-options
2016-10-27 23:37:59 -07:00
Yan Xing'an
8ca1cc6370 Add --long option and more columns to the hypervisor list command
Support --long option and more columns in output of hypervisor
list command, including 'Hypervisor Type', 'Host IP', 'State',
and 'vCPU Used', 'vCPUs', 'Memory MB Used', 'Memory MB' with
--long option.

Change-Id: I0c790c7835309dded03e230cf497168e19404537
Closes-Bug: #1637074
2016-10-27 04:33:47 -07:00
Jenkins
0b63d5d586 Merge "Rename variable to avoid shadowing of built-in name" 2016-10-25 10:44:05 +00:00
Jenkins
824ed8490f Merge "Avoid duplicated project_id when show network" 2016-10-25 10:28:31 +00:00
Jenkins
ac7b336ce3 Merge "Updated coverage configuration file" 2016-10-25 10:28:23 +00:00
Jenkins
7825e1a2c3 Merge "Adds information about private key generation for instance access" 2016-10-25 10:28:15 +00:00
Jenkins
b6a8822921 Merge "Warning for empty password set for user create/set" 2016-10-25 10:19:30 +00:00
Jenkins
2be2190115 Merge "update volume and zone commands" 2016-10-25 10:09:42 +00:00
Jenkins
ddb1ce0e12 Merge "update openstackclient page url" 2016-10-25 10:09:16 +00:00