aboutsummaryrefslogtreecommitdiffstats
path: root/ansible/roles/numa_pin_local_setup
diff options
context:
space:
mode:
authorRodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>2018-07-20 16:40:29 +0100
committerRodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>2018-07-23 09:03:53 +0100
commit70eef8dd6ef160d3782984742fbc7958a35c03c7 (patch)
tree902cd6e88257a24a83e5b174bcf4005a541715cc /ansible/roles/numa_pin_local_setup
parent61d471c367ff61cbac080bd1708decf1b36ad167 (diff)
Improve NetworkServiceTestCase._get_ip_flow_range() function
Improve the method to calculate the CIDR IP address range (first one, last one). IPv4Network or IPv6Network hosts() is an iterator throught the list of valid IPs. If the network is too big, the generation of a list [1] can be very expensive. [1]https://github.com/opnfv/yardstick/blob/master/yardstick/benchmark/scenarios/networking/vnf_generic.py#L90 JIRA: YARDSTICK-1339 Change-Id: I9352b2e7ff4925c246df8b40ecf43e8dc96c42d2 Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
Diffstat (limited to 'ansible/roles/numa_pin_local_setup')
0 files changed, 0 insertions, 0 deletions