diff options
author | ahothan <ahothan@cisco.com> | 2018-03-02 17:06:26 -0800 |
---|---|---|
committer | ahothan <ahothan@cisco.com> | 2018-03-02 17:06:26 -0800 |
commit | f07e562c36549f45b643d730de3990b0f850bfe0 (patch) | |
tree | a5e01a591bc4695e2cf39592fc042192a1baa45d | |
parent | 1b35b646790002e960663a91b157eb209fcfc5a4 (diff) |
[NFVBENCH-72] ARP retry log may cause exception
Fix exception - use proper type
May happen when retrying wait for ARP replies
Change-Id: Idc33926306268b662117deba499a35eac66affc4
Signed-off-by: ahothan <ahothan@cisco.com>
-rw-r--r-- | nfvbench/traffic_gen/trex.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nfvbench/traffic_gen/trex.py b/nfvbench/traffic_gen/trex.py index 23faebc..e42afce 100644 --- a/nfvbench/traffic_gen/trex.py +++ b/nfvbench/traffic_gen/trex.py @@ -354,7 +354,7 @@ class TRex(AbstractTrafficGenerator): else: failed = [arp.get_record().dst_ip for arp in arps if arp.get_record().dst_mac is None] - LOG.info('Retrying ARP for: %d (%d / %d)', + LOG.info('Retrying ARP for: %s (%d / %d)', failed, attempt, self.config.generic_retry_count) time.sleep(self.config.generic_poll_sec) |