| 1 |
Value LOCAL_INTERFACE (\S+) |
| 2 |
Value NEIGHBOR (\S+) |
| 3 |
Value NEIGHBOR_INTERFACE (\S+) |
| 4 |
Value CAPABILITY (R|B|O|RO|RB|BR|BO|OR|OB|RBO|ROB|BRO|BOR|ORB|OBR) |
| 5 |
Value NEIGHBOR_INTERFACE_DESCR (\S+) |
| 6 |
|
| 7 |
Start |
| 8 |
^Capability\s+codes:\s+\(R\)\s+Router,\s+\(B\)\s+Bridge,\s+\(O\)\s+Other |
| 9 |
^LocalPort\s+RemoteDevice\s+RemotePortID\s+Capability\s+RemotePortDescr |
| 10 |
^[-+\s+]+ -> Row |
| 11 |
^. -> Error |
| 12 |
|
| 13 |
Row |
| 14 |
^${LOCAL_INTERFACE}\s+${NEIGHBOR}\s+${NEIGHBOR_INTERFACE}\s+${CAPABILITY}\s+${NEIGHBOR_INTERFACE_DESCR} -> Record |
| 15 |
^-+ |
| 16 |
^[\w+\s+]*:\s+\d+ |
| 17 |
^. -> Error |