- job:
    name: networking-baremetal-multitenant-vlans
    parent: ironic-base
    irrelevant-files:
      - ^.*\.rst$
      - ^doc/.*$
      - ^setup.cfg$
      - ^test-requirements.txt$
      - ^tools/.*$
      - ^tox.ini$
    required-projects:
      - openstack/networking-generic-switch
      - openstack/networking-baremetal
    vars:
      tempest_test_timeout: 2400
      devstack_plugins:
        networking-generic-switch: https://opendev.org/openstack/networking-generic-switch
        networking-baremetal: https://opendev.org/openstack/networking-baremetal
      devstack_localrc:
        BUILD_TIMEOUT: 2400
        ENABLE_TENANT_VLANS: True
        IRONIC_DEFAULT_DEPLOY_INTERFACE: direct
        IRONIC_DEFAULT_RESCUE_INTERFACE: ""
        IRONIC_ENABLED_NETWORK_INTERFACES: flat,neutron
        IRONIC_NETWORK_INTERFACE: neutron
        IRONIC_PROVISION_NETWORK_NAME: ironic-provision
        IRONIC_PROVISION_PROVIDER_NETWORK_TYPE: vlan
        IRONIC_PROVISION_SUBNET_GATEWAY: 10.0.5.1
        IRONIC_PROVISION_SUBNET_PREFIX: 10.0.5.0/24
        IRONIC_TEMPEST_BUILD_TIMEOUT: 2400
        IRONIC_TEMPEST_WHOLE_DISK_IMAGE: True
        IRONIC_USE_LINK_LOCAL: True
        IRONIC_USE_NEUTRON_SEGMENTS: True
        IRONIC_VM_COUNT: 3
        IRONIC_VM_EPHEMERAL_DISK: 0
        IRONIC_AUTOMATED_CLEAN_ENABLED: False
        OVS_PHYSICAL_BRIDGE: brbm
        Q_USE_PROVIDERNET_FOR_PUBLIC: True
        PUBLIC_PHYSICAL_NETWORK: public
        OVS_BRIDGE_MAPPINGS: mynetwork:brbm,public:br-ex
        PHYSICAL_NETWORK: mynetwork
        Q_ML2_TENANT_NETWORK_TYPE: vlan
        Q_PLUGIN: ml2
        Q_SERVICE_PLUGIN_CLASSES: neutron.services.l3_router.l3_router_plugin.L3RouterPlugin,segments
        Q_USE_DEBUG_COMMAND: True
        SWIFT_ENABLE_TEMPURLS: True
        SWIFT_TEMPURL_KEY: secretkey
        TENANT_VLAN_RANGE: 100:150
        EBTABLES_RACE_FIX: True
      devstack_services:
        s-account: True
        s-container: True
        s-object: True
        s-proxy: True
        generic_switch: True
        networking_baremetal: True
        ir-neutronagt: True
        neutron-api: False
        neutron-agent: False
        neutron-dhcp: False
        neutron-l3: False
        neutron-metadata-agent: False
        neutron-metering: False
        q-agt: True
        q-dhcp: True
        q-l3: True
        q-meta: True
        q-metering: True
        q-svc: True

