Document block_device_mapping_v2 delete_on_termination defaults

The default values for the 'delete_on_termination' flag for
the 'block_device_mapping_v2' depends on other parameters
of the mapping and it is not obvious for a user which default
is used in which case.
This patch documents the defaults for the different cases.

Change-Id: I44e3646e55c067aea95044f5da7c5536387d6f23
Signed-off-by: Andreas Florath <Andreas.Florath@telekom.de>
This commit is contained in:
Andreas Florath 2019-09-09 05:25:42 +00:00
parent 6c2171911c
commit bb44f779fb
1 changed files with 4 additions and 1 deletions

View File

@ -330,7 +330,10 @@ class Server(server_base.BaseServer, sh.SchedulerHintsMixin,
BLOCK_DEVICE_MAPPING_DELETE_ON_TERM: properties.Schema( BLOCK_DEVICE_MAPPING_DELETE_ON_TERM: properties.Schema(
properties.Schema.BOOLEAN, properties.Schema.BOOLEAN,
_('Indicate whether the volume should be deleted ' _('Indicate whether the volume should be deleted '
'when the server is terminated.') 'when the server is terminated. '
'Defaults to "False" in case of a volume, snapshot '
'or image and to "True" in case of swap or '
'ephemeral.')
), ),
}, },
), ),