Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix cisco_asa_show_inventory - catch space in PID value Issue #1692 #1697

Merged
merged 2 commits into from
Jun 27, 2024
Merged
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
2 changes: 1 addition & 1 deletion ntc_templates/templates/cisco_asa_show_inventory.textfsm
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Value NAME (.*)
Value DESCR (.*)
Value PID (\S+)
Value PID ([\w\d\s/-]+[\S]+)
Value VID (\S+)
Value SN (\S+)

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Name: "GigabitEthernet1/0", DESCR: ""
PID: SFCT-739SMZ-CS1 G3, VID: G3.1, SN: JMX8318372GB

Name: "GigabitEthernet1/1", DESCR: ""
PID: SFCT-739SMZ-CS1 G3, VID: G3.1, SN: MSA1917883N
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
parsed_sample:
- descr: ""
name: "GigabitEthernet1/0"
pid: "SFCT-739SMZ-CS1 G3"
sn: "JMX8318372GB"
vid: "G3.1"
- descr: ""
name: "GigabitEthernet1/1"
pid: "SFCT-739SMZ-CS1 G3"
sn: "MSA1917883N"
vid: "G3.1"
Loading