summaryrefslogtreecommitdiffstats
path: root/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_port.py
diff options
context:
space:
mode:
authorimarom <imarom@cisco.com>2016-12-11 12:03:07 +0200
committerimarom <imarom@cisco.com>2016-12-11 12:03:07 +0200
commitaf9f439b2bf768f9168cecac2488b4c718ab783f (patch)
treef2e033c14a9d5d404046dd050e822a5b11156503 /scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_port.py
parent20bb36572e006147d1ee6767b46d803bdb0926df (diff)
IP src configuriation invalidates ARP resolution
Signed-off-by: imarom <imarom@cisco.com>
Diffstat (limited to 'scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_port.py')
-rw-r--r--scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_port.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_port.py b/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_port.py
index ebb716d1..9309ad0c 100644
--- a/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_port.py
+++ b/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_port.py
@@ -959,7 +959,7 @@ class Port(object):
"src MAC": info['src_mac'],
"src IPv4": info['src_ipv4'],
"Destination": info['dest'],
- "ARP Resolution": info['arp'],
+ "ARP Resolution": format_text("{0}".format(info['arp']), 'bold', 'red') if info['arp'] == 'unresolved' else info['arp'],
"PCI Address": info['pci_addr'],
"NUMA Node": info['numa'],
"--": "",