mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-01 03:07:56 +00:00
test_ipv6_connection.py : added try except for checking if interface is up. test_ipv4_conneciton.py : moved print to debug
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
This commit is contained in:
@@ -106,7 +106,8 @@ class IPv4Test(LFCliBase):
|
||||
eidn = self.local_realm.name_to_eid(sta_name)
|
||||
url = "/port/1/%s/%s" % (eidn[1], eidn[2])
|
||||
sta_status = self.json_get(url + "?fields=port,alias,ip,ap", debug_=self.debug)
|
||||
print(sta_status)
|
||||
if self.debug:
|
||||
print(sta_status)
|
||||
try:
|
||||
if (sta_status is None) or (sta_status['interface'] is None) or (sta_status['interface']['ap'] is None):
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user