Add port_forwarding to neutron configuration.

This patch add the support to configure the port_forwarding plugin on
the neutron agent nodes.

Here is the doc for deployment:
https://docs.openstack.org/neutron/rocky/admin/config-fip-port-forwardings.html

Client implementation is currently pending.

Change-Id: I39a6fc63fa6419f63dac4f20863eb852f2527b26
This commit is contained in:
Marc Gariepy 2018-11-22 15:38:52 -05:00
parent 9d061dd113
commit 6563dc3b9f
3 changed files with 12 additions and 0 deletions

View File

@ -330,6 +330,7 @@ neutron_notifications_designate: notifications_designate
# - metering
# - qos
# - dns
# - port_forwarding
neutron_plugin_base:
- router
- metering

View File

@ -49,6 +49,11 @@ agent_version = v2
vpn_device_driver = {{ neutron_driver_vpnaas }}
{% endif %}
{% if neutron_port_forwarding|bool %}
# Port Fowarding
{% set _ = l3_agent_plugins.append("port_forwarding") %}
{% endif %}
{% if l3_agent_plugins|length > 0 %}
[AGENT]
extensions = {{ l3_agent_plugins | join(',') }}

View File

@ -297,6 +297,12 @@ neutron_bgp_speaker_driver: neutron_dynamic_routing.services.bgp.agent.driver.ry
neutron_bgp_router_id: "{{ neutron_local_ip }}"
###
### port_forwarding
###
neutron_port_forwarding: "{{ ('port_forwarding' in neutron_plugin_base) | ternary('True', 'False') }}"
###
### Services info
###