Merge "Set NoopFirewallDriver when SGs disabled"

This commit is contained in:
Zuul 2021-08-04 13:34:24 +00:00 committed by Gerrit Code Review
commit a8618324f5
2 changed files with 2 additions and 0 deletions

View File

@ -32,6 +32,7 @@ extensions = {{ extension_drivers }}
enable_security_group = True enable_security_group = True
firewall_driver = {{ firewall_driver }} firewall_driver = {{ firewall_driver }}
{% else -%} {% else -%}
firewall_driver = neutron.agent.firewall.NoopFirewallDriver
enable_security_group = False enable_security_group = False
{% endif -%} {% endif -%}

View File

@ -34,6 +34,7 @@ explicitly_egress_direct = True
enable_security_group = True enable_security_group = True
firewall_driver = {{ firewall_driver }} firewall_driver = {{ firewall_driver }}
{% else -%} {% else -%}
firewall_driver = neutron.agent.firewall.NoopFirewallDriver
enable_security_group = False enable_security_group = False
{% endif -%} {% endif -%}