test_l3_longevity.py : bug fix for reading mac on interface

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
This commit is contained in:
Chuck SmileyRekiere
2021-05-04 10:57:36 -06:00
parent 50381f849d
commit 99635b3de2

View File

@@ -813,8 +813,12 @@ Station Address PHY Mbps Data Mbps Air Use Data Use Retries bw mc
print("query-port: %s: incomplete response:"%(url))
pprint(response)
else:
#print("response".format(response))
#pprint(response)
p = response['interface']
mac = response['mac']
print("#### p, response['insterface']:{}".format(p))
# mac = response['mac']
mac = p['mac']
ap_row = []
for row in ap_stats_rows: