summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2019-02-18docs: delete the description of obsolete mrt cli commandsFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2019-02-18cmd/gobgp: fix non existing neighbor crashFUJITA Tomonori
Fixes some crash bugs when non existing neighbor is specified. Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2019-02-16cmd/gobgp: fix policy printingFUJITA Tomonori
make policy printing same with v1.x Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2019-02-16[Doc #1968] Add NeighborSet WarningThomas Rosenstein
2019-02-15reset eor state on graceful-restart peer downwanghonghao
2019-02-15[Fix #1972] Fix returning of double list size, half nil valuesThomas Rosenstein
2019-02-12[Fix #1967] Fix print statementThomas Rosenstein
2019-02-11doc: update BUILD.mdFUJITA Tomonori
the dep command isn't necessary now. Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2019-02-09docs: READMEFUJITA Tomonori
added 'Go Native BGP Library' section Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2019-02-08cmd/gobgp: make listing of prefix set identical to version 1.XFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2019-02-08Fix listing of prefix set in gobgp cliThomas Rosenstein
2019-02-03Fix spells for keywords (vrfid, labelnum) in sprintf lineHitoshi Irino
2019-02-02Fix bug: processing MPLS label in nexthop update messageHitoshi Irino
2019-02-01v2.1.0FUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2019-01-31Add BGP-LS usage exampleArtur Makutunowicz
2019-01-30README: replace a remaining bluemix URL with now.shIWAMOTO Toshihiro
This complements the commit 9d906149. Signed-off-by: IWAMOTO Toshihiro <iwamoto@valinux.co.jp>
2019-01-27cmd/gobgp: remove in policy debrisFUJITA Tomonori
$ gobgp n 10.0.255.1 p invalid policy type: choose from (in|import|export) The in policy was removed long ago. Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2019-01-27cmd/gobgp: fix showingglobal policyFUJITA Tomonori
Needs to specify the global rib name for ListPolicyAssignment API. Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2019-01-27gobgpd: fix the initial global policy configuration from config fileFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2019-01-27server: fix ListPolicyAssignmet() with empty nameFUJITA Tomonori
if the name isn't specified, the assignment of the global and route server clients. Non route server client doesn't have the assignment. Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2019-01-26gobgp: fix vrf rib command crashFUJITA Tomonori
showNeighborRib() executes net.ParseCIDR() for vrf prefix like 10.100:100:10.0.0.0/24 and then crashes. Probably ListRib() API should support an option to return sorted destinations. Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2019-01-26Add experimental BGP-LS featureArtur Makutunowicz
2019-01-25server: dynamic neighbor deletion panicFUJITA Tomonori
https://github.com/osrg/gobgp/commit/318a91e31b8baed86bb66a3767525da68ae49a5d The above commit added a bug to close a closed channel; after deleting a dynamic neighbor, handleFSMMessage() must return. Otherwise cleanInfiniteChannel() is called twice. https://travis-ci.org/osrg/gobgp/jobs/483896487 Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2019-01-17Allow graceful restart for dynamic neighborsFoivos Filippopoulos
2019-01-12server: Fix peer down reason code in BMPEiichiro Watanabe
2019-01-09server: fix wait time before active connecitonFUJITA Tomonori
also avoid unittest race. Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2019-01-09use staticcheck instead of megacheckFUJITA Tomonori
megacheck is deprecated. Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2019-01-09silence staticcheck warningsFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2019-01-01docs: add releases to BUILDFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2018-12-31add go.mod and go.sum filesFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2018-12-31v2.0.0FUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2018-12-30zebra: Introducing MIN_ZAPIVER and MAX_ZAPIVER. And avoiding double close ↵Hitoshi Irino
channel when sequential retry to connect zebra. - Introducing MIN_ZAPIVER and MAX_ZAPIVER for avoiding editing files except for zapi.go when new ZAPI version will be supported in future. - Fix a bug avoiding panic by double close for a channel. - Changing algorithm for sequential retry to connect zebra.
2018-12-30Fix incorrect values in BMP Statistics Report(type 7 and 8)Eiichiro Watanabe
2018-12-29server: kill getNeighbor()FUJITA Tomonori
Use ListPeer() instead. Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2018-12-28fix bmp statisticsFUJITA Tomonori
fix the regression of the adj counter due to 301b48532d4a5510c9d4ffdc44eb2754fdd1a3d1 Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2018-12-26docs: add project layout description to BUILDFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2018-12-25docs: fix outdated comment of the gRPC API examplesFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2018-12-24docs: delete outdated java/nodejs/ruby gRPC API examplesFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2018-12-24docs: update C++ gRPC API exampleFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2018-12-24docs: update python gRPC API exampleFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2018-12-24api: rename ValidationDetail to ValidationFUJITA Tomonori
Let's simply use 'validation' because there is no other validation structure. We could add validation results from other than rpki so drop rpki name. Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2018-12-23make the usage of type name in protobuf consistentFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2018-12-23make Add/Delete/ListPath APIs symmetricFUJITA Tomonori
- AddPath() with an api.Path object then DeletePath() works with the same api.Path object. - ListPath() returns an api.Path object then DeletePath() works with the same api.Path object. The above is guaranteed with and without PeerInfo (SourceAsn and SourceId). Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2018-12-21docs: add BUILD.md, development guideFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2018-12-19server: replace tomb with contextFUJITA Tomonori
All what we need is cancelling. Let's use the standard way for it, context. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2018-12-19server: use Dialer Control method instead of hack to modify connection ↵FUJITA Tomonori
before dialing Use the feature of go 1.11 to remove the hack. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2018-12-16fix typo in zapi.go: LABLE -> LABELHitoshi Irino
2018-11-29server: fix nil pointer error when apply policyoc
this error can be reproduced by: gobgp p statement s1 add action as-prepend 65001 1 gobgp p add p1 s1 gobgp n 192.168.0.5 p import add p1 gobgp n 192.168.0.5 softresetin then: panic: runtime error: invalid memory address or nil pointer dereference
2018-11-26README: use now.sh instead of bluemix.net for slackinFUJITA Tomonori
Seems that bluemix.net is unstable nowadays. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2018-11-26support received, accepted, and advertised counters per familyFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>