python-openstackclient/openstackclient
Rui Chen 7a7bb06377 Make block-device-mapping more stable and clear
The patch fix the following issues:

1. ValueError is raised if input don't contain "=". Sometimes the whole
"server create" command is very complex, it's difficult to find out root
reason directly.
2. Don't support to add block device from snapshot, like:
--block-device-mapping
vdb=0c8ae9d8-cadc-4a23-8337-4254614d277e:snapshot:1, it's supported by
novaclient, but not in osc.
3. If input "vdb=", not add any mapping information, the server will be
launched successfully, not raise error message to let use add
volume/snapshot id, just ignore "--block-device-mapping" option.
4. The help message of "block-device-mapping" option is so simple, need
to add some details about how to add <type>, <delete_on_terminate>
contains.

Change-Id: Ib7f7a654c3dc2a8272545f168b4c4ced230ce39e
Depends-On: Ib37913891bbf7a31b570404c4668c490d5ac859b
Closes-Bug: #1667266
2017-05-17 01:42:12 +00:00
..
api Fix Nova-net netowrk commands 2017-04-27 20:36:00 +00:00
common Ignore more exceptions in quota list 2017-05-11 08:47:37 -05:00
compute Make block-device-mapping more stable and clear 2017-05-17 01:42:12 +00:00
identity Support to add/remove multi users for "group add/remove user" 2017-03-21 10:39:42 +08:00
image Help/docs cleanups: marker, limit, ip-address metavars 2017-04-04 03:56:19 +00:00
locale Imported Translations from Zanata 2016-06-04 06:18:46 +00:00
network Merge "Revert "Fix port command for SDK >0.9.10"" 2017-05-07 15:30:23 +00:00
object Help/docs cleanups: marker, limit, ip-address metavars 2017-04-04 03:56:19 +00:00
tests Make block-device-mapping more stable and clear 2017-05-17 01:42:12 +00:00
volume Fix volume qos spec list 2017-04-28 16:06:00 -05:00
__init__.py Change version reporting to use pbr 2013-08-02 12:11:49 -05:00
i18n.py Remove log translations 2017-03-21 17:23:09 +08:00
shell.py Improve no-auth path 2017-04-24 18:57:10 -05:00