diff options
author | 2018-10-04 09:56:37 +0000 | |
---|---|---|
committer | 2018-10-04 09:56:37 +0000 | |
commit | 44d77847d87f7511ca1e7b2e65d96b1239361340 (patch) | |
tree | 3bc95c8d5a70c4c2b7da8a779fd85740828276d1 /yardstick/benchmark/scenarios/networking/vnf_generic.py | |
parent | b2407946ba2c1011eb4e3b72fe604ba66a7147df (diff) | |
parent | 5f84d63605d7dbcf23ef329680b6721953bd598b (diff) |
Merge "NSB PROX NFVi Test does not stop after reaching expected precision" into stable/gambia
Diffstat (limited to 'yardstick/benchmark/scenarios/networking/vnf_generic.py')
-rw-r--r-- | yardstick/benchmark/scenarios/networking/vnf_generic.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/yardstick/benchmark/scenarios/networking/vnf_generic.py b/yardstick/benchmark/scenarios/networking/vnf_generic.py index 6d68c5e64..20fff61ed 100644 --- a/yardstick/benchmark/scenarios/networking/vnf_generic.py +++ b/yardstick/benchmark/scenarios/networking/vnf_generic.py @@ -63,6 +63,9 @@ class NetworkServiceTestCase(scenario_base.Scenario): self.bin_path = get_nsb_option('bin_path', '') self._mq_ids = [] + def is_ended(self): + return self.traffic_profile is not None and self.traffic_profile.is_ended() + def _get_ip_flow_range(self, ip_start_range): """Retrieve a CIDR first and last viable IPs |