2582 Commits
Author SHA1 Message Date
FUJITA Tomonori f4643d090f v2.2.0
Signed-off-by: FUJITA Tomonori <[email protected]>
v2.2.0
2019-03-02 20:16:53 +09:00
FUJITA Tomonori 259d9b5264 docs: add v6 route example to lib
Signed-off-by: FUJITA Tomonori <[email protected]>
2019-02-19 12:37:27 +09:00
FUJITA Tomonori 662b711d32 docs: delete the description of obsolete mrt cli commands
Signed-off-by: FUJITA Tomonori <[email protected]>
2019-02-18 17:48:05 +09:00
FUJITA Tomonori bc73604d4c cmd/gobgp: fix non existing neighbor crash
Fixes some crash bugs when non existing neighbor is specified.

Signed-off-by: FUJITA Tomonori <[email protected]>
2019-02-18 10:22:23 +09:00
FUJITA TomonoriandFUJITA Tomonori aaa71b1bf4 cmd/gobgp: fix policy printing
make policy printing same with v1.x

Signed-off-by: FUJITA Tomonori <[email protected]>
2019-02-16 19:19:01 +09:00
Thomas RosensteinandFUJITA Tomonori 483a0b6e7d [Doc #1968] Add NeighborSet Warning 2019-02-16 18:16:00 +09:00
wanghonghao 084ee991d9 reset eor state on graceful-restart peer down 2019-02-15 13:30:38 +08:00
Thomas RosensteinandFUJITA Tomonori 034b889e4d [Fix #1972] Fix returning of double list size, half nil values 2019-02-15 07:06:31 +09:00
Thomas Rosenstein a22897a0af [Fix #1967] Fix print statement 2019-02-12 11:18:57 +01:00
FUJITA Tomonori e87bfcba68 doc: update BUILD.md
the dep command isn't necessary now.

Signed-off-by: FUJITA Tomonori <[email protected]>
2019-02-11 18:47:13 +09:00
FUJITA Tomonori d8cc0379f6 docs: README
added 'Go Native BGP Library' section

Signed-off-by: FUJITA Tomonori <[email protected]>
2019-02-09 19:21:35 +09:00
FUJITA Tomonori 391fee9997 cmd/gobgp: make listing of prefix set identical to version 1.X
Signed-off-by: FUJITA Tomonori <[email protected]>
2019-02-08 22:21:57 +09:00
Thomas RosensteinandFUJITA Tomonori 1b57495ae9 Fix listing of prefix set in gobgp cli 2019-02-08 21:59:06 +09:00
Hitoshi Irino f17772298e Fix spells for keywords (vrfid, labelnum) in sprintf line 2019-02-03 08:30:07 +09:00
Hitoshi Irino d6bd1e561b Fix bug: processing MPLS label in nexthop update message 2019-02-02 23:20:01 +09:00
FUJITA Tomonori 1d8ffa231a v2.1.0
Signed-off-by: FUJITA Tomonori <[email protected]>
v2.1.0
2019-02-01 20:12:22 +09:00
Artur Makutunowicz 48508c7f3d Add BGP-LS usage example 2019-01-31 12:21:16 -08:00
IWAMOTO Toshihiro 887e8a4952 README: replace a remaining bluemix URL with now.sh
This complements the commit 9d906149.

Signed-off-by: IWAMOTO Toshihiro <[email protected]>
2019-01-30 10:41:33 +09:00
FUJITA Tomonori 1f4a12d065 cmd/gobgp: remove in policy debris
$ 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 <[email protected]>
2019-01-27 22:28:41 +09:00
FUJITA Tomonori 4660a6bf88 cmd/gobgp: fix showingglobal policy
Needs to specify the global rib name for ListPolicyAssignment API.

Signed-off-by: FUJITA Tomonori <[email protected]>
2019-01-27 21:38:07 +09:00
FUJITA Tomonori e0e0f5a1eb gobgpd: fix the initial global policy configuration from config file
Signed-off-by: FUJITA Tomonori <[email protected]>
2019-01-27 21:34:49 +09:00
FUJITA Tomonori 36572f85fc server: fix ListPolicyAssignmet() with empty name
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 <[email protected]>
2019-01-27 21:33:25 +09:00
FUJITA Tomonori 1e133bd501 gobgp: fix vrf rib command crash
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 <[email protected]>
2019-01-26 21:36:39 +09:00
Artur MakutunowiczandFUJITA Tomonori 192480fc71 Add experimental BGP-LS feature 2019-01-26 12:40:45 +09:00
FUJITA Tomonori 526bd67f5d server: dynamic neighbor deletion panic
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 <[email protected]>
2019-01-25 22:57:13 +09:00
Foivos Filippopoulos 318a91e31b Allow graceful restart for dynamic neighbors 2019-01-17 17:07:34 +00:00
Eiichiro Watanabe 61d7a5e90b server: Fix peer down reason code in BMP 2019-01-12 00:51:23 +09:00
FUJITA Tomonori 98d8925b82 server: fix wait time before active conneciton
also avoid unittest race.

Signed-off-by: FUJITA Tomonori <[email protected]>
2019-01-09 21:24:29 +09:00
FUJITA Tomonori 8e0c05782d use staticcheck instead of megacheck
megacheck is deprecated.

Signed-off-by: FUJITA Tomonori <[email protected]>
2019-01-09 14:37:21 +09:00
FUJITA Tomonori 1d14b8ecfb silence staticcheck warnings
Signed-off-by: FUJITA Tomonori <[email protected]>
2019-01-09 14:36:48 +09:00
FUJITA Tomonori 0ae389ad1e docs: add releases to BUILD
Signed-off-by: FUJITA Tomonori <[email protected]>
2019-01-01 23:09:56 +09:00
FUJITA Tomonori 2c6080a306 add go.mod and go.sum files
Signed-off-by: FUJITA Tomonori <[email protected]>
2018-12-31 22:29:47 +09:00
FUJITA Tomonori 4067827a0e v2.0.0
Signed-off-by: FUJITA Tomonori <[email protected]>
v2.0.0
2018-12-31 00:03:04 +09:00
Hitoshi IrinoandFUJITA Tomonori 4e862fa8f0 zebra: Introducing MIN_ZAPIVER and MAX_ZAPIVER. And avoiding double close 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-30 21:52:15 +09:00
Eiichiro Watanabe 67947eeda6 Fix incorrect values in BMP Statistics Report(type 7 and 8) 2018-12-30 08:49:05 +09:00
FUJITA Tomonori bbc85d46c3 server: kill getNeighbor()
Use ListPeer() instead.

Signed-off-by: FUJITA Tomonori <[email protected]>
2018-12-29 08:34:03 +09:00
FUJITA Tomonori d7e5bf22a6 fix bmp statistics
fix the regression of the adj counter due to
301b48532d

Signed-off-by: FUJITA Tomonori <[email protected]>
2018-12-28 23:27:53 +09:00
FUJITA Tomonori c83d234c30 docs: add project layout description to BUILD
Signed-off-by: FUJITA Tomonori <[email protected]>
2018-12-26 06:55:08 +09:00
FUJITA Tomonori d2da513e32 docs: fix outdated comment of the gRPC API examples
Signed-off-by: FUJITA Tomonori <[email protected]>
2018-12-25 06:34:07 +09:00
FUJITA Tomonori 48fa25d06c docs: delete outdated java/nodejs/ruby gRPC API examples
Signed-off-by: FUJITA Tomonori <[email protected]>
2018-12-24 23:20:35 +09:00
FUJITA Tomonori bb1bbdd197 docs: update C++ gRPC API example
Signed-off-by: FUJITA Tomonori <[email protected]>
2018-12-24 23:18:37 +09:00
FUJITA Tomonori 28d96f985b docs: update python gRPC API example
Signed-off-by: FUJITA Tomonori <[email protected]>
2018-12-24 21:41:54 +09:00
FUJITA Tomonori 8e7741a0a8 api: rename ValidationDetail to Validation
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 <[email protected]>
2018-12-24 10:13:00 +09:00
FUJITA Tomonori 8d0a8b0ffa make the usage of type name in protobuf consistent
Signed-off-by: FUJITA Tomonori <[email protected]>
2018-12-23 23:40:37 +09:00
FUJITA Tomonori ababf3068c make Add/Delete/ListPath APIs symmetric
- 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 <[email protected]>
2018-12-23 19:29:23 +09:00
FUJITA Tomonori 5d008d7b7c docs: add BUILD.md, development guide
Signed-off-by: FUJITA Tomonori <[email protected]>
2018-12-21 22:23:02 +09:00
FUJITA Tomonori 46e3754761 server: replace tomb with context
All what we need is cancelling. Let's use the standard way for it,
context.

Signed-off-by: FUJITA Tomonori <[email protected]>
2018-12-19 20:14:24 +09:00
FUJITA Tomonori 598bba9fb2 server: use Dialer Control method instead of hack to modify connection before dialing
Use the feature of go 1.11 to remove the hack.

Signed-off-by: FUJITA Tomonori <[email protected]>
2018-12-19 20:11:56 +09:00
Hitoshi Irino 831b33fdb7 fix typo in zapi.go: LABLE -> LABEL 2018-12-16 08:54:34 +09:00
oc 7ebcb44a51 server: fix nil pointer error when apply policy
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-29 00:45:21 +08:00