- job:
    name: neutron-tempest-plugin-api-wallaby
    parent: neutron-tempest-plugin-base
    nodeset: openstack-single-node-focal
    override-checkout: stable/wallaby
    required-projects: &required-projects-wallaby
      - openstack/neutron
      - name: openstack/neutron-tempest-plugin
        override-checkout: 1.8.0
      - openstack/tempest
    vars:
      tempest_concurrency: 4
      tempest_test_regex: ^neutron_tempest_plugin\.api
      # TODO(slaweq): find a way to put this list of extensions in
      # neutron repository and keep it different per branch,
      # then it could be removed from here
      network_api_extensions_common: &api_extensions
        - address-group
        - address-scope
        - agent
        - allowed-address-pairs
        - auto-allocated-topology
        - availability_zone
        - binding
        - default-subnetpools
        - dhcp_agent_scheduler
        - dns-domain-ports
        - dns-integration
        - empty-string-filtering
        - expose-port-forwarding-in-fip
        - expose-l3-conntrack-helper
        - ext-gw-mode
        - external-net
        - extra_dhcp_opt
        - extraroute
        - extraroute-atomic
        - filter-validation
        - fip-port-details
        - flavors
        - floating-ip-port-forwarding
        - floatingip-pools
        - ip-substring-filtering
        - l3-conntrack-helper
        - l3-flavors
        - l3-ha
        - l3_agent_scheduler
        - logging
        - metering
        - multi-provider
        - net-mtu
        - net-mtu-writable
        - network-ip-availability
        - network_availability_zone
        - network-segment-range
        - pagination
        - port-resource-request
        - port-mac-address-regenerate
        - port-security
        - port-security-groups-filtering
        - project-id
        - provider
        - qos
        - qos-bw-minimum-ingress
        - qos-fip
        - quotas
        - quota_details
        - rbac-address-group
        - rbac-address-scope
        - rbac-policies
        - rbac-security-groups
        - rbac-subnetpool
        - router
        - router-admin-state-down-before-update
        - router_availability_zone
        - security-group
        - security-groups-remote-address-group
        - segment
        - service-type
        - sorting
        - standard-attr-description
        - standard-attr-revisions
        - standard-attr-segment
        - standard-attr-tag
        - standard-attr-timestamp
        - subnet_allocation
        - subnet-dns-publish-fixed-ip
        - subnet-service-types
        - subnetpool-prefix-ops
        - tag-ports-during-bulk-creation
        - trunk
        - trunk-details
        - uplink-status-propagation
      network_api_extensions_tempest:
        - dvr
      network_available_features: &available_features
        - ipv6_metadata

- job:
    name: neutron-tempest-plugin-scenario-openvswitch-wallaby
    parent: neutron-tempest-plugin-openvswitch
    override-checkout: stable/wallaby
    required-projects: *required-projects-wallaby
    vars:
      tempest_test_regex: "\
          (^neutron_tempest_plugin.scenario)|\
          (^tempest.api.compute.servers.test_attach_interfaces)|\
          (^tempest.api.compute.servers.test_multiple_create)"
      network_api_extensions: *api_extensions
      network_available_features: *available_features
      devstack_localrc:
        NETWORK_API_EXTENSIONS: "{{ network_api_extensions | join(',') }}"
      devstack_local_conf:
        test-config:
          $TEMPEST_CONFIG:
            network-feature-enabled:
              available_features: "{{ network_available_features | join(',') }}"

- job:
    name: neutron-tempest-plugin-scenario-openvswitch-iptables_hybrid-wallaby
    parent: neutron-tempest-plugin-openvswitch-iptables_hybrid
    override-checkout: stable/wallaby
    required-projects: *required-projects-wallaby
    vars:
      tempest_test_regex: "\
          (^neutron_tempest_plugin.scenario)|\
          (^tempest.api.compute.servers.test_attach_interfaces)|\
          (^tempest.api.compute.servers.test_multiple_create)"
      network_api_extensions: *api_extensions
      network_available_features: *available_features
      # TODO(slaweq): remove trunks subport_connectivity test from blacklist
      # when bug https://bugs.launchpad.net/neutron/+bug/1838760 will be fixed
      # TODO(akatz): remove established tcp session verification test when the
      # bug https://bugzilla.redhat.com/show_bug.cgi?id=1965036 will be fixed
      tempest_exclude_regex: "\
          (^neutron_tempest_plugin.scenario.test_trunk.TrunkTest.test_subport_connectivity)|\
          (^neutron_tempest_plugin.scenario.test_security_groups.NetworkSecGroupTest.test_established_tcp_session_after_re_attachinging_sg)"
      devstack_localrc:
        NETWORK_API_EXTENSIONS: "{{ network_api_extensions | join(',') }}"
      devstack_local_conf:
        test-config:
          $TEMPEST_CONFIG:
            network-feature-enabled:
              available_features: "{{ network_available_features | join(',') }}"

- job:
    name: neutron-tempest-plugin-scenario-linuxbridge-wallaby
    parent: neutron-tempest-plugin-linuxbridge
    override-checkout: stable/wallaby
    required-projects: *required-projects-wallaby
    vars:
      tempest_test_regex: "\
          (^neutron_tempest_plugin.scenario)|\
          (^tempest.api.compute.servers.test_attach_interfaces)|\
          (^tempest.api.compute.servers.test_multiple_create)"
      network_api_extensions: *api_extensions
      network_available_features: *available_features
      devstack_localrc:
        NETWORK_API_EXTENSIONS: "{{ network_api_extensions | join(',') }}"
      devstack_local_conf:
        test-config:
          $TEMPEST_CONFIG:
            network-feature-enabled:
              available_features: "{{ network_available_features | join(',') }}"

- job:
    name: neutron-tempest-plugin-scenario-ovn-wallaby
    parent: neutron-tempest-plugin-ovn
    override-checkout: stable/wallaby
    required-projects: *required-projects-wallaby
    vars:
      tempest_test_regex: "\
          (^neutron_tempest_plugin.scenario)|\
          (^tempest.api.compute.servers.test_attach_interfaces)|\
          (^tempest.api.compute.servers.test_multiple_create)"
      network_api_extensions: *api_extensions
      devstack_localrc:
        NETWORK_API_EXTENSIONS: "{{ network_api_extensions | join(',') }}"
      devstack_local_conf:
        test-config:
          $TEMPEST_CONFIG:
            network-feature-enabled:
              available_features: ""

- job:
    name: neutron-tempest-plugin-dvr-multinode-scenario-wallaby
    parent: neutron-tempest-plugin-dvr-multinode-scenario
    nodeset: openstack-two-node-focal
    override-checkout: stable/wallaby
    required-projects: *required-projects-wallaby
    vars:
      network_api_extensions_common: *api_extensions

- job:
    name: neutron-tempest-plugin-designate-scenario-wallaby
    parent: neutron-tempest-plugin-designate-scenario
    override-checkout: stable/wallaby
    required-projects:
      - openstack/neutron
      - name: openstack/neutron-tempest-plugin
        override-checkout: 1.8.0
      - openstack/tempest
      - name: openstack/designate-tempest-plugin
        override-checkout: 0.16.0
    vars:
      network_api_extensions_common: *api_extensions

- job:
    name: neutron-tempest-plugin-sfc-wallaby
    parent: neutron-tempest-plugin-sfc
    nodeset: openstack-single-node-focal
    override-checkout: stable/wallaby
    required-projects: *required-projects-wallaby
    vars:
      network_api_extensions_common: *api_extensions

- job:
    name: neutron-tempest-plugin-bgpvpn-bagpipe-wallaby
    parent: neutron-tempest-plugin-bgpvpn-bagpipe
    nodeset: openstack-single-node-focal
    override-checkout: stable/wallaby
    required-projects: *required-projects-wallaby
    vars:
      network_api_extensions: *api_extensions

- job:
    name: neutron-tempest-plugin-dynamic-routing-wallaby
    parent: neutron-tempest-plugin-dynamic-routing
    nodeset: openstack-single-node-focal
    override-checkout: stable/wallaby
    required-projects: *required-projects-wallaby
    vars:
      network_api_extensions_common: *api_extensions

- job:
    name: neutron-tempest-plugin-vpnaas-wallaby
    parent: neutron-tempest-plugin-vpnaas
    nodeset: openstack-single-node-focal
    override-checkout: stable/wallaby
    required-projects: *required-projects-wallaby
    vars:
      network_api_extensions_common: *api_extensions
