samplevnf_helper: use network address 29/39829/3
authorRoss Brattain <ross.b.brattain@intel.com>
Mon, 21 Aug 2017 19:09:34 +0000 (12:09 -0700)
committerRoss Brattain <ross.b.brattain@intel.com>
Tue, 22 Aug 2017 02:47:05 +0000 (19:47 -0700)
commitdc3434a60f5d675d2822927afc271d2cd5c6dddd
tree78a458d817fedb4addb94dfc176f068080a9e327
parent4de16cbc3c7a4e03542c6256f3aeda79dbf49b62
samplevnf_helper: use network address

use network address with netmasks to be proper

ports_mac_list is no longer valid, remove it

nd_route_tbl needs to default to something otherwise
the VNF will segfault if it receives IPv6 on the port,
which it will because something in Neutron is sending
out IPv6 packets.

disable use of the routing table gateways to set arp add.
We set the next hop IP to always be the TG IP address,
so we need to always use the TG IP in arp add to send
to the TG MAC address

don't use gateways to get local addresses.

we can't use gateways because with OpenStack if we define
a gateway is breaks the default route and we can no longer
connect to the instance via floating IP.

Change-Id: I0ebefe8ac09812b6030046f73bf772edda1c7d27
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
tests/unit/network_services/helpers/test_samplevnf_helper.py
yardstick/network_services/helpers/samplevnf_helper.py