summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2016-07-26move gRPC-related code for REQ_GET_VRF to grpc_server.goFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-07-26move gRPC-related code for REQ_GET_SERVER to grpc_server.goFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-07-27doc: update lib.md with the new native APIsFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-07-27server: only the maing goroutine can call Shutdown()FUJITA Tomonori
s.neighborMap needs to be protected. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-07-27remove unused SetGlobalType functionFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-07-26move gRPC-related code for REQ_NEIGHBOR to grpc_server.goFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-07-26move gRPC-related code for REQ_START_SERVER to grpc_server.goFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-07-26move gRPC-related code for REQ_STOP_SERVER to grpc_server.goFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-07-26openswitch: use proper gRPC APIFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-07-26export Watch featureFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-07-26clone Paths before notifying watchersFUJITA Tomonori
Path object has data (map, slice) that mutiple goroutines can't access. So needs to clone them before passing them to wathers. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-07-25simplify watcher notificaitonFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-07-22delete unused old watcher codeFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-07-22mrt uses the new Watch APIFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-07-22collector uses the new Watch APIFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-07-22bmp uses the new Watch APIFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-07-22zebra client uses the new Watch APIFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-07-22move gRPC-related code for REQ_MONITOR_RIB and ↵FUJITA Tomonori
REQ_MONITOR_NEIGHBOR_PEER_STATE to grpc_server.go Add new Watch API. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-07-21move gRPC-related code for REQ_ADD_PATH and REQ_DELETE_PATH to grpc_server.goFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-07-21move gRPC-related code for REQ_ADD_NEIGHBOR and REQ_DELETE_NEIGHBOR to ↵FUJITA Tomonori
grpc_server.go Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-07-20remove gRPC dependency from table/FUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-07-20add management task channelFUJITA Tomonori
replace GrpcRequest/Response. Simpler and handy golang-native APIs. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-07-20move gRPC-related code in path.go and destination.go to grpc_server.goFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-07-20move gRPC-related code in vrf.go to grpc_server.goFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-07-20move gRPC-related code for RPKI to grpc_server.goFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-07-20table: remove ToApiStruct methods from policy.goFUJITA Tomonori
Preparation for removing gRPC dependency. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-07-20remove REQ_GRPC_DELETE_NEIGHBORFUJITA Tomonori
replace REQ_GRPC_DELETE_NEIGHBOR with REQ_DEL_NEIGHBOR Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-07-20remove REQ_GRPC_ADD_NEIGHBORFUJITA Tomonori
replace REQ_GRPC_ADD_NEIGHBOR with REQ_ADD_NEIGHBOR Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-07-20move gRPC-related code for REQ_GET_SERVER to grpc_server.goFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-07-20remove gRPC dependency from peer.goFUJITA Tomonori
move gRPC dependency from peer.go to grpc_server.go Preparation for the removal of gRPC dependency from packages except for api package. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-07-20fix typo: s/dispodition/disposition/ in policy documentJun-ya Kato
2016-07-20server: add missing mutex lock when updating policy configurationFUJITA Tomonori
The useage of policyMutex is very hacky. It should be moved to table/policy.go Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-07-20Fix and get along with gobgpd v1.9Shintaro Kojima
2016-07-19mrt: skip MRT errors instead of just dyingVincent Bernat
When trying to inject a full view from the router views project, it seems that some entries have an unexpected flag (transitive flag missing). Just skip those entries instead of dying.
2016-07-11Add shorter prefix searchBen Agricola
Adds a shorter-prefixes search mode that finds any identical-or-less-specific routes than the input values. Bug-Url: #1006 Signed-off-by: Ben Agricola bagricola@squiz.co.uk
2016-07-11Fix longer-prefix search using radix trie walkBen Agricola
Bug-Url: #1006 Signed-off-by: Ben Agricola <bagricola@squiz.co.uk>
2016-07-02GoBGP 1.9FUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-06-30cli: support adding flowspec vpn routesISHIDA Wataru
$ gobgp global rib add -a ipv4-l3vpn-flowspec rd 100:100 match destination 10.0.0.0/24 then discard Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2016-06-30bgp: fix bug of flowspec vpn parser/serializerISHIDA Wataru
close #997 Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2016-06-16Fix a typo in FSM stateThomas Morin
s/notificatoin/notification/
2016-06-16Do not crash on RTC wildcard routesThomas Morin
Do not crash and match everything when rt field of a RouteTartgetMembershipNLRI is nil. Bug-Url: #990
2016-06-16Fix inversion between v4 and v6 in ValidateAttributeThomas Morin
This fixes a trivial inversion of v4/v6 calls in ValidateAttribute. Bug-Url: #991
2016-06-15gobgpd: add an option to change/disable pprof settingISHIDA Wataru
use `--pprof-disable` to disable pprof use `--pprof-host` to change pprof listening host Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
2016-06-27fix two-bytes AS translationFUJITA Tomonori
We can't use the two-bytes AS translation result by the previous session. IOW, the peer might become 4bytes AS capable after the session was down. fix the regression of commit 6f644ee1ca1be81e6ec96c8504e34c26b3d1f8a8 Author: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> Date: Tue Jun 28 10:44:07 2016 +0900 fsm: do two-bytes AS translation if didn't sent 4byte cap Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-06-28fix support AGGREGATOR and AS4_AGGREGATOR conversionFUJITA Tomonori
Fix the following commit: commit de58be441150daf8943a5a66ced6703b8201303e Author: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> Date: Sun Jun 26 23:18:23 2016 +0900 support AGGREGATOR and AS4_AGGREGATOR conversion Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-06-28fsm: do two-bytes AS translation if didn't sent 4byte capFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-06-27gobgp: add aggregator path attribute supportFUJITA Tomonori
$gobgp global rib add -a ipv4 10.0.0.0/24 nexthop 20.20.20.20 aggregator 3000:10.0.0.1 Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-06-27add AGGREGATOR and AS4_AGGREGATOR conversion testFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-06-26support AGGREGATOR and AS4_AGGREGATOR conversionFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-06-27bgp: flat the VPN labelAntoine Eiche