heat: allow overriding Heat/Neutron private IP for DPDK tests 93/45393/12
authorRoss Brattain <ross.b.brattain@intel.com>
Tue, 17 Oct 2017 21:30:37 +0000 (14:30 -0700)
committerRoss Brattain <ross.b.brattain@intel.com>
Mon, 11 Dec 2017 21:00:13 +0000 (13:00 -0800)
commitec6a90d449f8b1ab2b17083188ec65f75ab7818b
tree7a80aae3e5d4b8a0f069ea0caab912d05bbebff6
parent2085fd018074c2687ade484b9d7087173ea4f1c7
heat: allow overriding Heat/Neutron private IP for DPDK tests

For some L2/L3 DPDK testcases we need to use a custom
IP address space different from what Heat provides.

These testcases require port_security_enabled = False so
Neutron should allow for unrestricted L2 traffic.

This will work because we bind the ports to DPDK and thus
don't need DHCP.

  vnf_0:
    floating_ip: true
    placement: "pgrp1"
    network_ports:
      mgmt:
        - mgmt
      uplink_0:
        - xe0:
            local_ip: 10.44.0.20
            netmask: 255.255.255.0
      downlink_0:
        - xe1:
            local_ip: 10.44.0.30
            netmask: 255.255.255.0

Also fixup flake8 errors in unittests

Change-Id: Id29dfffa692f16fb1f526d208db43e476e2f7830
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
tests/unit/benchmark/contexts/test_heat.py
tests/unit/benchmark/contexts/test_model.py
yardstick/benchmark/contexts/heat.py
yardstick/benchmark/contexts/model.py