Skip to content

Commit d1e774c

Browse files
Andrew SouthardAndrew Southard
Andrew Southard
authored and
Andrew Southard
committed
Fix issue #2200
1 parent ff59653 commit d1e774c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Diff for: napalm/nxos_ssh/nxos_ssh.py

+5
Original file line numberDiff line numberDiff line change
@@ -634,6 +634,11 @@ def get_facts(self):
634634
if match:
635635
model = match.group(1).strip()
636636

637+
if "cisco" in line and "supervisor" in line:
638+
match = re.search(r".cisco (.*) \(", line)
639+
if match:
640+
model = match.group(1).strip()
641+
637642
hostname = show_hostname.strip()
638643

639644
# Determine domain_name and fqdn

0 commit comments

Comments
 (0)