Commit Graph

3321 Commits

Author SHA1 Message Date
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
OpenStack Proposal Bot
0b5655fae8 Updated from global requirements
Change-Id: I1896f594f692e43e7c986594fc0afcf6a345b54e
2016-11-15 10:14:28 +00: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
Anne Gentle
5055074db0 Adds information about private key generation for instance access
- Also updated the help text in the command itself.

Change-Id: Ib3d4f94ef415a3f12024d0d7c000d2de20de001b
Partial-Bug: 1549410
2016-10-25 08:51:20 +02:00
Iswarya_Vakati
f4f1a51692 Updated coverage configuration file
removed unneccassary directories in .coveragerc file
  openstackclient/openstack/*

it is no longer valid, we no longer use content from oslo-incubator

Change-Id: I0b361617e855aae322009b97697dcc13a394ceba
2016-10-24 17:53:33 +05:30
judy-yu
151c161a5e Avoid duplicated project_id when show network
Project_id appear twice when show network. This
patch check and not append if it already has one.

Change-Id: I4400239f454522101b639a0412050dd60eb6a612
Closes-Bug: #1636123
Partially-Implements: blueprint duplicated-project-id
2016-10-24 17:16:48 +08:00
OpenStack Proposal Bot
be9306f1d4 Updated from global requirements
Change-Id: I76fa121b61b50403af404c8d6e5d9a390231230c
2016-10-22 01:27:27 +00:00
liujunpeng
09eb81674b update openstackclient page url
The wiki url has been deprecated.

Change-Id: I4101b357d59661dce06519f158181982c5f96db5
2016-10-21 09:00:45 +00:00
liujunpeng
586ac02058 update volume and zone commands
-add volume backup
-add zone export/import

Change-Id: Ied99ba78e9a45d323e68656ada318ed2984bdc02
2016-10-21 07:30:39 +00:00
Yan Xing'an
65a08d6af6 Improve a network testcase
Fix a typo networ to network, and add assertEqual lines.

Change-Id: I13c0c775c1d5f7a8f579d387cd9bea1bdd74aebc
2016-10-20 21:56:00 -07:00
Huanxuan Ao
292608dc08 Use FakeImage class to replace duplicated image info in volume test
FakeImage class has been added in image v1 so that
we can reuse it in volume v1 unit test to replace
the duplicated image info in volume v1 fake.

Change-Id: I0f96e568bd65e59241b57704fc2a379319a386d8
2016-10-21 10:39:06 +08:00
OpenStack Proposal Bot
e0aa1acbae Updated from global requirements
Change-Id: Iaa10a45834aef38a432c6cf84a7766252116773a
2016-10-21 00:50:36 +00:00
Yan Xing'an
e6fb658606 Correct help string of the subnet pool list options
Correct help string of subnet pool list options, from
"subnets" to "subnet pools".

Change-Id: Ic6dd6649f411748cd0c6e6b08f0451c8a0fa220f
Partially-Implements: blueprint network-commands-options
2016-10-20 06:25:58 -07:00
Huanxuan Ao
57d5f94540 Allow input the QoS policy name in network rbac create command
We could input a QoS policy ID for the "rbac_object"
parameter in "network rbac create" command but not
name before. After this change, "rbac_object" parameter
can be both QoS policy name or ID.

Change-Id: I0fd6b5b5ae410074d85475ef49e5a0a9a52bf86f
2016-10-20 12:37:40 +08:00
OpenStack Proposal Bot
fee1a31296 Updated from global requirements
Change-Id: I54c524ba67b4f481fe3e262dcc4bc6c5601608a8
2016-10-19 17:46:01 +00:00
Jenkins
cf88d03957 Merge "Reset allocation pools to [] instead of ''" 2016-10-19 14:24:15 +00:00
Yan Xing'an
a1e3056414 Add option to allow filtering by mac-address on port list
Added support to allow filtering ports via --mac-address
option to the port list command.

Change-Id: I903e443f2f9057571d46520c4cafb88d1972c0cb
Partial-bug: #1634333
Partially-Implements: blueprint network-commands-options
2016-10-19 02:50:47 -07:00