diff options
author | IWASE Yusuke <iwase.yusuke0@gmail.com> | 2017-04-05 15:26:42 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2017-04-17 21:57:11 +0900 |
commit | 7307b1490ec097921956d032f05e359ef2afdb9c (patch) | |
tree | 199a2d1320ff46f67f37b6e0f1be6c3266d7c0b2 /packet | |
parent | 0f0f13417e4fbfd00ea1a2a75bf5f92fa78454e1 (diff) |
bmp: BMP Route Monitoring for Local RIB routes
This patch enable to send BMP Route Monitoring message for Local RIB
routes described in bmp-draft-evens-grow-bmp-local-rib.
Configuration Example: gobgpd.toml
...
[[bmp-servers]]
[bmp-servers.config]
address = "127.0.0.1"
port=11019
route-monitoring-policy = "local-rib"
...
Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com>
Diffstat (limited to 'packet')
-rw-r--r-- | packet/bmp/bmp.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packet/bmp/bmp.go b/packet/bmp/bmp.go index 7cf4f5e6..d931643c 100644 --- a/packet/bmp/bmp.go +++ b/packet/bmp/bmp.go @@ -43,12 +43,14 @@ const ( BMP_PEER_TYPE_GLOBAL uint8 = iota BMP_PEER_TYPE_L3VPN BMP_PEER_TYPE_LOCAL + BMP_PEER_TYPE_LOCAL_RIB ) const ( BMP_PEER_FLAG_IPV6 = 1 << 7 BMP_PEER_FLAG_POST_POLICY = 1 << 6 BMP_PEER_FLAG_TWO_AS = 1 << 5 + BMP_PEER_FLAG_FILTERED = 1 << 6 ) func (h *BMPHeader) DecodeFromBytes(data []byte) error { |