c3cb8525f4
As OVS/OVN overtakes LXB as the preferred network driver, we must ensure they are deployed properly across supported operating systems. These tests should ensure OVS-based deployment(s) are (at least) functional. Change-Id: I12f442399ab874206a9930877ffbe325ceb902b9
96 lines
3.3 KiB
YAML
96 lines
3.3 KiB
YAML
---
|
|
openstack_host_specific_kernel_modules:
|
|
- name: "openvswitch"
|
|
pattern: "CONFIG_OPENVSWITCH"
|
|
|
|
tempest_run: yes
|
|
|
|
tempest_plugins:
|
|
- name: neutron-plugins
|
|
repo: https://opendev.org/openstack/neutron-tempest-plugin
|
|
branch: master
|
|
|
|
tempest_test_whitelist:
|
|
- "neutron_tempest_plugin.api.test_networks*"
|
|
|
|
tempest_private_net_provider_type: geneve
|
|
|
|
tempest_network_ping_gateway: False
|
|
|
|
neutron_plugin_type: ml2.ovn
|
|
neutron_local_ip: "{{ ansible_host }}"
|
|
|
|
neutron_plugin_base:
|
|
- neutron.services.ovn_l3.plugin.OVNL3RouterPlugin
|
|
|
|
neutron_ml2_drivers_type: "geneve,vlan,flat,local"
|
|
|
|
neutron_provider_networks:
|
|
network_types: "geneve"
|
|
network_geneve_ranges: "1:1000"
|
|
network_vlan_ranges: "vlan"
|
|
network_mappings: "vlan:br-provider"
|
|
|
|
repo_build_upper_constraints_overrides: [neutron-lib>=1.17.0]
|
|
|
|
neutron_neutron_conf_overrides:
|
|
DEFAULT:
|
|
global_physnet_mtu: 1558
|
|
|
|
neutron_ml2_conf_ini_overrides:
|
|
ml2:
|
|
physical_network_mtus: vlan:1500
|
|
path_mtu: 1558
|
|
|
|
haproxy_ssl: false
|
|
external_lb_vip_address: 10.1.0.1
|
|
internal_lb_vip_address: 10.1.0.1
|
|
|
|
test_neutron_server_host: "{{ external_lb_vip_address }}"
|
|
|
|
haproxy_default_services:
|
|
- service:
|
|
haproxy_service_name: neutron_server
|
|
haproxy_backend_nodes: "{{ groups['neutron_server'] | default([]) }}"
|
|
haproxy_port: 9696
|
|
haproxy_ssl: "{{ haproxy_ssl }}"
|
|
haproxy_balance_type: http
|
|
haproxy_backend_options:
|
|
- "httpchk GET /"
|
|
- service:
|
|
haproxy_service_name: neutron_ovn_northd_northbound
|
|
haproxy_backend_nodes: "{{ (groups['neutron_ovn_northd'] | default([]))[:1] }}" # list expected
|
|
haproxy_backup_nodes: "{{ (groups['neutron_ovn_northd'] | default([]))[1:] }}"
|
|
haproxy_port: 6641
|
|
haproxy_bind: "{{ [internal_lb_vip_address] }}"
|
|
haproxy_balance_type: tcp
|
|
haproxy_timeout_client: 90m
|
|
haproxy_timeout_server: 90m
|
|
haproxy_backend_options:
|
|
- tcpka
|
|
haproxy_service_enabled: "{{ (neutron_plugin_type == 'ml2.ovn') and (groups['neutron_ovn_northd'] is defined and groups['neutron_ovn_northd'] | length > 0) }}"
|
|
- service:
|
|
haproxy_service_name: neutron_ovn_northd_southbound
|
|
haproxy_backend_nodes: "{{ (groups['neutron_ovn_northd'] | default([]))[:1] }}"
|
|
haproxy_backup_nodes: "{{ (groups['neutron_ovn_northd'] | default([]))[1:] }}"
|
|
haproxy_port: 6642
|
|
haproxy_bind: "{{ [internal_lb_vip_address] }}"
|
|
haproxy_balance_type: tcp
|
|
haproxy_timeout_client: 90m
|
|
haproxy_timeout_server: 90m
|
|
haproxy_backend_options:
|
|
- tcpka
|
|
haproxy_service_enabled: "{{ (neutron_plugin_type == 'ml2.ovn') and (groups['neutron_ovn_northd'] is defined and groups['neutron_ovn_northd'] | length > 0) }}"
|
|
- service:
|
|
haproxy_service_name: neutron_ovn_ovsdb_server
|
|
haproxy_backend_nodes: "{{ (groups['neutron_ovn_northd'] | default([]))[:1] }}"
|
|
haproxy_backup_nodes: "{{ (groups['neutron_ovn_northd'] | default([]))[1:] }}"
|
|
haproxy_port: 6640
|
|
haproxy_bind: "{{ [internal_lb_vip_address] }}"
|
|
haproxy_balance_type: tcp
|
|
haproxy_timeout_client: 90m
|
|
haproxy_timeout_server: 90m
|
|
haproxy_backend_options:
|
|
- tcpka
|
|
haproxy_service_enabled: "{{ (neutron_plugin_type == 'ml2.ovn') and (groups['neutron_ovn_northd'] is defined and groups['neutron_ovn_northd'] | length > 0) }}"
|