summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2018-08-18ZAPI5 (FRRouting version 5) supportHitoshi Irino
2018-08-17table: remove DIRECTION_IN completelyFUJITA Tomonori
so overdue. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2018-08-17pkg/packet/bgp: Fix NewEVPNMacIPAdvertisementRoute() to use correct MAC lengthYichen Wang
2018-08-17ignore duplicate RTC Membership announcementsMarcin Ptaszynski
2018-08-16pkg/server: handleUpdate() should not inject echo route from RRYichen Wang
2018-08-16pkt/server: ListPolicy() and ListStatement() support filtering like ↵FUJITA Tomonori
ListDefinedSet() and ListPolicyAassignment() Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2018-08-16gobgp: fix peer state printFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2018-08-10fix library usage exampleFUJITA Tomonori
also enable the CI for it again. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2018-08-10pkg/server: public APIs use structures in api/FUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2018-08-08rpc cleanupFUJITA Tomonori
- clean up RPC function names - rewrite gobgp command to use the api instead of config package - delete unused client package Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2018-07-24pkg/packet/bgp: fix ParsePmsiTunnel() and NewPathAttributePmsiTunnel() crashFUJITA Tomonori
Once we create an object, we should not mutate it. This fixes the following in a different way. https://github.com/osrg/gobgp/pull/1778 Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2018-07-24fix path to lib directorytamihiro
2018-07-24pkg/server: send all families (including RTC) after deferral time expiredFUJITA Tomonori
fixes #1788 Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2018-07-24fix unittest warnings with go tipFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2018-07-19fix races and enable race detector in unittestjhserrano
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2018-07-16use function Equal() instead of build-in comparewanghonghao
2018-07-15fix goreleaser to build static binariesFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2018-07-15pkg/server: enable active connection with graceful restartFUJITA Tomonori
No reason why active connection with graceful restart is disabled. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2018-07-15fsm: Connect to bgp peers regardless of whether the peers are restartingwanghonghao
2018-07-14cmd/gobgp: use different grpc port for rpki_testFUJITA Tomonori
Sometimes fails due to listen port conflict with tests in internal/pkg/client. Using unix domain socket migth be a proper fix. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2018-07-14cmd: fix error when delete policy statementchenhaiq@yunify.com
Signed-off-by: Chen Haiquan <oc@yunify.com>
2018-07-14cmd: implement ebgp-multihop-ttl option when add neighborchenhaiq@yunify.com
Signed-off-by: Chen Haiquan <oc@yunify.com>
2018-07-14fix missing EbgpMultihop configtamihiro
2018-07-08remove package dependency except for grpc in api/FUJITA Tomonori
Nothing except for protobuf IDL files and files generated by protobuf in api/. Try to make the APIs portable to any languages. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2018-07-07delete tools/route-serverFUJITA Tomonori
It was used when the project has just started. But I don't think that it's useful anymore. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2018-07-07follow Standard Go Project LayoutFUJITA Tomonori
https://github.com/golang-standards/project-layout Now you can see clearly what are private and public library code. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2018-07-07delete gobmpdFUJITA Tomonori
this is just an example. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2018-07-06api: move api/policy.go to gobgp/cmd/FUJITA Tomonori
Some functions might be useful as public APIs but for now make everything private. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2018-07-06api: decrease the dependencyFUJITA Tomonori
move grpc_server.go to server/ Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2018-07-06Fixing all megacheck errors.FUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2018-07-06cmd: Implement PrettyString()Satoshi Fujimoto
Signed-off-by: Satoshi Fujimoto <satoshi.fujimoto7@gmail.com>
2018-07-06cmd: Remove table/ usage in policy.goSatoshi Fujimoto
Signed-off-by: Satoshi Fujimoto <satoshi.fujimoto7@gmail.com>
2018-07-06table: Sort in table packageSatoshi Fujimoto
Signed-off-by: Satoshi Fujimoto <satoshi.fujimoto7@gmail.com>
2018-07-06cmd: Remove table/ usage from neighbor.goSatoshi Fujimoto
Signed-off-by: Satoshi Fujimoto <satoshi.fujimoto7@gmail.com>
2018-07-06gobgp: fix client.AddPath to use api.Path instead of table.PathFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2018-07-06gobgp: replace table.TableInfo usage with api.TableInfoFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2018-07-06api: remove table/ usage in util.goFUJITA Tomonori
This is a part of work removing table/ usage in api/. api/ will depend on only protobuf stuff and packet/. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2018-07-06config: Copy afi-safi objects from peer group to neighbor instead of share ↵wanghonghao
the same array
2018-07-01GoBGP 1.33FUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2018-06-29server: exclude RTC for softreset if not specifiedFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2018-06-27* Adding travis config for Codecov - Codecov will need to be givenJeff Bean
access
2018-06-27Fixing staticcheck errors from linux filesJeff Bean
2018-06-27server: Avoid calling os.Exit() in BgpServer.Shutdown()IWASE Yusuke
In case that GoBGP is used as Go native library, calling os.Exit() can cause unexpected termination including application which uses GoBGP. This patch removes calls of os.Exit() derived from BgpServer.Shutdown(). Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com>
2018-06-23potential - Found a bug in the python testsJeff Bean
2018-06-23timeouts on tests and fixing timeout logic on graceful restart testJeff Bean
2018-06-22fixing some typos and found one conversion bugJeff Bean
2018-06-22Fixing all megacheck errors.Jeff Bean
2018-06-21packet/bgp: Fix length calc when multiple RTM NLRIsIWASE Yusuke
When multiple RTM NLRIs are composed in a single MP_REACH_NLRI, the current implementation will fail to decode those NLRIs because RouteTargetMembershipNLRI.DecodeFromBytes() tests the length of the given bytes even if including the subsequent bytes. This patch fixes to cut the bytes by using the prefix length before testing the byte length. Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com>
2018-06-21api: Use capability.proto in message PeerConfIWASE Yusuke
The current formats of the remote/local capabilities in message PeerConf are the binary type representation, this patch fixes to use the structures defined in capability.proto file. Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com>
2018-06-21api: Define protobuf for BGP CapabilitiesIWASE Yusuke
Example of protoc command: $ export PROTOBUF=${HOME}/protobuf/src $ export GOBGP=${GOPATH}/src/github.com/osrg/gobgp $ protoc \ -I ${PROTOBUF} \ -I ${GOBGP}/api \ --go_out=plugins=grpc:${GOBGP}/api \ ${GOBGP}/api/gobgp.proto \ ${GOBGP}/api/attribute.proto \ ${GOBGP}/api/capability.proto Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com>