File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -131,6 +131,11 @@ In this configuration we are defining FLOATING_RANGE to be a
131131subnet that exists in the private RFC1918 address space - however in
132132in 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+
134139Neutron Networking with Open vSwitch and Provider Networks
135140==========================================================
136141
Original file line number Diff line number Diff line change @@ -31,6 +31,9 @@ Q_ML2_PLUGIN_GRE_TYPE_OPTIONS=${Q_ML2_PLUGIN_GRE_TYPE_OPTIONS:-tunnel_id_ranges=
3131Q_ML2_PLUGIN_VXLAN_TYPE_OPTIONS=${Q_ML2_PLUGIN_VXLAN_TYPE_OPTIONS:- vni_ranges=1001: 2000}
3232# Default VLAN TypeDriver options
3333Q_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
3639ML2_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
You can’t perform that action at this time.
0 commit comments