From 1662a77b55e3f4c9e512aff83d3a065b894c41b3 Mon Sep 17 00:00:00 2001 From: Manuel Rodriguez Date: Mon, 2 Sep 2019 16:11:13 -0400 Subject: [PATCH] Add support to enable l3 port-forwarding plugin Allows enabling neutron port forwarding plugin and l3 extension to forward ports from floating IP to a fixed neutron port. Change-Id: Ic25c96a0ddcf4f69acbfb7a58acafec82c3b0aed Implements: blueprint enable-l3-port-forwarding --- ansible/group_vars/all.yml | 1 + ansible/roles/neutron/defaults/main.yml | 4 ++++ .../notes/enable-l3-port-forwarding-fe9af935437fc070.yaml | 4 ++++ 3 files changed, 9 insertions(+) create mode 100644 releasenotes/notes/enable-l3-port-forwarding-fe9af935437fc070.yaml diff --git a/ansible/group_vars/all.yml b/ansible/group_vars/all.yml index afc557c2ab..ee84feea2b 100644 --- a/ansible/group_vars/all.yml +++ b/ansible/group_vars/all.yml @@ -623,6 +623,7 @@ enable_neutron_segments: "no" enable_neutron_sfc: "no" enable_neutron_metering: "no" enable_neutron_infoblox_ipam_agent: "no" +enable_neutron_port_forwarding: "no" enable_nova_serialconsole_proxy: "no" enable_nova_ssh: "yes" enable_octavia: "no" diff --git a/ansible/roles/neutron/defaults/main.yml b/ansible/roles/neutron/defaults/main.yml index 3ca8e92c31..6ca263b5ad 100644 --- a/ansible/roles/neutron/defaults/main.yml +++ b/ansible/roles/neutron/defaults/main.yml @@ -377,6 +377,8 @@ service_plugins: enabled: "{{ enable_neutron_vpnaas | bool }}" - name: "{{ opendaylight_l3_service_plugin }}" enabled: "{{ enable_opendaylight_l3 | bool and enable_opendaylight | bool }}" + - name: "port_forwarding" + enabled: "{{ enable_neutron_port_forwarding | bool }}" neutron_service_plugins: "{{ service_plugins|selectattr('enabled', 'equalto', true)|list }}" @@ -409,6 +411,8 @@ l3_agent_extensions: enabled: "{{ enable_neutron_fwaas | bool }}" - name: "vpnaas" enabled: "{{ enable_neutron_vpnaas | bool }}" + - name: "port_forwarding" + enabled: "{{ enable_neutron_port_forwarding | bool }}" neutron_l3_agent_extensions: "{{ l3_agent_extensions | selectattr('enabled', 'equalto', true) | list }}" diff --git a/releasenotes/notes/enable-l3-port-forwarding-fe9af935437fc070.yaml b/releasenotes/notes/enable-l3-port-forwarding-fe9af935437fc070.yaml new file mode 100644 index 0000000000..9e28ee2727 --- /dev/null +++ b/releasenotes/notes/enable-l3-port-forwarding-fe9af935437fc070.yaml @@ -0,0 +1,4 @@ +--- +features: + - | + Neutron port_forwarding service plugin, and l3 extension can be enabled with variable enable_neutron_port_forwarding.