diff --git a/netmiko/base_connection.py b/netmiko/base_connection.py index 8fa3daf05..2fad35ab8 100644 --- a/netmiko/base_connection.py +++ b/netmiko/base_connection.py @@ -280,7 +280,7 @@ def __init__( (default: False) :param encoding: Encoding to be used when writing bytes to the output channel. - (default: ascii) + (default: "utf-8") :param sock: An open socket or socket-like object (such as a `.Channel`) to use for communication to the target host (default: None). diff --git a/netmiko/snmp_autodetect.py b/netmiko/snmp_autodetect.py index e24179557..da4c8c970 100644 --- a/netmiko/snmp_autodetect.py +++ b/netmiko/snmp_autodetect.py @@ -40,6 +40,11 @@ "expr": re.compile(r".*Arista Networks EOS.*", re.IGNORECASE), "priority": 99, }, + "allied_telesis_awplus": { + "oid": ".1.3.6.1.2.1.1.1.0", + "expr": re.compile(r".*AlliedWare Plus.*", re.IGNORECASE), + "priority": 99, + }, "paloalto_panos": { "oid": ".1.3.6.1.2.1.1.1.0", "expr": re.compile(r".*Palo Alto Networks.*", re.IGNORECASE), diff --git a/netmiko/ssh_autodetect.py b/netmiko/ssh_autodetect.py index 546445f24..febddd1c3 100644 --- a/netmiko/ssh_autodetect.py +++ b/netmiko/ssh_autodetect.py @@ -64,6 +64,12 @@ "priority": 99, "dispatch": "_autodetect_std", }, + "allied_telesis_awplus": { + "cmd": "show version", + "search_patterns": ["AlliedWare Plus"], + "priority": 99, + "dispatch": "_autodetect_std", + }, "apresia_aeos": { "cmd": "show system", "search_patterns": ["Apresia"],