12 Commits
Author SHA1 Message Date
Satoshi Fujimoto be2524ee3e config: Use State to get NeighborAddress instead of Config
By introducing dynamic neighbor feature,
GoBGP can have dynamic neighbors,
and corresponding Config.NeighboAddress can be empty.

This patch sets State.NeighborAddress for all neighbors,
and gets the neighbor's address from them.

Signed-off-by: Satoshi Fujimoto <[email protected]>
2017-06-16 09:09:47 +09:00
FUJITA Tomonori d65df0b045 replace github.com/Sirupsen/logrus with github.com/sirupsen/logrus
The usage of "github.com/sirupsen/logrus" is recommended.

Signed-off-by: FUJITA Tomonori <[email protected]>
2017-06-07 21:04:11 +09:00
IWASE YusukeandFUJITA Tomonori 99336372ab packet/mrt: BGP Additional Path Extensions (RFC8050)
This patch enables to decode/encode MRT format with BGP Additional Path
Extensions which described in RFC8050.

Signed-off-by: IWASE Yusuke <[email protected]>
2017-06-01 09:31:52 +09:00
FUJITA Tomonori 48bc1ed7a6 mrt: fix rotation and dump interval handling in table mode
Having two interval options easily confuse users. With this, either
can be specified.

If you specify the rotation interval, gobgpd dumps a table and rotates
a log file every the rotation interval.

Signed-off-by: FUJITA Tomonori <[email protected]>
2016-09-01 22:02:36 +09:00
FUJITA Tomonori eef1fc0a75 add RemoteRouterId to config.NeighborState
Stop using config.NeighborState's Description in a hacky way for the
remote Router Id.

Signed-off-by: FUJITA Tomonori <[email protected]>
2016-08-26 18:15:03 +09:00
FUJITA Tomonori 2c12fa2b92 mrt: support per-peer table dump with route server configuration
Signed-off-by: FUJITA Tomonori <[email protected]>
2016-08-15 09:24:49 +09:00
FUJITA Tomonori 411bf84633 support mrt table dump (TABLE_DUMPv2 format)
Only global rib dumping is supported for now.

Signed-off-by: FUJITA Tomonori <[email protected]>
2016-08-14 07:51:42 +09:00
dspandFUJITA Tomonori c4fe45902e all logging is done with log.WithFields
Signed-off-by: dsp <[email protected]>
Signed-off-by: ISHIDA Wataru <[email protected]>
2016-07-30 12:17:37 +09:00
FUJITA Tomonori ebac86e07a export Watch feature
Signed-off-by: FUJITA Tomonori <[email protected]>
2016-07-26 10:23:51 +09:00
FUJITA Tomonori 20696d7e1c mrt uses the new Watch API
Signed-off-by: FUJITA Tomonori <[email protected]>
2016-07-22 23:04:17 +09:00
FUJITA Tomonori c9e86a9416 server: delete unused functions and variables
Signed-off-by: FUJITA Tomonori <[email protected]>
2016-06-23 22:33:08 +09:00
ISHIDA WataruandFUJITA Tomonori b63e1c1fc3 server: refactor monitor/watcher infra
have watcherManager to manage all watchers
also merge grpc neighbor state monitoring handling to grpcWatcher

Signed-off-by: ISHIDA Wataru <[email protected]>
2016-06-06 12:43:20 +09:00