mirror of
https://github.com/hansjone/netx.git
synced 2026-10-09 08:10:47 +08:00
Harden ZTE biz-state parsers and default | one-line collect CLIs.
Append secondary IPs with M/S tags, skip ND6 clock banners, split optical power vs thresholds including QSFP lanes, broaden static-route egress ifnames, and add | one-line to ZTE collect templates except interface detail. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
d900aca633
commit
ac4f115ee8
13 changed files with 373 additions and 109 deletions
|
|
@ -1,6 +1,6 @@
|
|||
Value INTERFACE (\S+)
|
||||
Value OPTIC_TYPE (\S+)
|
||||
Value WAVELENGTH (\S+)
|
||||
Value Filldown INTERFACE (\S+)
|
||||
Value Filldown OPTIC_TYPE (\S+)
|
||||
Value Filldown WAVELENGTH (\S+)
|
||||
Value RX_POWER (\S+)
|
||||
Value TX_POWER (\S+)
|
||||
Value STATUS (\S+)
|
||||
|
|
@ -11,7 +11,9 @@ Start
|
|||
^.* -> Start
|
||||
|
||||
Entries
|
||||
^${INTERFACE}\s+offline\s*$$ -> Record
|
||||
^${INTERFACE}\s+${OPTIC_TYPE}\s+${WAVELENGTH}\s+${RX_POWER}\s+${TX_POWER}\s+${STATUS}(?:\s+\S+)?\s*$$ -> Record
|
||||
^\s+${RX_POWER}\s+${TX_POWER}\s+${STATUS}(?:\s+\S+)?\s*$$ -> Record
|
||||
^\s*$$
|
||||
^\S+\s*#\s*$$ -> End
|
||||
^.*#\s*$$ -> End
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue