Skip to content

Commit 63377f2

Browse files
mfeoktistovstevemar
authored andcommitted
Add ploop to supported disk formats
This format is used for containers for Virtuozzo hypervisor Closes-Bug: 1650342 Change-Id: Ic79f29a1fe9ea5016d3d5520c2b06e39da01ff61
1 parent e24deda commit 63377f2

4 files changed

Lines changed: 9 additions & 4 deletions

File tree

doc/source/command-objects/image.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ Create/upload an image
7979
.. option:: --disk-format <disk-format>
8080
8181
Image disk format. The supported options are: ami, ari, aki, vhd, vmdk,
82-
raw, qcow2, vhdx, vdi, and iso. The default format is: raw
82+
raw, qcow2, vhdx, vdi, iso, and ploop. The default format is: raw
8383
8484
.. option:: --size <size>
8585
@@ -339,7 +339,7 @@ Set image properties
339339
.. option:: --disk-format <disk-format>
340340
341341
Image disk format. The supported options are: ami, ari, aki, vhd, vmdk,
342-
raw, qcow2, vhdx, vdi, and iso.
342+
raw, qcow2, vhdx, vdi, iso, and ploop.
343343
344344
.. option:: --size <size>
345345

openstackclient/image/v1/image.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
DEFAULT_CONTAINER_FORMAT = 'bare'
4040
DEFAULT_DISK_FORMAT = 'raw'
4141
DISK_CHOICES = ["ami", "ari", "aki", "vhd", "vmdk", "raw", "qcow2", "vhdx",
42-
"vdi", "iso"]
42+
"vdi", "iso", "ploop"]
4343

4444

4545
LOG = logging.getLogger(__name__)

openstackclient/image/v2/image.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
DEFAULT_CONTAINER_FORMAT = 'bare'
3434
DEFAULT_DISK_FORMAT = 'raw'
3535
DISK_CHOICES = ["ami", "ari", "aki", "vhd", "vmdk", "raw", "qcow2", "vhdx",
36-
"vdi", "iso"]
36+
"vdi", "iso", "ploop"]
3737

3838

3939
LOG = logging.getLogger(__name__)
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
features:
3+
- Add ``ploop`` as a valid disk format choice for ``image create``
4+
and ``image set`` commands.
5+
[Bug `1650342 <https://bugs.launchpad.net/bugs/1650342>`_]

0 commit comments

Comments
 (0)