Merge "Document new properties used by Ironic"
This commit is contained in:
commit
c99c3af4ff
@ -13,6 +13,9 @@ the behavior of those other services. For example:
|
|||||||
* Image properties can be used to affect the behavior of particular Nova
|
* Image properties can be used to affect the behavior of particular Nova
|
||||||
hypervisors
|
hypervisors
|
||||||
|
|
||||||
|
* Image properties can be used to provide additional information to Ironic
|
||||||
|
(even when Nova is not used)
|
||||||
|
|
||||||
Using image properties
|
Using image properties
|
||||||
----------------------
|
----------------------
|
||||||
|
|
||||||
@ -155,6 +158,22 @@ Here is a list of useful image properties and the values they expect.
|
|||||||
- ``mandatory``
|
- ``mandatory``
|
||||||
- ``optional`` (default if property is not used)
|
- ``optional`` (default if property is not used)
|
||||||
|
|
||||||
|
``img_type``
|
||||||
|
:Type: str
|
||||||
|
|
||||||
|
Specifies the partitioning type of the image. The default value is
|
||||||
|
``partition`` if the ``kernel_id``/``ramdisk_id`` properties are present,
|
||||||
|
otherwise ``whole-disk``.
|
||||||
|
|
||||||
|
One of:
|
||||||
|
|
||||||
|
- ``whole-disk`` - an image with a partition table embedded.
|
||||||
|
- ``partition`` - an image with only the root partition without a partition
|
||||||
|
table.
|
||||||
|
|
||||||
|
.. note::
|
||||||
|
This property is currently only recognized by Ironic.
|
||||||
|
|
||||||
``kernel_id``
|
``kernel_id``
|
||||||
:Type: str
|
:Type: str
|
||||||
|
|
||||||
@ -251,6 +270,12 @@ Here is a list of useful image properties and the values they expect.
|
|||||||
|
|
||||||
The value must be a valid image ID.
|
The value must be a valid image ID.
|
||||||
|
|
||||||
|
``rootfs_uuid``
|
||||||
|
For whole-disk images (see ``img_type`` above), the UUID of the root
|
||||||
|
partition.
|
||||||
|
|
||||||
|
This property is used by Ironic when configuring software RAID.
|
||||||
|
|
||||||
``trait:<trait_name>``
|
``trait:<trait_name>``
|
||||||
:Type: str
|
:Type: str
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user