Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions annet/annlib/netdev/devdb/data/devdb.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"Cisco.IE": " IE",
"Cisco.AIR": "AIR",
"Cisco.ASR": " ASR",
"Cisco.ASR.ASR1000": " ?1\\d{3}",
"Cisco.ASR.ASR9000": " 9\\d{3}",
"Cisco.XRV": "XRv",
"Cisco.XR": " 8[\\d\\d\\d]",
Expand Down
2 changes: 1 addition & 1 deletion annet/vendors/library/cisco.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def apply(self, hw: HardwareView, do_commit: bool, do_finalize: bool, path: str)
return before, after

def match(self) -> list[str]:
return ["Cisco"]
return ["Cisco", "Cisco.ASR.ASR1000"]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think Cisco is enough here


@property
def reverse(self) -> str:
Expand Down