649 Commits

Author SHA1 Message Date
Nguyen Phuong An
8bcfb824c8 Add 'allowed address pairs' option to 'port create/set/unset'
This patch adds '--allowed-addres-pair' and '--no-allowed-address-pair'
options to 'port create', 'port set' and 'port unset' commands.

Partial-Bug: #1612136
Closes-Bug: #1638265
Partially-Implements: blueprint network-commands-options
Co-Authored-By: Ha Van Tu <tuhv@vn.fujitsu.com>
Change-Id: I08d2269950467a8972a0d0110ed61f5cc7f5ca45
2016-12-20 15:16:15 +07:00
Reedip
4a5bf8d2a5 Add support for clearing router gateway
This patch adds the support to clear the gateway information
from a router.

Change-Id: I446c556750f080a6fc21fea8f531fd71838d648a
Implements: blueprint neutron-client-advanced-router
Partially-Implements: blueprint network-commands-options
2016-12-19 17:30:19 -05:00
Reedip
25104c7d4a Introduce overwrite functionality in `osc router set`
The overwrite functionality allows user to overwrite
the routes of a specific router.

Change-Id: I8d3cfe5cab2ffbfa046371c3adcd2cf446c91cbc
partially-implements: blueprint allow-overwrite-set-options
2016-12-19 16:57:02 -05:00
Jenkins
e51a2b3b17 Merge "Add support for setting router gateway" 2016-12-19 14:31:11 +00:00
Jenkins
a17687288b Merge "Add filtering options to the address scope list command" 2016-12-18 14:30:44 +00:00
Jenkins
cc4ede88e9 Merge "Add --default option to "volume type list"" 2016-12-18 12:20:28 +00:00
Yan Xing'an
d12aa86f7c Add filtering options to the address scope list command
Add --name, --ip-version, --project, --project-domain,
--share, --no-share options to the address scope list command.

Change-Id: I8ece8da473d07dfc21dfb5b17de47624241f0142
Closes-Bug: #1636046
Partially-Implements: blueprint network-commands-options
2016-12-18 19:46:11 +08:00
Reedip
841d9d8dbd Add support for setting router gateway
This patch adds the support to set the gateway information
for a router.

Implements: blueprint neutron-client-advanced-router
Partially-Implements: blueprint network-commands-options
Change-Id: Ifb5a4d1965cd7e75c0c8cf2cfb677e0628b699dc
Depends-On: I2bda0dd40afd64b6cecca5f64ef2326bda4fac92
2016-12-17 18:22:45 +00:00
Jenkins
3ff713fd57 Merge "Add some options to "volume create" command" 2016-12-16 08:20:03 +00:00
Mikhail Feoktistov
63377f25fc Add ploop to supported disk formats
This format is used for containers for Virtuozzo hypervisor

Closes-Bug: 1650342

Change-Id: Ic79f29a1fe9ea5016d3d5520c2b06e39da01ff61
2016-12-15 12:46:55 -05:00
jeckxie
74360e00f5 [TrivialFix] Fix typo error
Change-Id: Iaba9ba22de044b34b4b77f81bcdccda13af81405
2016-12-14 14:39:24 +08:00
Jenkins
112afb752b Merge "3.5.0 release note cleanup" 2016-12-14 05:22:22 +00:00
Dean Troyer
11a762e03c 3.5.0 release note cleanup
Change-Id: Ibe5e5a9a212ac483d0cb38bdb3a607d21f32e96d
2016-12-13 16:09:21 -06:00
zhiyong.dai
2f2603d908 Add two consistency group commands
Add commands:
    consistency group add volume
    consistency group remove volume
in volume v2 (v2 only)

Change-Id: I70ff287d3b5df78196b8f4b9e50402c471aef284
Implements: bp cinder-command-support
Closes-Bug: #1613964
2016-12-13 15:32:04 +08:00
Huanxuan Ao
7357b24d3a Add "--remote-source" option to "volume snapshot create" command
Add "--remote-source" option to "volume snapshot create" command
to support creating snapshot from an existing remote snapshot in
volume v2 (v2 only), also add the doc, unit tests and release note.

Change-Id: I9e5fad4f0db5b44d528eb6b930edbc816e392c3a
Implements: bp cinder-command-support
Closes-Bug: #1618676
Co-Authored-By: Sheel Rana <ranasheel2000@gmail.com>
2016-12-12 23:06:00 +08:00
songminglong
47716d1ad3 Add extra filtering options to floating ip list
The patch adds filtering '--long', 'status', '--project',
'--project-domain' and '--router' options to
floating ip list command.

Closes-Bug: #1614379
Partially-Implements: blueprint network-commands-options
Change-Id: I2a02cf23845ff435927d8b481f77249915bd94dc
2016-12-09 14:23:26 +08:00
Jenkins
d09fd7d832 Merge "Add '--force' option to 'volume snapshot delete' command" 2016-12-08 17:46:30 +00:00
Jenkins
1925a9e5b3 Merge "Add "consistency group set" command" 2016-12-08 17:45:14 +00:00
Jenkins
6bd1135036 Merge "Add options to "volume snapshot list" command" 2016-12-08 17:44:58 +00:00
Jenkins
bd69d55050 Merge "Add "volume host set" command" 2016-12-08 17:40:46 +00:00
Jenkins
b8f976871a Merge "Add "dns-name" option to "os port create" and "os port set"" 2016-12-08 17:37:38 +00:00
Huanxuan Ao
bbfd8cb46b Add '--force' option to 'volume snapshot delete' command
Add '--force' option to 'volume snapshot delete' command in
volume v2 (v2 only) to allow delete in state other than error
or available.

Change-Id: Ie8991e9a630d7c7e9ac6c6870aed787bbcebacf2
Closes-Bug: #1597195
2016-12-08 17:08:58 +08:00
zhiyong.dai
4dc78e4265 Add "consistency group set" command
Add "consistency group set" command in volume v2 (v2 only).

Change-Id: I53116015388b7a4b0e15813f52c1246166bb0fc1
Implements: bp cinder-command-support
Partial-Bug: #1613964
2016-12-06 17:36:25 +08:00
jiahui.qiang
d083ddb12f Add --default option to "volume type list"
Add "--default" option to volume v2's "type list"
command, it will show which volume type the volume
service has set as default.

Implements: bp cinder-command-support
Change-Id: Iae7ebc633ebe5554cc88390a84361887ec211fb2
2016-12-06 06:44:16 +08:00
Jenkins
158dbe124a Merge "Add '--project' and '--project-domain' options to os cmds" 2016-12-05 22:28:21 +00:00
jiahui.qiang
7e5a98bca9 Add some options to "volume create" command
Add "--bootable", "--non-bootable", "--read-only" and "--read-write" options
to "volume create" command for setting some attributes at the time of crration.

Change-Id: I71b4e9fccb4ee0ab1a90e7179d6d2d34dbbae909
Implements: bp cinder-command-support
2016-12-06 00:17:36 +08:00
Nam Nguyen Hoai
df5f12b135 Add "dns-name" option to "os port create" and "os port set"
This patch added a "dns-name" option to
"os port create" and "os port set" command.

Change-Id: I360e2c9a1970e64fe17e4561d7618f860b937373
Co-Authored-By: Ha Van Tu <tuhv@vn.fujitsu.com>
Partial-Bug: #1612136
Partially-Implements: blueprint network-commands-options
2016-12-03 17:08:17 +07:00
Jenkins
e05c8d7bb0 Merge "Refactor "snapshot" commands" 2016-12-03 04:30:51 +00:00
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
Nam Nguyen Hoai
ce079d2261 Add '--project' and '--project-domain' options to os cmds
This patch added '--project' and '--project-domain' options to
filter subnets resulted by 'os subnet list',
'os floating ip create' and 'os security group list' commands.

Co-Authored-By: Ha Van Tu <tuhv@vn.fujitsu.com>
Change-Id: I727663d49ffa6aa042fdeb60797f18bb753b0372
Closes-Bug: #1613231
Closes-Bug: #1610909
Closes-Bug: #1613629
Partially-Implements: blueprint network-commands-options
2016-12-01 14:59:10 +07: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
jiahui.qiang
6ca4dc3533 Add options to "volume snapshot list" command
Add "--name", "--status" and "--volume" options
to "volume snapshot list" command for filtering results.

Change-Id: I72db1abce7701f31598deec34801a4d1f5713870
Closes-Bug:#1645252
2016-11-26 23:13:50 +08:00
jiahui.qiang
71e6d44476 Add "volume host set" command
Add "volume host set" command in volume v2 to support freeze(disable)
and thaw(enable) the specified cinder-volume host

Change-Id: Iee1604d72f9eccd9e327b0ef8d345909a733a647
Implements: bp cinder-command-support
2016-11-25 05:21:00 +08: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
zhiyong.dai
55195cec46 Add "volume host failover" command
Add "volume host failover" command in volume v2 (v2 only).

Change-Id: Ia39e6d20bf5c9d3096e46f3432804a240827548d
Implements: bp cinder-command-support
2016-11-21 22:56:41 +08: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