0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-10-19 10:28:42 +00:00
Commit Graph

3 Commits

Author SHA1 Message Date
Pavel Tvrdík
71299a594d MRT Table Dump: draft-petrie-grow-mrt-add-paths
Add support for MRT Table Dump draft-petrie-grow-mrt-add-paths
2016-01-06 14:41:48 +01:00
Pavel Tvrdík
5125741512 MRT Table Dump: Fix size of AS_PATH in BGP Attributes
All AS numbers in the AS_PATH attribute in RIB Entries MUST be encoded as 4-byte AS numbers.
 -- RFC 6396

Thanks to Colin Petrie for noticing us about this bug in BIRD!
2016-01-06 13:43:26 +01:00
Pavel Tvrdík
6702b7ad74 Integrate MRT Table Dump (RFC 6396) into BIRD
Asynchronous periodic mrt table dumps of routes configuration in bird.conf:
mrtdump routes {
  [ filename "<format>"; ]
  [ table <name>|"<wildcard name>"; ]
  [ period <num>; ]
  [ filter <filter>|where <condition>; ]
}

Synchronous mrt table dumps of routes in BIRD client:
mrtdump routes [table <name>|"<wildcard name>"] [to "<filename format>"] [filter <filter>|where <condition>]
2016-01-06 13:28:46 +01:00