vmware-nsx/devstack/nsx_v/devstackgaterc
Adit Sarfaty 1dfc0fe59e NSX|v+v3: forbid multiple fixed ips in a port
The nsx backend does not allow adding different static DHCP bindings
with the same mac, so an instance cannot be deployed with a port with
multiple ips.
This patch prevent create/update of a port with more than 1 fixed ip.

Change-Id: I4b0ba1f3dc593604a3d6a53f8e0aac385faed985
2017-08-06 08:57:52 +03:00

34 lines
1.1 KiB
Plaintext

# Copyright 2016 VMware, Inc.
#
# All Rights Reserved
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
# This file is sourced by the NSX-v3 CI to run selective set of tests
# based on the features that are ready to be tested.
# Begin list of exclusions.
r="^(?!.*"
r="$r(?:tempest\.api\.network\.test_ports\.PortsTestJSON\.test_create_update_port_with_second_ip.*)"
r="$r|(?:tempest\.api\.network\.test_floating_ips\.FloatingIPTestJSON\.test_create_update_floatingip_with_port_multiple_ip_address.*)"
# End list of exclusions.
r="$r)"
# only run tempest.api.network tests
r="$r(tempest\.api\.network).*$"
export DEVSTACK_GATE_TEMPEST_REGEX="$r"