summaryrefslogtreecommitdiff
path: root/releasenotes
diff options
context:
space:
mode:
authorStephen Finucane <sfinucan@redhat.com>2021-01-20 17:42:42 +0000
committerStephen Finucane <sfinucan@redhat.com>2021-01-22 13:00:39 +0000
commitace4bfb6404b7b39c597c4884c56e26a47a94fc4 (patch)
tree2cb59826e6214447878510fae6e4a03f6db130c7 /releasenotes
parentf2deabb136efdfca02a51b503f97cbb436ddfb45 (diff)
downloadpython-openstackclient-ace4bfb6404b7b39c597c4884c56e26a47a94fc4.tar.gz
compute: Add 'server create --block-device' option
One of the last big gaps with novaclient. As noted in the release note, the current '--block-device-mapping' format is based on the old BDM v1 format, even though it actually results in BDM v2-style requests to the server. It's time to replace that. Change-Id: If4eba38ccfb208ee186b90a0eec95e5fe6cf8415 Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
Diffstat (limited to 'releasenotes')
-rw-r--r--releasenotes/notes/add-missing-server-create-opts-d5e32bd743e9e132.yaml9
1 files changed, 9 insertions, 0 deletions
diff --git a/releasenotes/notes/add-missing-server-create-opts-d5e32bd743e9e132.yaml b/releasenotes/notes/add-missing-server-create-opts-d5e32bd743e9e132.yaml
index b82a9d30..951d944d 100644
--- a/releasenotes/notes/add-missing-server-create-opts-d5e32bd743e9e132.yaml
+++ b/releasenotes/notes/add-missing-server-create-opts-d5e32bd743e9e132.yaml
@@ -6,3 +6,12 @@ features:
- ``--snapshot``
- ``--ephemeral``
- ``--swap``
+ - ``--block-device``
+deprecations:
+ - |
+ The ``--block-device-mapping`` option of the ``server create`` command
+ has been deprecated in favour of ``--block-device``. The format of the
+ ``--block-device-mapping`` option is based on the limited "BDM v1"
+ format for block device maps introduced way back in the v1 nova API. The
+ ``--block-device`` option instead exposes the richer key-value based
+ "BDM v2" format.