undercloud-deploy: allow configuring inspection_extras and clean_nodes
This adds support for two variables: * undercloud_clean_nodes - whether to enable ironic node cleaning (default is false). * undercloud_inspection_extras - whether to use extended introspection, including LLDP and full inventory (default is true). Change-Id: I0145b3731ee63b6b05f79706c9ec90a14c1b06e6
This commit is contained in:
@@ -174,6 +174,12 @@ inspection_iprange = {{undercloud_inspection_iprange|default(
|
||||
'%s,%s' % (undercloud_network_cidr|nthhost(100),
|
||||
undercloud_network_cidr|nthhost(120)))}}
|
||||
|
||||
# Whether to enable extra hardware collection during the inspection
|
||||
# process.
|
||||
{% if undercloud_inspection_extras is defined %}
|
||||
inspection_extras = {{undercloud_inspection_extras}}
|
||||
{% endif %}
|
||||
|
||||
# Whether to run benchmarks when inspecting nodes. (boolean value)
|
||||
# Deprecated group/name - [DEFAULT]/discovery_runbench
|
||||
{% if undercloud_inspection_runbench is defined %}
|
||||
@@ -291,6 +297,12 @@ templates = {{overcloud_templates_path}}
|
||||
enable_routed_networks = {{undercloud_enable_routed_networks}}
|
||||
{% endif %}
|
||||
|
||||
# Whether to clean overcloud nodes (wipe the hard drive) between
|
||||
# deployments and after the introspection.
|
||||
{% if undercloud_clean_nodes is defined %}
|
||||
clean_nodes = {{undercloud_clean_nodes}}
|
||||
{% endif %}
|
||||
|
||||
[auth]
|
||||
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user