mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-01 11:18:03 +00:00
test_l3_longevity.py : debug information on upling
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
This commit is contained in:
@@ -332,9 +332,9 @@ class L3VariableTime(Realm):
|
|||||||
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("name: {name} Matched: eid:{eid} to endp-id {eid_endp}".format(name=name,eid=eid,eid_endp=eid_endp))
|
||||||
else:
|
else:
|
||||||
print("Did not match")
|
print("name: {name} Did not match: eid:{eid} to endp-id {eid_endp}".format(name=name,eid=eid,eid_endp=eid_endp))
|
||||||
|
|
||||||
if count > 1:
|
if count > 1:
|
||||||
lat = int(lat / count)
|
lat = int(lat / count)
|
||||||
@@ -723,7 +723,9 @@ class L3VariableTime(Realm):
|
|||||||
ap_chanim_stats_5g = "{}{}{}{}".format("root@Docsis-Gateway:~# wl -i wl1 chanim_stats\n",
|
ap_chanim_stats_5g = "{}{}{}{}".format("root@Docsis-Gateway:~# wl -i wl1 chanim_stats\n",
|
||||||
"version: 3\n",
|
"version: 3\n",
|
||||||
"chanspec tx inbss obss nocat nopkt doze txop goodtx badtx glitch badplcp knoise idle timestamp\n",
|
"chanspec tx inbss obss nocat nopkt doze txop goodtx badtx glitch badplcp knoise idle timestamp\n",
|
||||||
"0xe06a 61 15 0 17 0 0 6 53 2 0 0 -91 65 343370578\n")
|
#`"0xe06a 61 15 0 17 0 0 6 53 2 0 0 -91 65 343370578\n")
|
||||||
|
"0xe06a 1.67 15.00 0.00 17.00 0.00 0.00 97.33 53.00 2.00 0 0 -91 65 343370578\n")
|
||||||
|
|
||||||
else:
|
else:
|
||||||
# read from the AP
|
# read from the AP
|
||||||
ap_stats_5g = self.read_ap_stats_5g()
|
ap_stats_5g = self.read_ap_stats_5g()
|
||||||
@@ -751,7 +753,7 @@ class L3VariableTime(Realm):
|
|||||||
# print("response".format(response))
|
# print("response".format(response))
|
||||||
pprint(response)
|
pprint(response)
|
||||||
p = response['interface']
|
p = response['interface']
|
||||||
#print("#### From LANforge: p, response['insterface']:{}".format(p))
|
print("#### From LANforge: p, response['insterface']:{}".format(p))
|
||||||
mac = p['mac']
|
mac = p['mac']
|
||||||
#print("#### From LANforge: p['mac']: {mac}".format(mac=mac))
|
#print("#### From LANforge: p['mac']: {mac}".format(mac=mac))
|
||||||
|
|
||||||
@@ -824,7 +826,8 @@ class L3VariableTime(Realm):
|
|||||||
ap_chanim_stats_2g = "{}{}{}{}".format("root@Docsis-Gateway:~# wl -i wl1 chanim_stats\n",
|
ap_chanim_stats_2g = "{}{}{}{}".format("root@Docsis-Gateway:~# wl -i wl1 chanim_stats\n",
|
||||||
"version: 3\n",
|
"version: 3\n",
|
||||||
"chanspec tx inbss obss nocat nopkt doze txop goodtx badtx glitch badplcp knoise idle timestamp\n",
|
"chanspec tx inbss obss nocat nopkt doze txop goodtx badtx glitch badplcp knoise idle timestamp\n",
|
||||||
"0xe06a 62 15 0 17 0 0 6 53 2 0 0 -91 65 343370578\n")
|
#"0xe06a 62 15 0 17 0 0 6 53 2 0 0 -91 65 343370578\n")
|
||||||
|
"0xe06a 1.67 15.00 0.00 17.00 0.00 0.00 97.33 53.00 2.00 0 0 -91 65 343370578\n")
|
||||||
else:
|
else:
|
||||||
# read from the AP
|
# read from the AP
|
||||||
ap_stats_2g = self.read_ap_stats_2g()
|
ap_stats_2g = self.read_ap_stats_2g()
|
||||||
|
|||||||
Reference in New Issue
Block a user