test_l3_longevity.py : debug info

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
This commit is contained in:
Chuck SmileyRekiere
2021-05-12 15:06:33 -06:00
parent 8f52cfa70e
commit 7804f74a65

View File

@@ -556,23 +556,23 @@ Station Address PHY Mbps Data Mbps Air Use Data Use Retries bw mc
print("query-port: %s: incomplete response:"%(url)) print("query-port: %s: incomplete response:"%(url))
pprint(response) pprint(response)
else: else:
#print("response".format(response)) print("response".format(response))
#pprint(response) pprint(response)
p = response['interface'] p = response['interface']
#print("#### p, response['insterface']:{}".format(p)) print("#### p, response['insterface']:{}".format(p))
# mac = response['mac'] mac = response['mac']
mac = p['mac'] mac = p['mac']
ap_row = [] ap_row = []
for row in ap_stats_rows: for row in ap_stats_rows:
#print("row[0] {} mac {}".format(row[0].lower(),mac.lower())) print("row[0] {} mac {}".format(row[0].lower(),mac.lower()))
if self.ap_test_mode: if self.ap_test_mode:
if row[0].lower != mac.lower(): if row[0].lower() != mac.lower():
ap_row = row ap_row = row
else: else:
if row[0].lower() == mac.lower(): if row[0].lower() == mac.lower():
ap_row = row ap_row = row
#print("selected ap_row: {}".format(ap_row)) print("selected ap_row: {}".format(ap_row))
# p is map of key/values for this port # p is map of key/values for this port
#print("port: ") #print("port: ")