Commit graph

3420 commits

Author SHA1 Message Date
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
Jenkins
29587eaa66 Merge "Add extra filtering options to floating ip list" 2016-12-09 15:21:03 +00:00
Jenkins
3bc64aa198 Merge "Add unit tests for server create in computev2" 2016-12-09 12:28:20 +00: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
83cf09df28 Merge "Correct missspellings of secret" 2016-12-08 21:43:36 +00:00
Jenkins
d09fd7d832 Merge "Add '--force' option to 'volume snapshot delete' command" 2016-12-08 17:46:30 +00:00
Jenkins
f18328e5bf Merge "Trivial: update volume-qos.rst" 2016-12-08 17:45:18 +00:00
Jenkins
1925a9e5b3 Merge "Add "consistency group set" command" 2016-12-08 17:45:14 +00:00
Jenkins
5408d02de4 Merge "Fix description errors in volume fakes" 2016-12-08 17:45:06 +00:00
Jenkins
6bd1135036 Merge "Add options to "volume snapshot list" command" 2016-12-08 17:44:58 +00:00
Jenkins
b22af88a19 Merge "Adjust the code sequence in consistency_group.py" 2016-12-08 17:44:50 +00:00
Jenkins
b18dcfc4cb Merge "Add "consistency-group-snapshot" option to consistency group create" 2016-12-08 17:44:42 +00:00
Jenkins
a9be7a6c73 Merge "SDK Refactor: Prepare ip availability commands" 2016-12-08 17:40:58 +00:00
Jenkins
bd69d55050 Merge "Add "volume host set" command" 2016-12-08 17:40:46 +00:00
Jenkins
5428e09525 Merge "Remove auth_with_unscoped_saml decorator" 2016-12-08 17:40:38 +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
Dougal Matthews
841616f729 Correct missspellings of secret
Change-Id: Ia00d5cf3a32f534d1c0f40d5b295610f88a777d4
2016-12-08 13:15:47 +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
6da1f97acd Trivial: update volume-qos.rst
Before the ".. describe",some codes are left out. I add them in this patch.
In addition, I change "[--property <key> ] to [--property <key> [...] ]

Change-Id: I37ae0ba53e2a2d43a4806b318c7776ff2260fd1d
2016-12-07 18:33:34 +08:00
Huanxuan Ao
3e9109bc7c Add "consistency-group-snapshot" option to consistency group create
Add "consistency-group-snapshot" option to
"consistency group create" command to support
for creating consistency group from existing
consistency group snapshot

Implements: bp cinder-command-support
Partial-Bug: #1613964
Change-Id: I54c265d38299f4973945ba99e30042bcf47859c0
2016-12-07 12:41:17 +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
Jenkins
158dbe124a Merge "Add '--project' and '--project-domain' options to os cmds" 2016-12-05 22:28:21 +00:00
Jenkins
fdf93e04e6 Merge "Revert "Remove marker and loop from "image list" command"" 2016-12-05 22:21:47 +00:00
Steve Martinelli
42f33435ed Revert "Remove marker and loop from "image list" command"
This reverts commit 0b6fdcbe4c.

Adapt "image list" to not loop when --marker is specified on command
line.

Update tests to work with current state of code.

Change-Id: I8af58adf8637a9e34371c6280db40935d22bc3c3
2016-12-05 10:35:00 +01:00
Colleen Murphy
5203cc9707 Remove auth_with_unscoped_saml decorator
The auth_with_unscoped_saml decorator existed to make sure the user
selected the right auth plugin before trying to call either a
'federation domain' or 'federation project' command. This is outdated,
because openstackclient now uses keystoneauth[1] and keystoneauth
removed its entrypoints for the federation plugins[2] since its
_Rescoped class no longer needs them. This patch removes the decorator
since that validation check was the only thing standing in the way of
the commands working correctly. Also removed the '*_list_wrong_auth'
tests since those only existed to test the decorator, and stopped
setting the plugin in the positive tests since the
automatically-determined token plugin should now be fine.

[1] http://git.openstack.org/cgit/openstack/python-openstackclient/commit/?id=6ae0d2e8a54fd5139e63a990ab4bdce634e73c5e
[2] http://git.openstack.org/cgit/openstack/keystoneauth/commit/?id=d9e4d26bb86f8d48e43188b88bab9d7fe778d2c1

Change-Id: Id981739663113447a7bba8ddba81ba9394a19e07
Closes-bug: #1624115
2016-12-04 18:59:09 +00:00
Ankur Gupta
8c71a35eeb SDK Refactor: Prepare ip availability commands
Prepared the OSC "ip availability" commands for the SDK refactor.
See [1] for details.

[1] https://etherpad.openstack.org/p/osc-network-command-sdk-support

Change-Id: Ia22e9fafec0a91ba1b0f1ce825fcaf1d8cbbbf88
Partially-Implements: blueprint network-command-sdk-support
2016-12-04 17:31:12 +00:00
zhiyong.dai
99ba4f86b0 Adjust the code sequence in consistency_group.py
Place "CreateConsistencyGroup" above "DeleteConsistencyGroup"

Change-Id: I554a8e445fee0760450b2da3b5c4a4f3b2434d60
2016-12-04 18:21:06 +08:00
judy-yu
83675e9ee0 Avoid duplicated project_id when show network resources
Project_id appear twice when show network resources. This
patch check and not append if it already has one.

Change-Id: I744988f3f52d4a744e397a6a82fefdc4c17eacbf
Closes-Bug: #1636123
Partially-Implements: blueprint duplicated-project-id
2016-12-04 18:03:33 +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
Jenkins
2fd5ca22f6 Merge "Add "consistency group show" command" 2016-12-02 22:56:23 +00:00
Jenkins
d2701116d3 Merge "Add "consistency group delete" command" 2016-12-02 21:02:40 +00:00
Jenkins
4debdc6dbb Merge "Updated from global requirements" 2016-12-02 20:45:15 +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
12442371a8 Merge "SDK Refactor: Prepare security group rule commands" 2016-12-02 18:50:45 +00:00
Jenkins
279563e45b Merge "SDK Refactor: Prepare network rbac commands" 2016-12-02 18:50:37 +00:00
Jenkins
6977105383 Merge "SDK Refactor: Prepare network qos policy commands" 2016-12-02 18:50:29 +00:00
Jenkins
3730fe9f5f Merge "SDK Refactor: Prepare subnet commands" 2016-12-02 18:50:21 +00: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
6f8a080f27 Merge "Remove outdated comments in volume unit test" 2016-12-02 18:29:15 +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
OpenStack Proposal Bot
d5b69c6269 Updated from global requirements
Change-Id: I8f9828e5e3a266a1ba52f9c09ddad4ed8d928e1b
2016-12-02 17:18:11 +00:00
Jenkins
307a847685 Merge "Correct reraising of exception" 2016-12-02 13:34:51 +00:00
Jenkins
2de45c2805 Merge "clean up image choices and help text" 2016-12-02 13:11:30 +00:00
Jenkins
c0dd8086e5 Merge "Updated from global requirements" 2016-12-02 07:11:23 +00:00