Remove the neutron-fwaas since it retired

Depends-On: I561504160e5548c54d1af31821c3366ab34cf0ec
Change-Id: I7c2f011ea36b6ea4f8d1854a87df160034c6dcc6
This commit is contained in:
gugug 2020-06-17 13:29:52 +08:00
parent 6390c3b0ef
commit 5fb6ef370e
12 changed files with 1 additions and 83 deletions

View File

@ -53,8 +53,6 @@ neutron_pip_package_state: "latest"
# Source git repo/branch settings # Source git repo/branch settings
neutron_git_repo: https://opendev.org/openstack/neutron neutron_git_repo: https://opendev.org/openstack/neutron
neutron_git_install_branch: master neutron_git_install_branch: master
neutron_fwaas_git_repo: https://opendev.org/openstack/neutron-fwaas
neutron_fwaas_git_install_branch: master
neutron_vpnaas_git_repo: https://opendev.org/openstack/neutron-vpnaas neutron_vpnaas_git_repo: https://opendev.org/openstack/neutron-vpnaas
neutron_vpnaas_git_install_branch: master neutron_vpnaas_git_install_branch: master
neutron_dynamic_routing_git_repo: https://opendev.org/openstack/neutron-dynamic-routing neutron_dynamic_routing_git_repo: https://opendev.org/openstack/neutron-dynamic-routing
@ -75,7 +73,6 @@ networking_generic_switch_git_install_branch: master
neutron_upper_constraints_url: "{{ requirements_git_url | default('https://releases.openstack.org/constraints/upper/' ~ requirements_git_install_branch | default('master')) }}" neutron_upper_constraints_url: "{{ requirements_git_url | default('https://releases.openstack.org/constraints/upper/' ~ requirements_git_install_branch | default('master')) }}"
neutron_git_constraints: neutron_git_constraints:
- "git+{{ neutron_git_repo }}@{{ neutron_git_install_branch }}#egg=neutron" - "git+{{ neutron_git_repo }}@{{ neutron_git_install_branch }}#egg=neutron"
- "git+{{ neutron_fwaas_git_repo }}@{{ neutron_fwaas_git_install_branch }}#egg=neutron-fwaas"
- "git+{{ neutron_vpnaas_git_repo }}@{{ neutron_vpnaas_git_install_branch }}#egg=neutron-vpnaas" - "git+{{ neutron_vpnaas_git_repo }}@{{ neutron_vpnaas_git_install_branch }}#egg=neutron-vpnaas"
- "git+{{ neutron_dynamic_routing_git_repo }}@{{ neutron_dynamic_routing_git_install_branch }}#egg=neutron-dynamic-routing" - "git+{{ neutron_dynamic_routing_git_repo }}@{{ neutron_dynamic_routing_git_install_branch }}#egg=neutron-dynamic-routing"
- "git+{{ networking_calico_git_repo }}@{{ networking_calico_git_install_branch }}#egg=networking-calico" - "git+{{ networking_calico_git_repo }}@{{ networking_calico_git_install_branch }}#egg=networking-calico"
@ -419,13 +416,6 @@ nova_metadata_protocol: http
# this flag should be set to a boolean True. # this flag should be set to a boolean True.
nova_metadata_insecure: False nova_metadata_insecure: False
###
### FWaaS Configuration
###
neutron_driver_fwaasv2: iptables_v2
neutron_fwaasv2_service_provider: FIREWALL_V2:fwaas_db:neutron_fwaas.services.firewall.service_drivers.agents.agents.FirewallAgentDriver:default
### ###
### VPNaaS Configuration ### VPNaaS Configuration
### ###

View File

@ -13,15 +13,6 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
- name: Ensure FWaaS v1 and v2 are not enabled simultaneously
fail:
message: |
FWaaS v1 and v2 cannot be enabled at the same time.
Verify that your neutron_plugin_base variable is correct.
when:
- neutron_fwaas | bool
- neutron_fwaas_v2 | bool
- name: Fail if service was deployed using a different installation method - name: Fail if service was deployed using a different installation method
fail: fail:
msg: "Switching installation methods for OpenStack services is not supported" msg: "Switching installation methods for OpenStack services is not supported"
@ -30,4 +21,4 @@
- ansible_local.openstack_ansible is defined - ansible_local.openstack_ansible is defined
- ansible_local.openstack_ansible.neutron is defined - ansible_local.openstack_ansible.neutron is defined
- ansible_local.openstack_ansible.neutron.install_method is defined - ansible_local.openstack_ansible.neutron.install_method is defined
- ansible_local.openstack_ansible.neutron.install_method != neutron_install_method - ansible_local.openstack_ansible.neutron.install_method != neutron_install_method

View File

@ -24,25 +24,6 @@ enable_metadata_proxy = True
# L3 plugins # L3 plugins
{% set l3_agent_plugins = [] %} {% set l3_agent_plugins = [] %}
{% if neutron_fwaas | bool %}
# FWaaS
{% set _ = l3_agent_plugins.append("fwaas") %}
[fwaas]
enabled = true
driver = iptables
agent_version = v1
{% endif %}
{% if neutron_fwaas_v2 | bool %}
# FWaaS v2
{% set _ = l3_agent_plugins.append("fwaas_v2") %}
[fwaas]
enabled = true
driver = {{ neutron_driver_fwaasv2 }}
agent_version = v2
firewall_l2_driver = noop
{% endif %}
{% if neutron_vpnaas | bool %} {% if neutron_vpnaas | bool %}
# VPNaaS # VPNaaS
{% set _ = l3_agent_plugins.append("vpnaas") %} {% set _ = l3_agent_plugins.append("vpnaas") %}

View File

@ -203,9 +203,6 @@ pool_timeout = {{ neutron_db_pool_timeout }}
{% if neutron_vpnaas | bool %} {% if neutron_vpnaas | bool %}
service_provider = {{ neutron_vpnaas_service_provider }} service_provider = {{ neutron_vpnaas_service_provider }}
{% endif %} {% endif %}
{% if neutron_fwaas_v2 | bool %}
service_provider = {{ neutron_fwaasv2_service_provider }}
{% endif %}
{% endif %} {% endif %}

View File

@ -9,14 +9,9 @@ tempest_plugins:
- name: neutron-plugins - name: neutron-plugins
repo: https://opendev.org/openstack/neutron-tempest-plugin repo: https://opendev.org/openstack/neutron-tempest-plugin
branch: master branch: master
- name: neutron-fwaas
repo: https://opendev.org/openstack/neutron-fwaas
branch: master
tempest_test_whitelist: tempest_test_whitelist:
- "neutron_tempest_plugin.api.test_networks*" - "neutron_tempest_plugin.api.test_networks*"
- "neutron_fwaas.tests.tempest_plugin.tests.api.test_fwaasv2_extensions*"
- "neutron_fwaas.tests.tempest_plugin.tests.api.v2_base*"
tempest_network_ping_gateway: False tempest_network_ping_gateway: False

View File

@ -175,15 +175,6 @@ setenv =
commands = commands =
bash -c "{toxinidir}/tests/common/test-ansible-functional.sh" bash -c "{toxinidir}/tests/common/test-ansible-functional.sh"
[testenv:ovs-fwaasv2]
basepython = python3
setenv =
{[testenv]setenv}
ANSIBLE_INVENTORY={toxinidir}/tests/ovs_inventory
ANSIBLE_OVERRIDES={toxinidir}/tests/neutron-overrides-ovs-fwaasv2.yml
commands =
bash -c "{toxinidir}/tests/common/test-ansible-functional.sh"
[testenv:linters] [testenv:linters]
basepython = python3 basepython = python3
commands = commands =

View File

@ -83,9 +83,6 @@ neutron_optional_ovs_distro_packages:
neutron_optional_lxb_distro_packages: neutron_optional_lxb_distro_packages:
- neutron-linuxbridge-agent - neutron-linuxbridge-agent
neutron_optional_fwaas_distro_packages:
- python-neutron-fwaas
neutron_optional_vpnaas_distro_packages: neutron_optional_vpnaas_distro_packages:
- neutron-vpnaas-agent - neutron-vpnaas-agent

View File

@ -50,9 +50,6 @@ neutron_optional_calico_pip_packages:
- networking-calico - networking-calico
- python-etcd - python-etcd
neutron_optional_fwaas_pip_packages:
- neutron_fwaas
neutron_optional_vpnaas_pip_packages: neutron_optional_vpnaas_pip_packages:
- neutron_vpnaas - neutron_vpnaas
@ -77,9 +74,6 @@ neutron_venv_packages: >-
{%- if neutron_bgp | bool %} {%- if neutron_bgp | bool %}
{%- set _ = pkg_list.extend(neutron_optional_bgp_pip_packages) %} {%- set _ = pkg_list.extend(neutron_optional_bgp_pip_packages) %}
{%- endif %} {%- endif %}
{%- if (neutron_fwaas | bool) or (neutron_fwaas_v2 | bool) %}
{%- set _ = pkg_list.extend(neutron_optional_fwaas_pip_packages) %}
{%- endif %}
{%- if neutron_vpnaas | bool %} {%- if neutron_vpnaas | bool %}
{%- set _ = pkg_list.extend(neutron_optional_vpnaas_pip_packages) %} {%- set _ = pkg_list.extend(neutron_optional_vpnaas_pip_packages) %}
{%- endif %} {%- endif %}
@ -278,10 +272,6 @@ neutron_metadata: "{% if neutron_plugin_type.split('.')[0] == 'ml2' %}True{% els
### FWaaS Plugin Configuration ### FWaaS Plugin Configuration
### ###
# Please add the 'firewall' to the neutron_plugin_base list
neutron_fwaas: "{{ ('firewall' in neutron_plugin_base) | ternary('True', 'False') }}"
neutron_fwaas_v2: "{{ ('firewall_v2' in neutron_plugin_base) | ternary('True', 'False') }}"
### ###
### VPNaaS Plugin Configuration ### VPNaaS Plugin Configuration
### ###

View File

@ -66,9 +66,6 @@ neutron_optional_ovs_distro_packages:
neutron_optional_lxb_distro_packages: neutron_optional_lxb_distro_packages:
- openstack-neutron-linuxbridge - openstack-neutron-linuxbridge
neutron_optional_fwaas_distro_packages:
- openstack-neutron-fwaas
neutron_optional_vpnaas_distro_packages: neutron_optional_vpnaas_distro_packages:
- openstack-neutron-vpnaas - openstack-neutron-vpnaas

View File

@ -87,9 +87,6 @@ neutron_optional_ovs_distro_packages:
neutron_optional_lxb_distro_packages: neutron_optional_lxb_distro_packages:
- openstack-neutron-linuxbridge-agent - openstack-neutron-linuxbridge-agent
neutron_optional_fwaas_distro_packages:
- openstack-neutron-fwaas
neutron_option_vpnaas_distro_packages: neutron_option_vpnaas_distro_packages:
- openstack-neutron-vpnaas - openstack-neutron-vpnaas

View File

@ -64,9 +64,3 @@
parent: openstack-ansible-functional-ubuntu-bionic parent: openstack-ansible-functional-ubuntu-bionic
vars: vars:
tox_env: opendaylight-bgpvpn tox_env: opendaylight-bgpvpn
- job:
name: openstack-ansible-ovs-fwaasv2-ubuntu-bionic
parent: openstack-ansible-functional-ubuntu-bionic
vars:
tox_env: ovs-fwaasv2

View File

@ -36,8 +36,6 @@
voting: false voting: false
- openstack-ansible-opendaylight-bgpvpn-ubuntu-bionic: - openstack-ansible-opendaylight-bgpvpn-ubuntu-bionic:
voting: false voting: false
- openstack-ansible-ovs-fwaasv2-ubuntu-bionic:
voting: false
gate: gate:
jobs: jobs:
- openstack-ansible-ovs-ubuntu-bionic - openstack-ansible-ovs-ubuntu-bionic