Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
e_zombie
noc
Commits
b90f6b36
Commit
b90f6b36
authored
Jun 23, 2022
by
Dmitry Lukhtionov
Browse files
Fix Cisco.IOS.get_inventory script
parent
4101daf1
Changes
1
Hide whitespace changes
Inline
Side-by-side
sa/profiles/Cisco/IOS/get_inventory.py
View file @
b90f6b36
...
...
@@ -428,9 +428,11 @@ class Script(BaseScript):
return
"ESP"
,
self
.
slot_id
,
pid
+
"-ESP"
return
"MOTHERBOARD"
,
self
.
slot_id
,
pid
elif
(
pid
.
startswith
(
"WS-X64"
)
or
pid
.
startswith
(
"WS-X67"
)
pid
.
startswith
(
"WS-X61"
)
or
pid
.
startswith
(
"WS-X63"
)
or
pid
.
startswith
(
"WS-X64"
)
or
pid
.
startswith
(
"WS-X65"
)
or
pid
.
startswith
(
"WS-X67"
)
or
pid
.
startswith
(
"WS-X68"
)
or
pid
.
startswith
(
"WS-X69"
)
or
pid
.
startswith
(
"WS-X49"
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment