| 1 |
Value PORT (\d+) |
| 2 |
Value NAME (\S+) |
| 3 |
Value SN (\S+) |
| 4 |
Value DESCR (.+) |
| 5 |
Value VID (\d+\.\d+|\d+) |
| 6 |
|
| 7 |
Start |
| 8 |
^\s*System\s+\S+?$$ -> Chassis |
| 9 |
|
| 10 |
Chassis |
| 11 |
^\s+Model |
| 12 |
^\s+- |
| 13 |
^\s+HW |
| 14 |
^\s+${VID}\s+${SN}\s+\d+-\d+-\d+ -> Record |
| 15 |
^\s+${NAME}?\s+${DESCR}$$ |
| 16 |
^\s*System.+(power supply|power-supply) -> Power_Supply |
| 17 |
|
| 18 |
|
| 19 |
Power_Supply |
| 20 |
^\s+Slot |
| 21 |
^\s+- |
| 22 |
^\s+${PORT}\s+${NAME}\s+${SN} -> Record |
| 23 |
^\s*System.+(fan) -> Fan |
| 24 |
|
| 25 |
Fan |
| 26 |
^\s+Module |
| 27 |
^\s+- |
| 28 |
^\s+${PORT}?\s+\d+?\s+${NAME}?\s+${SN} -> Record |
| 29 |
^\s*System.+ports -> Ports |
| 30 |
|
| 31 |
Ports |
| 32 |
^\s+${DESCR}\s+${PORT} -> Record |
| 33 |
^\s*System.+transceiver -> Transceiver |
| 34 |
|
| 35 |
Transceiver |
| 36 |
^\s+${PORT}\s+${DESCR}\s+${NAME}\s+${SN}\s+${VID} -> Record |