Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
noc
noc
Commits
8dca1508
Commit
8dca1508
authored
Jun 23, 2022
by
bee26
Browse files
release-22.1:Backport!6396
parent
b868505b
Changes
1
Hide whitespace changes
Inline
Side-by-side
sa/profiles/Cisco/IOS/get_inventory.py
View file @
8dca1508
...
...
@@ -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