mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-03 12:18:00 +00:00
test_l3_longevity.py : debug information
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
This commit is contained in:
@@ -318,17 +318,20 @@ class L3VariableTime(Realm):
|
|||||||
lat += int(endp["delay"])
|
lat += int(endp["delay"])
|
||||||
jit += int(endp["jitter"])
|
jit += int(endp["jitter"])
|
||||||
name = endp["name"]
|
name = endp["name"]
|
||||||
|
print("endp name {name}".format(name=name))
|
||||||
if name.endswith("-A"):
|
if name.endswith("-A"):
|
||||||
|
print("name has -A")
|
||||||
total_dl_rx_rate += int(endp["rx rate"])
|
total_dl_rx_rate += int(endp["rx rate"])
|
||||||
total_dl_rx_rate_ll += int(endp["rx rate ll"])
|
total_dl_rx_rate_ll += int(endp["rx rate ll"])
|
||||||
total_dl_rx_pkts_ll += int(endp["rx pkts ll"])
|
total_dl_rx_pkts_ll += int(endp["rx pkts ll"])
|
||||||
else:
|
else:
|
||||||
|
print("name has -B")
|
||||||
total_ul_rx_rate += int(endp["rx rate"])
|
total_ul_rx_rate += int(endp["rx rate"])
|
||||||
total_ul_rx_rate_ll += int(endp["rx rate ll"])
|
total_ul_rx_rate_ll += int(endp["rx rate ll"])
|
||||||
total_ul_rx_pkts_ll += int(endp["rx pkts ll"])
|
total_ul_rx_pkts_ll += int(endp["rx pkts ll"])
|
||||||
|
|
||||||
count += 1
|
count += 1
|
||||||
print("matched: ")
|
print("matched")
|
||||||
else:
|
else:
|
||||||
print("Did not match")
|
print("Did not match")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user