glance/etc/glance-image-import.conf.sample
bhagyashris f5ae04b9f3 Implementation of Inject metadata properties
Implements the spec Inject metadata properties automatically
to non-admin images

This commit adds new task '_InjectImageMetadata' to inject
the metadata properties automatically to non-admin images
at the time of creation of images using newly introduce
'image-import' api in v2.

DocImpact

Implements: I6a7ed31d5fae677cbbc9a6f6053f79d3e9326561
Change-Id: I98be97c42f23b60a72d520aad5f6078a96372c59
2018-01-19 12:11:31 +05:30

63 lines
1.4 KiB
Plaintext

[DEFAULT]
[image_import_opts]
#
# From glance
#
#
# Image import plugins to be enabled for task processing.
#
# Provide list of strings reflecting to the task Objects
# that should be included to the Image Import flow. The
# task objects needs to be defined in the 'glance/async/
# flows/plugins/*' and may be implemented by OpenStack
# Glance project team, deployer or 3rd party.
#
# By default no plugins are enabled and to take advantage
# of the plugin model the list of plugins must be set
# explicitly in the glance-image-import.conf file.
#
# The allowed values for this option is comma separated
# list of object names in between ``[`` and ``]``.
#
# Possible values:
# * no_op (only logs debug level message that the
# plugin has been executed)
# * Any provided Task object name to be included
# in to the flow.
# (list value)
#image_import_plugins = [no_op]
[inject_metadata_properties]
#
# From glance
#
#
# Specify name of user roles to be ignored for injecting metadata
# properties in the image.
#
# Specify name of the user roles
#
# Possible values:
# * List containing user roles. For example: [admin,member]
#
# (list value)
#ignore_user_roles = admin
#
# Dictionary contains metadata properties to be injected in image.
#
# Possible values:
# * Dictionary containing key/value pairs. Key characters
# length should be <= 255. For example: k1:v1,k2:v2
#
#
# (dict value)
#inject =