Skip to content

Commit

Permalink
update arista_eos_show_inventory
Browse files Browse the repository at this point in the history
  • Loading branch information
yshu95 committed Sep 4, 2020
1 parent de0eb77 commit 35839c6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions templates/arista_eos_show_inventory.textfsm
Original file line number Diff line number Diff line change
Expand Up @@ -11,26 +11,26 @@ Chassis
^\s+Model
^\s+-
^\s+HW
^\s+${VID}\s+${SN}\s+\d+-\d+-\d+$$ -> Record
^\s+${VID}\s+${SN}\s+\d+-\d+-\d+ -> Record
^\s+${NAME}?\s+${DESCR}$$
^\s*System.+(power supply|power-supply) -> Power_Supply


Power_Supply
^\s+Slot
^\s+-
^\s+${PORT}\s+${NAME}\s+${SN}$$ -> Record
^\s+${PORT}\s+${NAME}\s+${SN} -> Record
^\s*System.+(fan) -> Fan

Fan
^\s+Module
^\s+-
^\s+${PORT}?\s+\d+?\s+${NAME}?\s+${SN}$$ -> Record
^\s+${PORT}?\s+\d+?\s+${NAME}?\s+${SN} -> Record
^\s*System.+ports -> Ports

Ports
^\s+${DESCR}\s+${PORT}$$ -> Record
^\s+${DESCR}\s+${PORT} -> Record
^\s*System.+transceiver -> Transceiver

Transceiver
^\s+${PORT}\s+${DESCR}\s+${NAME}\s+${SN}\s+${VID}$$ -> Record
^\s+${PORT}\s+${DESCR}\s+${NAME}\s+${SN}\s+${VID} -> Record
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ System has 52 transceiver slots
1 Arista Networks SFP-10G-SR XCW1225FD753 0002
2 Arista Networks SFP-10G-SR XCW1225FD753 0002
51 Arista Networks SFP-10G-SR XCW1225FD753 0002
52 Arista Networks SFP-10G-SR XCW1225FD753 0002
52 Arista Networks SFP-10G-SR XCW1225FD753 0002

0 comments on commit 35839c6

Please sign in to comment.