Merge "Enable "port_forwarding" feature in neutron ML2 ovs environment"

This commit is contained in:
Zuul 2019-09-21 20:59:09 +00:00 committed by Gerrit Code Review
commit 6d687626c9
3 changed files with 21 additions and 1 deletions

View File

@ -122,6 +122,11 @@ parameters:
parameter should be unset.
type: string
default: ''
NeutronL3AgentExtensions:
default: ""
description: |
Comma-separated list of extensions enabled for the Neutron L3 agent.
type: comma_delimited_list
conditions:
keepalived_wrapper_enabled: {equals: [{get_param: NeutronEnableKeepalivedWrapper}, true]}
@ -132,6 +137,7 @@ conditions:
service_debug_unset: {equals : [{get_param: NeutronWrapperDebug}, false]}
external_network_bridge_empty: {equals : [{get_param: NeutronExternalNetworkBridge}, "''"]}
az_unset: {equals: [{get_param: NeutronL3AgentAvailabilityZone}, '']}
l3_agent_extensions_empty: {equals : [{get_param: NeutronL3AgentExtensions}, "''"]}
resources:
@ -215,6 +221,10 @@ outputs:
- az_unset
- {}
- neutron::agents::l3::availability_zone: {get_param: NeutronL3AgentAvailabilityZone}
if:
- l3_agent_extensions_empty
- {}
- neutron::agents::l3::extensions: {get_param: NeutronL3AgentExtensions}
service_config_settings:
map_merge:
- get_attr: [NeutronBase, role_data, service_config_settings]

View File

@ -28,8 +28,10 @@ parameter_defaults:
NeutronTypeDrivers: 'vxlan,vlan,flat,gre'
NeutronNetworkType: 'vxlan'
NeutronServicePlugins: 'router,qos,segments,trunk'
NeutronServicePlugins: 'router,qos,segments,trunk,port_forwarding'
NeutronVniRanges: ['1:65536', ]
KernelIpNonLocalBind: 0
NeutronEnableDVR: false
NeutronL3AgentExtensions: "port_forwarding"

View File

@ -0,0 +1,8 @@
---
other:
- |
Add "port_forwarding" service plugin and L3 agent extension to be enabled
by default when Neutron ML2 plugin with OVS driver is used.
New config option "NeutronL3AgentExtensions" is also added. This
new option allows to set list of L3 agent's extensions which should be
used by agent.