Add ploop to supported disk formats

This format is used for containers for Virtuozzo hypervisor

Closes-Bug: 1650342

Change-Id: Ic79f29a1fe9ea5016d3d5520c2b06e39da01ff61
This commit is contained in:
Mikhail Feoktistov 2016-12-15 19:29:55 +03:00 committed by Steve Martinelli
parent e24deda9cf
commit 63377f25fc
4 changed files with 9 additions and 4 deletions

View File

@ -79,7 +79,7 @@ Create/upload an image
.. option:: --disk-format <disk-format>
Image disk format. The supported options are: ami, ari, aki, vhd, vmdk,
raw, qcow2, vhdx, vdi, and iso. The default format is: raw
raw, qcow2, vhdx, vdi, iso, and ploop. The default format is: raw
.. option:: --size <size>
@ -339,7 +339,7 @@ Set image properties
.. option:: --disk-format <disk-format>
Image disk format. The supported options are: ami, ari, aki, vhd, vmdk,
raw, qcow2, vhdx, vdi, and iso.
raw, qcow2, vhdx, vdi, iso, and ploop.
.. option:: --size <size>

View File

@ -39,7 +39,7 @@ from openstackclient.i18n import _
DEFAULT_CONTAINER_FORMAT = 'bare'
DEFAULT_DISK_FORMAT = 'raw'
DISK_CHOICES = ["ami", "ari", "aki", "vhd", "vmdk", "raw", "qcow2", "vhdx",
"vdi", "iso"]
"vdi", "iso", "ploop"]
LOG = logging.getLogger(__name__)

View File

@ -33,7 +33,7 @@ from openstackclient.identity import common
DEFAULT_CONTAINER_FORMAT = 'bare'
DEFAULT_DISK_FORMAT = 'raw'
DISK_CHOICES = ["ami", "ari", "aki", "vhd", "vmdk", "raw", "qcow2", "vhdx",
"vdi", "iso"]
"vdi", "iso", "ploop"]
LOG = logging.getLogger(__name__)

View File

@ -0,0 +1,5 @@
---
features:
- Add ``ploop`` as a valid disk format choice for ``image create``
and ``image set`` commands.
[Bug `1650342 <https://bugs.launchpad.net/bugs/1650342>`_]