mirror of
https://github.com/alice-lg/birdwatcher.git
synced 2025-03-09 00:00:05 +01:00
Regexp from Barry:
https://github.com/inex/birdseye/blob/master/app/Bird/Parser/Protocol/Bgp.php
This commit is contained in:
parent
24750eb5e9
commit
87f8123138
1 changed files with 6 additions and 5 deletions
|
@ -13,11 +13,12 @@ matches:
|
|||
# pp_0236_as10310 Pipe master up 2016-07-22 => t_0236_as10310
|
||||
getprotocol:
|
||||
fields:
|
||||
- name
|
||||
- prot
|
||||
- date
|
||||
- status
|
||||
expr: "^([A-Z][a-z][0-9]*) (.*) .* (.*) (.*)"
|
||||
- protocol
|
||||
- table
|
||||
- state
|
||||
- state_changed
|
||||
- connection
|
||||
expr: '^(\w+)\s+BGP\s+(\w+)\s+(\w+)\s+([0-9\-]+)\s+(\w+)\s*$'
|
||||
next: "protdescription"
|
||||
|
||||
# Description: Pipe for AS10310 - Yahoo! - VLAN Interface 236
|
||||
|
|
Loading…
Add table
Reference in a new issue