Allow inspector plugin list to be extended

This commit is contained in:
Mark Goddard 2017-04-01 09:01:56 +01:00
parent 0d2d48e2bb
commit a23bdd2e8c
2 changed files with 16 additions and 3 deletions

View File

@ -17,8 +17,8 @@ inspector_ipa_ramdisk_upstream_url: "{{ ipa_images_ramdisk_url }}"
# Whether inspector should manage the firewall.
inspector_manage_firewall: False
# List of of inspector processing plugins.
inspector_processing_hooks:
# List of of default inspector processing plugins.
inspector_processing_hooks_default:
- root_disk_selection
- scheduler
- validate_interfaces
@ -29,6 +29,13 @@ inspector_processing_hooks:
- local_link_connection
- lldp_basic
# List of of additional inspector processing plugins.
inspector_processing_hooks_extra: []
# List of of additional inspector processing plugins.
inspector_processing_hooks: >
{{ inspector_processing_hooks_default + inspector_processing_hooks_extra }}
# Which MAC addresses to add as ports during introspection. One of 'all',
# 'active' or 'pxe'.
inspector_port_addition: "all"

View File

@ -17,7 +17,13 @@
# Whether inspector should manage the firewall.
#inspector_manage_firewall:
# List of of inspector processing plugins.
# List of of default inspector processing plugins.
#inspector_processing_hooks_default:
# List of of additional inspector processing plugins.
#inspector_processing_hooks_extra:
# List of of additional inspector processing plugins.
#inspector_processing_hooks:
# Which MAC addresses to add as ports during introspection. One of 'all',