9048c8c09b
manage_firewall has been deprecated in favor of pxe_filter:7b27585463 (diff-73313fdfbb51553077f2322499ad8b66R349)
In addition the firewall section has been renamed to iptables:7b27585463
This seems to affect both queens and rocky. Change-Id: I439515441f0931c09b3d706613d0f721e8b50b6d
57 lines
1.5 KiB
Django/Jinja
57 lines
1.5 KiB
Django/Jinja
[DEFAULT]
|
|
|
|
[pxe_filter]
|
|
# The filter ironic inspector will use to prevent nodes from undergoing
|
|
# inspection unless explicitly requested.
|
|
driver = {{ 'iptables' if kolla_inspector_manage_firewall else 'noop' }}
|
|
|
|
[processing]
|
|
{% if kolla_inspector_processing_hooks %}
|
|
# Comma-separated list of inspector processing plugins.
|
|
processing_hooks = {{ kolla_inspector_processing_hooks | join(',') }}
|
|
{% endif %}
|
|
|
|
{% if kolla_inspector_add_ports %}
|
|
# Which MAC addresses to add as ports during introspection. One of 'all',
|
|
# 'active' or 'pxe'.
|
|
add_ports = {{ kolla_inspector_add_ports }}
|
|
{% endif %}
|
|
|
|
{% if kolla_inspector_keep_ports %}
|
|
# Keep only those ports that were found during inspection.
|
|
keep_ports = present
|
|
{% endif %}
|
|
|
|
# Store logs returned by the inspection ramdisk.
|
|
always_store_ramdisk_logs = True
|
|
|
|
{% if kolla_inspector_enable_discovery %}
|
|
# Enable discovery when nodes do not exist in Ironic.
|
|
node_not_found_hook = enroll
|
|
{% endif %}
|
|
|
|
{% if kolla_inspector_enable_swift %}
|
|
store_data = swift
|
|
{% endif %}
|
|
|
|
{% if kolla_inspector_enable_swift %}
|
|
[swift]
|
|
{% for key, value in kolla_inspector_swift_auth.items() %}
|
|
{{ key }} = {{ value }}
|
|
{% endfor %}
|
|
{% endif %}
|
|
|
|
{% if kolla_inspector_enable_discovery %}
|
|
[discovery]
|
|
# The driver with which to enroll newly discovered nodes in Ironic.
|
|
enroll_node_driver = {{ kolla_inspector_discovery_enroll_node_driver }}
|
|
{% endif %}
|
|
|
|
{% if kolla_extra_inspector %}
|
|
#######################
|
|
# Extra configuration
|
|
#######################
|
|
|
|
{{ kolla_extra_inspector }}
|
|
{% endif %}
|