mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-30 04:33:00 +02:00
test: infamy: Silence reachability check
This was to verbose.
This commit is contained in:
@@ -22,7 +22,6 @@ from . import env, netutil
|
||||
|
||||
def netconf_syn(addr):
|
||||
if netutil.tcp_port_is_open(addr, 830):
|
||||
print(f"{addr} answers to TCP connections on port 830 (NETCONF)")
|
||||
return True
|
||||
else:
|
||||
return False
|
||||
|
||||
@@ -101,7 +101,6 @@ def restconf_reachable(neigh, password):
|
||||
response = requests_workaround_get(url, headers=headers, auth=auth,
|
||||
verify=False)
|
||||
if response.status_code == 200:
|
||||
print(f"{neigh} answers to TCP connections on port 443 (RESTCONF)")
|
||||
return True
|
||||
except:
|
||||
return False
|
||||
|
||||
Reference in New Issue
Block a user