Releases: osrg/gobgp
v2.8.0
Changelog
fb174b6 v2.8.0
2347386 github: workaround for action trigger bug
a7e6068 Fix error in BGP Confederation syntax
6db0430 README: add link to confederation doc
fbe0ca9 Document config API and provide examples
8d9d5c9 Pass context through configuration code
c089a67 Rename c to currentConfig to follow naming pattern
4e2d646 Replace for and select with single for range
ae4e7a0 Remove loop function
102a5f7 Move ReadConfigFileOnSighup to gobgpd main
5d7bf46 Remove last remants of internal_cfg
8900db7 Switch away from channel for one-off dry run
ed1aef3 Split creation of config reading channel
f9b1f86 Remove a reference to internal
e88cfd4 config -> internal_config
b480c15 Factor out stopServer
8faa1a7 Move code to new public config package
d81023d Allow simple one-shot reading of the config file
1bbbc8b Improve logic around applying configuration
129a00b Extract methods to apply and update config
cff2b01 Create a clearer line between initial config and updating config
7057dcc Factor out helpers for peer group and neighbor config
02863c5 Move assignement of current config to the end
72094df Use newConfig more consistently when apply initial configuration
bf2df3e Add BGP Confederation documentation
2682343 fix duplicated local path id bug
8e348d6 table: delete unused deleteDestByNlri()
e25e937 table: remove unused validation in originInfo struct
5856fe4 table: kill GetPathListByPeer()
a472a49 travis: drop gorelease
53df699 release automation by github actions
82f6a7c Support connecting zebra of cumulus linux
43a2d40 Fix tools test
2aced9e test: fix the versions of fabric and invoke
d9fc69e server: add addpath api leak test
a22f8cb Added CLI option to parser to allow setting MPLSoUDP (mpls-in-udp) as an encap type.
da53695 server: fix DeletePath() memory leak
v2.7.0
Changelog
fe95682 v2.7.0
c17003e docs: add aspath attribute to library usage
448c436 pkg/packet/bgp: fix PathAttributeAs4Path to accept empty AS_PATH
9e775f5 fix PeerGroup AFI handling
7284d4c Avoid panic by receiving vpnv6 prefixes with zebra reported in issue #2113
4267098 gRPC docs: include all needed paths
50df039 use tha standard comment for machine-generated files
2f5a4d5 BGP connection on a speecified interface (including which is associated VRF) using syscall SO_BINDTODEVICE
9f93606 update goreleaser config file
v2.6.0
v2.5.0
Changelog
48f5e25 v2.5.0
8fb7194 docs: remove obsolete rpki command
25428e8 fix markdownlint warnings
e214d7a Fix cli crash when showing neighbor stats as list.
1072de0 zebra: fix unit test failure on non linux
11c1ce7 server: replace github.com/satori/go.uuid
7d2823d zebra: supporting FRRouting version 7
cc267fa Consolidate duplicate code blocks both updating peer groups
v2.3.0
Changelog
805d02f v2.3.0
3b36a13 server: fix passive-mode
20d3254 docs: update image of route server policy model
49448ac server: fix ListPath handle UseMultiPath option
8ee5f62 Implement evpn I-PMSI
fb1e303 fix same issues in other files
275966f Use Itoa method instead sprintf
4a7c30c server: handle grpc listen failure as fatal error
80ff3a3 support BMP sysName and sysDescr configuration
a611916 travis: update go version to 1.12
04843ab server: broadcast BMPPeerDownMessage for peer deletion
c86c924 cmd/gobgp: fix RPKI result in neighbor policy command
c6aef93 fix race of peer deletion
ddf9e55 table: fix Path.SetLargeCommunities not to set vacant communities value
15f0c50 pkg/packet/bgp: avoid crash when receiving an update with invalid AS_PATH len
344f053 pkg/packt/bgp: add test when receiving an update with invalid AS_PATH Length
276518c Deleteing goroutine for assignMplsLabel and moveing code relating MPLS L3VPN (introduced from PR #1992, commit 3a79ad3) from table_manager.go to zclient.go
6345fdd Fixed typos
ed0580d pkg/server: fix global rib summary command
cb5cf73 contrib: update the service systemd
7bb72b7 cmd/gobgp: use sd_notify protocol to notify the status change to systemd
b7189a6 Updating documet integrating with FRRouting and use of mpls-label-range-size.
7228b3d Refactoring source code for BGP/MPLS L3VPN with ZAPI 6 - Deleting receiveVrfId (which is introduced on 2 previous commit 90eeb5d) from Path struct and Introducing pathVrf Map in zclient. - Recovering logic (which is changed on 1 previous commit acfd5be) to use assignMplsLabel in server.go. - Refectoring zclient's newIPRouteBody for deleating duplicate logic for IPv4 and IPv6.
4967c82 Fix bug using variable of zclient in AddVrf of server.go.
3a79ad3 Supporting BGP/MPLS L3VPNs with Frrouting Zebra API 6 - 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 2bdb76f "Supporting Zebra API version 6 which is used in FRRouting version 6")
dc4d9c6 doc: fix "del" command for removing a neighbor
v2.2.0
Changelog
f4643d0 v2.2.0
259d9b5 docs: add v6 route example to lib
662b711 docs: delete the description of obsolete mrt cli commands
bc73604 cmd/gobgp: fix non existing neighbor crash
aaa71b1 cmd/gobgp: fix policy printing
483a0b6 [Doc #1968] Add NeighborSet Warning
084ee99 reset eor state on graceful-restart peer down
034b889 [Fix #1972] Fix returning of double list size, half nil values
a22897a [Fix #1967] Fix print statement
e87bfcb doc: update BUILD.md
d8cc037 docs: README
391fee9 cmd/gobgp: make listing of prefix set identical to version 1.X
1b57495 Fix listing of prefix set in gobgp cli
f177722 Fix spells for keywords (vrfid, labelnum) in sprintf line
d6bd1e5 Fix bug: processing MPLS label in nexthop update message
v2.1.0
Changelog
1d8ffa2 v2.1.0
48508c7 Add BGP-LS usage example
887e8a4 README: replace a remaining bluemix URL with now.sh
1f4a12d cmd/gobgp: remove in policy debris
4660a6b cmd/gobgp: fix showingglobal policy
e0e0f5a gobgpd: fix the initial global policy configuration from config file
36572f8 server: fix ListPolicyAssignmet() with empty name
1e133bd gobgp: fix vrf rib command crash
192480f Add experimental BGP-LS feature
526bd67 server: dynamic neighbor deletion panic
318a91e Allow graceful restart for dynamic neighbors
61d7a5e server: Fix peer down reason code in BMP
98d8925 server: fix wait time before active conneciton
8e0c057 use staticcheck instead of megacheck
1d14b8e silence staticcheck warnings
0ae389a docs: add releases to BUILD
2c6080a add go.mod and go.sum files
v2.0.0
Changelog
4067827 v2.0.0
4e862fa zebra: Introducing MIN_ZAPIVER and MAX_ZAPIVER. And avoiding double close channel when sequential retry to connect zebra.
67947ee Fix incorrect values in BMP Statistics Report(type 7 and 8)
bbc85d4 server: kill getNeighbor()
d7e5bf2 fix bmp statistics
c83d234 docs: add project layout description to BUILD
d2da513 docs: fix outdated comment of the gRPC API examples
48fa25d docs: delete outdated java/nodejs/ruby gRPC API examples
bb1bbdd docs: update C++ gRPC API example
28d96f9 docs: update python gRPC API example
8e7741a api: rename ValidationDetail to Validation
8d0a8b0 make the usage of type name in protobuf consistent
ababf30 make Add/Delete/ListPath APIs symmetric
5d008d7 docs: add BUILD.md, development guide
46e3754 server: replace tomb with context
598bba9 server: use Dialer Control method instead of hack to modify connection before dialing
831b33f fix typo in zapi.go: LABLE -> LABEL
7ebcb44 server: fix nil pointer error when apply policy
9d90614 README: use now.sh instead of bluemix.net for slackin
301b485 support received, accepted, and advertised counters per family
a5763c2 api: remove AddPaths from Peer and PeerGroup
7ec6a96 api: move RouterId to PeerState from PeerConf
ae52d60 typo fix
a6aaf55 minor cleanup: update Gopkg.lock and erase redundant nil set
79a461c api: move remote_cap and local_cap to PeerState from PeerConf
dbd0c21 server: fix handleRouteRefresh and softResetOut
6b05d9d api: rename NlriAny in api.Path to Nlri
8856dd5 server: fix handleRouteRefresh()
c1bca25 use google/protobuf/timestamp.proto
893dbd5 packet: fix ValidateAttribute() to handle ipv6 addresss
62076da packet: fix NewPathAttributeNextHop() to handle ipv6 addresss
2dddaef travis: fix go vet
7923913 Add quotes to short option value
fa387c9 Fix Statistics Report in BMP
99b2724 server: change List API design
91dd606 server: fix inconsistent receiver name warnings
b3191fc server: unexport BgpServer's Listeners()
528f751 add anyNlri toPathApi when path.IsWithdraw
f0aaac4 server: Fix wrong value of RouteMonitoringPolicy from grpc
9cad94f cmd/gobgp: don't use timeout context for requests
0eb3dce Fix intervals for MRT
4cc7a81 Support AdminDown from config
99556f9 server: change monitor API design
289fc39 server: avoid deadlock
eebc729 server: avoid deadlock
360f728 server: avoid deadlock
076d019 make gRPC server private
061c946 server: fix deadlock regression
6cc82ff added timestamp
809f941 docs/lib.md: add PeerMonitor API
345b848 server: Fix some values are all off by one in MRT TABLEDUMP_V2
52c6ef3 server: Fix timestamp when msg is nil
b48c561 server: Add PeerTable API
d4e0418 server: Add PeerMonitor API
df8ad76 server: unexported Watcher stuff
96c129e gobgp: merge cmd package into main
4c66cd4 gobgp: unexport cmd/
4334400 server: fix isIBGPPeer() to handle local-as configuration
5ab4575 api: fix regression that match set option has no default value
60202fc remove influxdb from dependency
2ed0b96 gobgp: replace deprecated grpc WithTimeout
e823271 gobgp: delete c-shared-lib
a88d561 server: unexport const
5a2985e server: unexport fsm stuff
8bccb42 Use assertEqual in python tests
c8694bc server: unexport Peer adn PeerGroup
0b4d946 server: unexport TCPDialer/TCPListener/TCPSockopt stuff
4cd45f4 server: unexport NewRoutingPolicyFromApiStruct()
d91fb3d server: remove collector support
f362cb2 server: unexport prki
03cc4f4 server: make NewNeighborFromAPIStruct() and NewPeerGroupFromAPIStruct() unexported
f8bea14 server: make NewGlobalFromAPIStruct() unexported
18b87c3 server: make NewRoaListFromTableStructList() unexported
f1c55ca server: make NewPolicyFromApiStruct() unexported
3e95078 move NewAPIRoutingPolicyFromConfigStruct() from server/
5d7ecf5 move NewAPIPolicyAssignmentFromTableStruct() from server/
d032c31 move exported functions to generate api structs from config struct in server/
23ae91c fix: nil pointer in PrefixSet Append
8fc094c server: deal with mac mobility seqence number in path from api
2bd4afc table: compare etag and peer ip in mac mobility
2bdb76f Supporting Zebra API version 6 which is used in FRRouting version 6
329c2d3 api: add GwAddress to EVPNIPPrefixRoute
94e70ba cli: fix nil pointer in showNeighbor
98d4679 fsm: get rid of dead lock
70d3ddf pyang_plugins: Fix an import path
c33f142 pyang_plugins: Improve pylint and pycodestyle results
9420a66 cli: Support Color Extended Community
dec0c7d tools: update pyang_plugins/README.rst
d50f1fe test: fix get_reachability()
4391b84 support go1.11
9a03234 fix closing listening socket blocked
475818d api: remove unused members
97ad6b3 api: change Family
23ac6eb test/lib: Enable static IP address
e792901 test: Fix bridge methos and relative scenario test
acfc9ad Release read lock before calling llgrFamilies
008c961 policy cleanup
7e07240 test/lib: Fix pkill command syntax for BusyBox
b45e3fa test/lib: Change shell for init script
d6a5e9f pkg/server: ListPolicyAssignment() returns all assignments by default
cbfa5c5 Add CODEOWNERS file
edbedeb ZAPI5 (FRRouting version 5) support
7525403 table: remove DIRECTION_IN completely
f61858a pkg/packet/bgp: Fix NewEVPNMacIPAdvertisementRoute() to use correct MAC length
08cd29e ignore duplicate RTC Membership announcements
540ee75 pkg/server: handleUpdate() should not inject echo route from RR
f0b7248 pkt/server: ListPolicy() and ListStatement() support filtering like ListDefinedSet() and ListPolicyAassignment()
0b6486f gobgp: fix peer state print
834fb80 fix library usage example
840807a pkg/server: public APIs use structures in api/
71e56c5 rpc cleanup
3dc23d3 pkg/packet/bgp: fix ParsePmsiTunnel() and NewPathAttributePmsiTunnel() crash
1cf93d5 fix path to lib directory
c3e41d8 pkg/server: send all families (including RTC) after deferral time expired
775ed7a fix unittest warnings with go tip
fb999f3 fix races and enable race detector in unittest
695fb52 use function Equal() instead of build-in compare
e64870d fix goreleaser to build static binaries
dae80bd pkg/server: enable active connection with graceful restart
bcf31a3 fsm: Connect to bgp peers regardless of whether the peers are restarting
42cc25d cmd/gobgp: use different grpc port for rpki_test
9c591a9 cmd: fix error when delete policy statement
1798242 cmd: implement ebgp-multihop-ttl option when add neighbor
dd73531 fix missing EbgpMultihop config
07f47b7 remove package dependency except for grpc in api/
26aed14 delete tools/route-server
c4775c4 follow Standard Go Project Layout
b307975 delete gobmpd
9cd6291 api: move api/policy.go to gobgp/cmd/
e4031c1 api: decrease the dependency
69f866a Fixing all megacheck errors.
9ae3006 cmd: Implement PrettyString()
2e01692 cmd: Remove table/ usage in policy.go
cd1e60d table: Sort in table package
1dc0124 cmd: Remove table/ usage from neighbor.go
cc92e7e gobgp: fix client.AddPath to use api.Path instead of table.Path
00e9610 gobgp: replace table.TableInfo usage with api.TableInfo
51dad96 api: remove table/ usage in util.go
6192f90 config: Copy afi-safi objects from peer group to neighbor instead of share the same array
v1.33
Changelog
8e6bd4c GoBGP 1.33
db6683b server: exclude RTC for softreset if not specified
f265c31 * Adding travis config for Codecov - Codecov will need to be given access
00a3b72 Fixing staticcheck errors from linux files
29d0e59 server: Avoid calling os.Exit() in BgpServer.Shutdown()
72bbb96 potential - Found a bug in the python tests
bc4854c timeouts on tests and fixing timeout logic on graceful restart test
fb034c3 fixing some typos and found one conversion bug
1546505 Fixing all megacheck errors.
954562d packet/bgp: Fix length calc when multiple RTM NLRIs
e2752ae api: Use capability.proto in message PeerConf
493d024 api: Define protobuf for BGP Capabilities
92814f7 packet/bgp: Missing New func for BGP Capabilities
3e6eb60 server: fix AddPath to return uuid
267a23c cli: Use api struct in VRF commands
b992c53 api: Use attribute.proto struct in message Vrf
b73933c simple staticcheck issues
0d64c69 Pull regex into variables to prevent the regex to compile in the hotpath
8df79be UT: Remove redundant debug print
5fbd0cb table: support AfiSafiIn Policy Condition match
964bb04 api: Implement Shutdonw()
57f103e api: Implement AddCollector()
000589f api: Implement UpdatePolicy()
c821cfb api: Implement PeerGroup and DynamicNeighbor API
96034c2 api: Add missing fields to Peer struct conversion functions
222bf44 api: Add some fields to notify Graceful Restart state
abe2efc api: Fix StartServerAPI
0c334f5 gobgpd: Use gRPC APIs Instead of BgpServer functions
4c63ed5 config: Change "RedistributeRouteTypeList" to []string
f6d6232 table: arrange fields to reduce padding
417f8ba api: Use api/attribute.proto structure in gRPC API
84987fb api: Define protobuf structure for BGP Path Attributes
34acacd gobgp/lib: Remove usage of utils of "gobgpapi"
a7f58e3 gobgp: fix mrt inject only best option
6da3694 table: fix Clone() to inherite the attribute hash value
ea91729 cmd: don't display uptime for a BGP session if no uptime information
c877bb7 packet/bgp: use 71 for BGP LLGR capability code
313f244 server: fix GetRib() with rpki
789e246 table: fix potential panics in tableKey
98e7b82 config: Improve golint results
b285fb2 config: Accept CLUSTER_ID as an integer value
c783280 cmd/rpki_test: Unit test for showRPKITable
5d15b3f table: support nexthop match policy
5c506b6 Fix: ruby client failed with "Enum value '_' does not start with an uppercase letter as is required for Ruby constants"
v1.32
Changelog
a6e0d00 GoBGP 1.32
05021a6 server: reject route without origin attribute via AddPath()
0423ac0 cli: Implement "neighbor update" command
d433ceb gobgp/cmd: add message gRPC connection error
ed3f7b7 api: fix rpki regression
e84ed70 graceful_restart_test: Confirm stale paths removed
57e87d4 graceful_restart_test: Assert timer not expired
a9584e6 scenario_test: Extend Graceful Restart time
b31ab93 bgp_zebra_nht_test: Test case to sync nexthop states
055eb89 zclient: Drop NextHop Tracking dampening feature
4ab7612 table: fix DropStale method in AdjRib
df6c998 table: update accepted number in adj-in rib after softreset-in
ff09df9 table: fix accepted number in adj-in rib
a75bcf3 table: remove unused Exists method in AdjRib strcture
da488be table: remove unused id in AdjRib strcture
aef984c test/aspath: check accepted and received numbers
503d043 rtc_test: Test cases for infinite RTC UPDATE loop
ee80298 rtc_test: Test cases for inter-AS
8e23e93 server: Apply rtfilter on eBGP session
d9ed5fc rtc_test: Enhance test cases for intra-AS RTC
fead8a6 server: Prefer RTC route from RR client
36d682a server: fix infinite rtc update loop with addpath
a0c8ba4 server: Gather informations for BMPPeerDownMessage
a980a02 server/server: Add field to WatchEventPeerState for PeerDownEvent
76ef116 packet/bmp: Don't include data for some peer down reasons
abefa74 server/server: Restart peers when capabilities are changed
eb568b6 server: Withdraw routes when received RTM withdrawal
a7ecbaa test/rtc: Add test for conflict RTC config
bbd98ee fix withdraw with addpath and rtc enabled
87245b4 bgp_zebra_nht_test: Test cases when nexthop unreachable
34f74cd bgp_zebra_nht_test: Improve pylint result
2c5f27f bgp_zebra_nht_test: Use utility functions of test/lib
cb30860 zclient: Avoid flapping of nexthop reachability
cb259ec zebra: Improve logs for received messages from Zebra
9d184af fix: missing validateCondition in ReplaceStatement
30e519e server: use negotiated family instead configured
9c8b20a fix graceful-restart when not all peers are restarting
8c453bc cmd: Remove uncaught error on ParseCIDR()
ccb4f8c test/lib/quagga: Minimize advertisement-interval
107095d bgp_confederation_test: Improve pylint result
8efeb17 bgp_router_test: Retry assertions of RIB for stability
2c388e0 scenario_test: Wait for GoBGP starting up
3fc524a test/lib/gobgp: Rename graceful_restart() to stop_gobgp()
efd215d graceful_restart_test: Remove redundant parentheses
c5fdcad fix add-path with vrf-neighbor
40eadd4 packet/bgp: remove bogus debug print
388ef50 packet/bgp: fix OpenMessage Parse crash with bogus data
5653720 mrt: Improve golint result
04f36f0 mrt: Enable to dump locally generated routes
2b0f16d bmp: avoid huge memory allocation for sending paths initially