Adding ML2 port security plugin config option and template output
This commit is contained in:
parent
40b4e9a687
commit
9f971222ca
@ -408,3 +408,7 @@ options:
|
|||||||
wait for you to execute the openstack-upgrade action for this charm on
|
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
|
each unit. If False it will revert to existing behavior of upgrading
|
||||||
all units on config change.
|
all units on config change.
|
||||||
|
enable-ml2-port-security:
|
||||||
|
type: boolean
|
||||||
|
default: False
|
||||||
|
description: If True enables port security extension for ML2 plugin.
|
||||||
|
@ -4,6 +4,10 @@
|
|||||||
# Configuration file maintained by Juju. Local changes may be overwritten.
|
# Configuration file maintained by Juju. Local changes may be overwritten.
|
||||||
###############################################################################
|
###############################################################################
|
||||||
[ml2]
|
[ml2]
|
||||||
|
{% if enable_ml2_port_security == 'True' -%}
|
||||||
|
extension_drivers=port_security
|
||||||
|
{% endif -%}
|
||||||
|
|
||||||
{% if neutron_plugin == 'Calico' -%}
|
{% if neutron_plugin == 'Calico' -%}
|
||||||
type_drivers = local,flat
|
type_drivers = local,flat
|
||||||
mechanism_drivers = calico
|
mechanism_drivers = calico
|
||||||
|
@ -4,6 +4,10 @@
|
|||||||
# Configuration file maintained by Juju. Local changes may be overwritten.
|
# Configuration file maintained by Juju. Local changes may be overwritten.
|
||||||
###############################################################################
|
###############################################################################
|
||||||
[ml2]
|
[ml2]
|
||||||
|
{% if enable_ml2_port_security == 'True' -%}
|
||||||
|
extension_drivers=port_security
|
||||||
|
{% endif -%}
|
||||||
|
|
||||||
{% if neutron_plugin == 'Calico' -%}
|
{% if neutron_plugin == 'Calico' -%}
|
||||||
type_drivers = local,flat
|
type_drivers = local,flat
|
||||||
mechanism_drivers = calico
|
mechanism_drivers = calico
|
||||||
|
Loading…
Reference in New Issue
Block a user