Will Szumski a1409994e4 Respect comments about inspector_keep_ports
The previous behaviour did not match the comments.

Change-Id: Ifc7bb3e34a0d8aaa6a6c2dc534f3b9603b1a76ab
2023-11-08 16:27:34 +00:00

51 lines
1.3 KiB
Plaintext

[DEFAULT]
[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_ports = {{ kolla_inspector_keep_ports }}
{% 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 %}