mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-02 03:37:55 +00:00
sta_connect.py: adds slashes
This commit is contained in:
@@ -278,19 +278,19 @@ class StaConnect(LFCliBase):
|
|||||||
# get data for endpoints JSON
|
# get data for endpoints JSON
|
||||||
print("Collecting Data")
|
print("Collecting Data")
|
||||||
try:
|
try:
|
||||||
ptestTCPA = self.json_get("endp/testTCP-A?fields=tx+bytes,rx+bytes")
|
ptestTCPA = self.json_get("/endp/testTCP-A?fields=tx+bytes,rx+bytes")
|
||||||
ptestTCPATX = ptestTCPA['endpoint']['tx bytes']
|
ptestTCPATX = ptestTCPA['endpoint']['tx bytes']
|
||||||
ptestTCPARX = ptestTCPA['endpoint']['rx bytes']
|
ptestTCPARX = ptestTCPA['endpoint']['rx bytes']
|
||||||
|
|
||||||
ptestTCPB = self.json_get("endp/testTCP-B?fields=tx+bytes,rx+bytes")
|
ptestTCPB = self.json_get("/endp/testTCP-B?fields=tx+bytes,rx+bytes")
|
||||||
ptestTCPBTX = ptestTCPB['endpoint']['tx bytes']
|
ptestTCPBTX = ptestTCPB['endpoint']['tx bytes']
|
||||||
ptestTCPBRX = ptestTCPB['endpoint']['rx bytes']
|
ptestTCPBRX = ptestTCPB['endpoint']['rx bytes']
|
||||||
|
|
||||||
ptestUDPA = self.json_get("endp/testUDP-A?fields=tx+bytes,rx+bytes")
|
ptestUDPA = self.json_get("/endp/testUDP-A?fields=tx+bytes,rx+bytes")
|
||||||
ptestUDPATX = ptestUDPA['endpoint']['tx bytes']
|
ptestUDPATX = ptestUDPA['endpoint']['tx bytes']
|
||||||
ptestUDPARX = ptestUDPA['endpoint']['rx bytes']
|
ptestUDPARX = ptestUDPA['endpoint']['rx bytes']
|
||||||
|
|
||||||
ptestUDPB = self.json_get("endp/testUDP-B?fields=tx+bytes,rx+bytes")
|
ptestUDPB = self.json_get("/endp/testUDP-B?fields=tx+bytes,rx+bytes")
|
||||||
ptestUDPBTX = ptestUDPB['endpoint']['tx bytes']
|
ptestUDPBTX = ptestUDPB['endpoint']['tx bytes']
|
||||||
ptestUDPBRX = ptestUDPB['endpoint']['rx bytes']
|
ptestUDPBRX = ptestUDPB['endpoint']['rx bytes']
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
|||||||
Reference in New Issue
Block a user