Adding ML2 port security plugin config option and template output

This commit is contained in:
David Della Vecchia 2015-11-05 13:26:23 +00:00
parent 40b4e9a687
commit 9f971222ca
3 changed files with 12 additions and 0 deletions

View File

@ -408,3 +408,7 @@ options:
wait for you to execute the openstack-upgrade action for this charm on
each unit. If False it will revert to existing behavior of upgrading
all units on config change.
enable-ml2-port-security:
type: boolean
default: False
description: If True enables port security extension for ML2 plugin.

View File

@ -4,6 +4,10 @@
# Configuration file maintained by Juju. Local changes may be overwritten.
###############################################################################
[ml2]
{% if enable_ml2_port_security == 'True' -%}
extension_drivers=port_security
{% endif -%}
{% if neutron_plugin == 'Calico' -%}
type_drivers = local,flat
mechanism_drivers = calico

View File

@ -4,6 +4,10 @@
# Configuration file maintained by Juju. Local changes may be overwritten.
###############################################################################
[ml2]
{% if enable_ml2_port_security == 'True' -%}
extension_drivers=port_security
{% endif -%}
{% if neutron_plugin == 'Calico' -%}
type_drivers = local,flat
mechanism_drivers = calico