Commit 7245d908 authored by Dmitry Lukhtionov's avatar Dmitry Lukhtionov
Browse files

Fix Cisco.IOS.get_chassis_id script

parent e691e48e
......@@ -57,6 +57,11 @@ class Profile(BaseProfile):
"$regex": r"76(0[3459](\-S)?|13)"
}
},
"is_platform_me3x00x": {
"platform": {
"$regex": r"^ME\-3[68]00X"
}
},
"is_isr_router": {
"platform": {
"$regex": r"^(19\d\d|29\d\d|39\d\d)$"
......
......@@ -176,6 +176,6 @@ class Script(BaseScript):
return self.execute_cat6000()
elif self.is_cat4000:
return self.execute_cat4000()
elif self.is_small_cat:
elif self.is_small_cat or self.is_platform_me3x00x:
return self.execute_small_cat()
raise self.NotSupportedError()
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