416 Commits

Author SHA1 Message Date
daizhiyong
1907220113 Add "consistency group show" command
Add "consistency group show" command in volume v2 (v2 only).

Change-Id: If496eba2955c0aacd52600bb6fba39690ddd90cb
Implements: bp cinder-command-support
Partial-Bug: #1613964
2016-12-02 20:45:13 +00:00
zhiyong.dai
094e5189b7 Add "consistency group delete" command
Add "consistency group delete" command in volume v2 (v2 only).

Change-Id: Ieebc2417df0d45a578d5617bad245d7863f09190
Implements: bp cinder-command-support
Partial-Bug: #1613964
2016-12-02 13:21:18 -06:00
Jenkins
7078502ea6 Merge "Sort list images by name by default" 2016-12-02 18:50:17 +00:00
Jenkins
d1f1f092c4 Merge "Add "--type" and "--retype-policy" options to "volume set" command" 2016-12-02 18:49:37 +00:00
Jenkins
2daeb30296 Merge "Add "Is Public" column in volume type list" 2016-12-02 18:32:49 +00:00
Jenkins
19ca396508 Merge "Using v2 as the default version of Glance" 2016-12-02 18:29:08 +00:00
Jenkins
5ec4290e27 Merge "Add commands for "consistency group snapshot"" 2016-12-02 18:29:01 +00:00
Jenkins
1c2b0c6b73 Merge "Add "consistency group create" command" 2016-12-02 18:28:22 +00:00
Jenkins
9b19a35bb7 Merge "Add --enable/disable-port-security option to port set and port create" 2016-12-02 05:28:21 +00:00
Jenkins
3a509be871 Merge "Introduce overwrite functionality in `osc subnet set`" 2016-12-01 21:57:15 +00:00
Jenkins
d6e058fa1f Merge "Add network service provider list to OSC" 2016-11-29 15:13:42 +00:00
Ankur Gupta
ac7d27adc6 Add network service provider list to OSC
Add network service providers commands to OSC

Change-Id: Iea8bbe460061d67e36a4346b349e07612112c732
Depends-On: Ie0be92e0717b8b13e31068276a12b5fbf784e374
2016-11-28 22:54:08 -06:00
Sindhu Devale
246f60ab13 Add --enable/disable-port-security option to port set and port create
This patch adds the currently missing options
`--enable-port-security` and `--disable-port-security`
in the `os port set` and `os port create` commands.

Partially-Implements: blueprint network-commands-options

Change-Id: I4dc11cdf32bf482a5937f5464fe8a3b418644ec3
2016-11-28 16:33:34 -06:00
Rodolfo Alonso Hernandez
4132392c2f Add QoS support to Network object.
Added "qos_policy" parameter to Network class.

Change-Id: Idc00f2792eef5b1f0910084d95cf9a8e83fe818c
Closes-Bug: 1627069
2016-11-28 09:35:00 +00:00
Reedip
abfcd7810c Introduce overwrite functionality in `osc subnet set`
The overwrite functionality allows user to overwrite
the dns-nameservers of a specific subnet.

Change-Id: I421808a3bdeb4565668f627b7929c4762cf40212
partially-implements: blueprint allow-overwrite-set-options
partially-implements: blueprint network-commands-options
2016-11-28 05:49:21 +00:00
Huanxuan Ao
4b14f3d0cb Add "--type" and "--retype-policy" options to "volume set" command
Add "--type" and "--retype-policy" options to
"volume set" command in volume v2 (v2 only) to
support changing the volume type for a volume

Change-Id: I0153abdb967aee790586a57cef31930e32005c1b
Implements: bp cinder-command-support
2016-11-23 10:34:31 +08:00
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
Vijendra Soni
a7a0d0c61a Sort list images by name by default
Set the default key and dir for openstack image list,
if no command line argument passed
Changing sort_key to name(old value: created_at)

Change-Id: I6c61f6e5a04824d655ccf43477afcec9652101df
Closes-Bug: #1639231
2016-11-21 20:19:53 +05:30
Huanxuan Ao
3907137f58 Add commands for "consistency group snapshot"
Add commands:
    consistency group snapshot create
    consistency group snapshot delete
    consistency group snapshot list
    consistency group snapshot show
in volume v2 (v2 only)

Change-Id: Ib4115f8ff00fb5aa8194588223032657eb1346b5
Closes-Bug: #1642238
Implements: bp cinder-command-support
2016-11-19 09:20:15 +08:00
Jenkins
f4536e708d Merge "Add '--network' and other options to floating ip list" 2016-11-18 23:08:20 +00:00
Dean Troyer
61cc546475 Add relnote for release 3.4.1
Change-Id: If7d0237c4ed032be9d225cd0a05972caf5946e2d
2016-11-18 11:08:40 -06:00
Fei Long Wang
4bce716733 Using v2 as the default version of Glance
Glance API v1 has been deprecated, so it's better to use v2 as
the default API version in openstackclient.

Closes-Bug: 1642772

Change-Id: I7d9e3228a2f3a3d0da437b7ee6f23e528de27fd3
2016-11-18 12:58:31 +00:00
Huanxuan Ao
98b9bc10d1 Add "consistency group create" command
Add "consistency group create" command in
volume v2 (v2 only).

Change-Id: I2e9affe390b1012aa18459e64d04afcdfc15e27d
Implements: bp cinder-command-support
Partial-Bug: #1613964
2016-11-17 22:07:04 +08: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
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
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
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
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
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
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
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
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
b6a8822921 Merge "Warning for empty password set for user create/set" 2016-10-25 10:19:30 +00: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
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
qtang
3770ad08b2 Warning for empty password set for user create/set
Raise warning when empty password set for user

Change-Id: If03516f3f1290e4c329fe3d1277dee0512de0410
Closes-Bug: #1607959
2016-10-19 03:07:54 +00:00
Huanxuan Ao
daffce3a6a Add "--read-only" and "--read-write" options in "volume set"
Add "--read-only" and "--read-write" options in "volume set"
command to set volume access mode.

Implements: bp cinder-command-support
Change-Id: I76ba85c7d3ff0eb026a9cbd794368d8b2b0d17fe
2016-10-18 14:34:05 +08:00
Huanxuan Ao
d7c8bb88e4 Add "volume migrate" command
Add "volume migrate" command in volume v1 and v2
to support migrating volume to a new host

Change-Id: Ie4e6037171a31a872006a13f9fd1e15eaa627c26
Implements: bp cinder-command-support
2016-10-18 11:48:30 +08:00
Aradhana Singh
c99ec284db Add description field port create & port set
This patchset
1. adds description field to openstack port create and
 openstack port set.
2. updates method _add_updatable_args with 4 spaces instead
 of existing 8 spaces

Partially Implements: blueprint neutron-client-descriptions
Partially Implements: blueprint network-commands-options

Change-Id: I4598e555722b1de7bc47f3a9be0fd81eacfcb572
2016-10-17 22:21:34 +00:00
Jenkins
528f7a76d0 Merge "Add necessary info to Floating IP list" 2016-10-17 20:30:30 +00:00