heat: allow overriding Heat/Neutron private IP for DPDK tests 89/48689/1
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>
Tue, 12 Dec 2017 06:39:35 +0000 (06:39 +0000)
commit102e3528ba4d7b8c566c1304192c4036f2a94f8f
tree55057fdb7378faeb5372d54cea6ab973ac8537e8
parent66898c510a3546eaa72c6a55c1f58e54c5bcdb5d
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>
(cherry picked from commit ec6a90d449f8b1ab2b17083188ec65f75ab7818b)
tests/unit/benchmark/contexts/test_heat.py
tests/unit/benchmark/contexts/test_model.py
yardstick/benchmark/contexts/heat.py
yardstick/benchmark/contexts/model.py