Skip to content

Commit

Permalink
Merge pull request #252 from amb1s1/cisco_asa_show_inventory
Browse files Browse the repository at this point in the history
Updated show inventory to catch space on the name field
  • Loading branch information
jmcgill298 authored Aug 22, 2018
2 parents de60298 + b95a4da commit 9cd627b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion templates/cisco_asa_show_inventory.template
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Value NAME (\S+)
Value NAME (.*)
Value DESCR (.*)
Value PID (\S+)
Value VID (\S+)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,9 @@ parsed_sample:
pid: "ASA5515"
sn: "FTX1930101U"
vid: "V03"

- name: "power supply"
descr: "ASA/IPS 180W AC Power Supply"
pid: "ASA-180W-PWR-AC"
sn: "DTN111381AC"
vid: "V01"
3 changes: 3 additions & 0 deletions tests/cisco_asa/show_inventory/cisco_asa_show_inventory.raw
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
Name: "Chassis", DESCR: "ASA 5515-X with SW, 6 GE Data, 1 GE Mgmt, AC"
PID: ASA5515 , VID: V03 , SN: FTX1930101U

Name: "power supply", DESCR: "ASA/IPS 180W AC Power Supply"
PID: ASA-180W-PWR-AC , VID: V01 , SN: DTN111381AC

0 comments on commit 9cd627b

Please sign in to comment.