Allow CI to switch the firewall engine

In order to properly test nftables in the different scenarios, we want
to be able to switch the engine.

Depends-On: https://review.opendev.org/c/openstack/tripleo-heat-templates/+/841445
Change-Id: I136c0d40b8088779a5fbc3570e1f136a88ec41e3
This commit is contained in:
Cédric Jeanneret 2022-06-21 13:27:47 +02:00
parent d200817542
commit bd772df0eb
1 changed files with 4 additions and 0 deletions

View File

@ -24,4 +24,8 @@ resulting YAML is consumed, whereas with JSON all strings are quoted.
{% endif %}
{% set _ = undercloud_parameter_defaults['parameter_defaults'].update({'MasqueradeNetworks': masquerade_nets }) %}
{% endif %}
{# TODO(cjeanner) remove this block once nftables is default #}
{% if undercloud_firewall_engine is defined %}
{% set _ = undercloud_parameter_defaults['parameter_defaults'].update({'FirewallEngine': undercloud_firewall_engine}) %}
{% endif %}
{{ undercloud_parameter_defaults | to_nice_json }}