summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2019-03-24fix race of peer deletionFUJITA Tomonori
Fixed a race bug that causes the unittest failure. Also fixed StopBgp() to block until all the peers are deleted cleanly. Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2019-03-24table: fix Path.SetLargeCommunities not to set vacant communities valueNasato Goto
2019-03-21pkg/packet/bgp: avoid crash when receiving an update with invalid AS_PATH lenEiichiro Watanabe
2019-03-21pkg/packt/bgp: add test when receiving an update with invalid AS_PATH LengthEiichiro Watanabe
2019-03-17Deleteing goroutine for assignMplsLabel and moveing code relating MPLS L3VPN ↵Hitoshi Irino
(introduced from PR osrg#1992, commit 3a79ad3) from table_manager.go to zclient.go
2019-03-16Fixed typoszabio3
2019-03-14pkg/server: fix global rib summary commandFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2019-03-14contrib: update the service systemdRobin Douine
2019-03-14cmd/gobgp: use sd_notify protocol to notify the status change to systemdRobin Douine
2019-03-14Updating documet integrating with FRRouting and use of mpls-label-range-size.Hitoshi Irino
2019-03-14Refactoring source code for BGP/MPLS L3VPN with ZAPI 6Hitoshi Irino
- Deleting receiveVrfId (which is introduced on 2 previous commit 90eeb5de870b95345650e3ee98741e040a0b6e93) from Path struct and Introducing pathVrf Map in zclient. - Recovering logic (which is changed on 1 previous commit acfd5bedb6d94775392200db597a5ac420b31b2e) to use assignMplsLabel in server.go. - Refectoring zclient's newIPRouteBody for deleating duplicate logic for IPv4 and IPv6.
2019-03-14Fix bug using variable of zclient in AddVrf of server.go.Hitoshi Irino
2019-03-14Supporting BGP/MPLS L3VPNs with Frrouting Zebra API 6Hitoshi Irino
- This commit aims to solve reported problem on issues #1611, #1648 and #1912 - Partial changes of this commit duplicate with changes on PR #1587 (not merged) and PR #1766 (not merged and already closed) - This commit is tested with only FRRouting version 6.0.2 (which uses Zebra API 6) - This commit fixes lack of LABEL_MANAGER_CONNECT_ASYNC for ZAPI6. (This bug is introduced on commit 2bdb76f2dcf24b891f2b6327a57c31b26463b2dd "Supporting Zebra API version 6 which is used in FRRouting version 6")
2019-03-05doc: fix "del" command for removing a neighborVincent Bernat
`gobgp neighbor delete` doesn't work. We need to use `gobgp neighbor del`.
2019-03-02v2.2.0FUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2019-02-19docs: add v6 route example to libFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
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>