Skip to content

Commit 11e1717

Browse files
Jenkinsopenstack-gerrit
Jenkins
authored andcommitted
Merge "add the port_sec as default neutron/ml2 extension driver"
2 parents 5d5e997 + a48e5dc commit 11e1717

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

doc/source/guides/neutron.rst

+5
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,11 @@ In this configuration we are defining FLOATING_RANGE to be a
131131
subnet that exists in the private RFC1918 address space - however in
132132
in a real setup FLOATING_RANGE would be a public IP address range.
133133

134+
Note that extension drivers for the ML2 plugin is set by
135+
`Q_ML2_PLUGIN_EXT_DRIVERS`, and it includes 'port_security' by default. If you
136+
want to remove all the extension drivers (even 'port_security'), set
137+
`Q_ML2_PLUGIN_EXT_DRIVERS` to blank.
138+
134139
Neutron Networking with Open vSwitch and Provider Networks
135140
==========================================================
136141

lib/neutron_plugins/ml2

+5
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ Q_ML2_PLUGIN_GRE_TYPE_OPTIONS=${Q_ML2_PLUGIN_GRE_TYPE_OPTIONS:-tunnel_id_ranges=
3131
Q_ML2_PLUGIN_VXLAN_TYPE_OPTIONS=${Q_ML2_PLUGIN_VXLAN_TYPE_OPTIONS:-vni_ranges=1001:2000}
3232
# Default VLAN TypeDriver options
3333
Q_ML2_PLUGIN_VLAN_TYPE_OPTIONS=${Q_ML2_PLUGIN_VLAN_TYPE_OPTIONS:-}
34+
# List of extension drivers to load, use '-' instead of ':-' to allow people to
35+
# explicitly override this to blank
36+
Q_ML2_PLUGIN_EXT_DRIVERS=${Q_ML2_PLUGIN_EXT_DRIVERS-port_security}
3437

3538
# L3 Plugin to load for ML2
3639
ML2_L3_PLUGIN=${ML2_L3_PLUGIN:-neutron.services.l3_router.l3_router_plugin.L3RouterPlugin}
@@ -113,6 +116,8 @@ function neutron_plugin_configure_service {
113116

114117
populate_ml2_config /$Q_PLUGIN_CONF_FILE ml2 type_drivers=$Q_ML2_PLUGIN_TYPE_DRIVERS
115118

119+
populate_ml2_config /$Q_PLUGIN_CONF_FILE ml2 extension_drivers=$Q_ML2_PLUGIN_EXT_DRIVERS
120+
116121
populate_ml2_config /$Q_PLUGIN_CONF_FILE ml2 $Q_SRV_EXTRA_OPTS
117122

118123
populate_ml2_config /$Q_PLUGIN_CONF_FILE ml2_type_gre $Q_ML2_PLUGIN_GRE_TYPE_OPTIONS

0 commit comments

Comments
 (0)