Commit 222212d7 authored by Dmitry Lukhtionov's avatar Dmitry Lukhtionov
Browse files

Fix Cisco.IOS.get_chassis_id

parent b5601203
......@@ -52,6 +52,11 @@ class Profile(BaseProfile):
"$regex": r"7200|7301"
}
},
"is_platform_7600": {
"platform": {
"$regex": r"76(0[3459](\-S)?|13)"
}
},
"is_isr_router": {
"platform": {
"$regex": r"^(19\d\d|29\d\d|39\d\d)$"
......
......@@ -2,7 +2,7 @@
# ---------------------------------------------------------------------
# Cisco.IOS.get_chassis_id
# ---------------------------------------------------------------------
# Copyright (C) 2007-2017 The NOC Project
# Copyright (C) 2007-2018 The NOC Project
# See LICENSE for details
# ---------------------------------------------------------------------
......@@ -172,7 +172,7 @@ class Script(BaseScript):
return self.execute_c3900()
elif self.is_iosxe:
return self.execute_IOSXE()
elif self.is_cat6000:
elif self.is_cat6000 or self.is_platform_7600:
return self.execute_cat6000()
elif self.is_cat4000:
return self.execute_cat4000()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment