summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2020-11-30Unit tests and dependenciesSerguei Bezverkhi
Signed-off-by: Serguei Bezverkhi <sbezverk@cisco.com>
2020-11-30Code changesSerguei Bezverkhi
Signed-off-by: Serguei Bezverkhi <sbezverk@cisco.com>
2020-11-30API chagesSerguei Bezverkhi
Signed-off-by: Serguei Bezverkhi <sbezverk@cisco.com>
2020-11-29set shutdownWG to nil after stopBGP finishedDuan Jiong
otherwise gobgp will panic in handlefsmMsg when handle error condition Signed-off-by: Duan Jiong <duanjiong@yunify.com>
2020-11-29Support of FRR7.5Hitoshi Irino
This commit works with FRR7.5 when "version = 6" is specified in zebra.config - Changes Zebra internal API commands to FRR7.5 which is incompatible with older version. - Changes SendHello() to include AFI - Changes SendRouteIDAdd() to include AFI - Changes decodeFromBytes/serialize of IPRouteBody and NexthopUpdateBody, because size of MESSAGE_FALG is changed.
2020-11-25dependency and spellchecker updateSerguei Bezverkhi
Signed-off-by: Serguei Bezverkhi <sbezverk@cisco.com>
2020-11-25code changesSerguei Bezverkhi
Signed-off-by: Serguei Bezverkhi <sbezverk@cisco.com>
2020-11-25API changesSerguei Bezverkhi
Signed-off-by: Serguei Bezverkhi <sbezverk@cisco.com>
2020-11-11fix wrong vrf neighbors displayshao
2020-11-10api: keeps backward compatibility when extending LsAddrPrefixValli A. Vallimamod
2020-11-10updates NLRI marshaller to include added fieldsValli A. Vallimamod
2020-11-10api: adds LS attributes to LsAddrPrefixValli A. Vallimamod
Includes `gobgp.LsNLRI` attibutes to `api.LsAddrPrefix` so that they are distributed to all derived types (LsNodeNLRI, LsPrefixV4NLRI, and LsPrefixV6NLRI)
2020-11-09ci: use ubuntu 18.04 for all jobsFUJITA Tomonori
No need to use 16.04 for some. Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2020-11-09server: fix conversion from api.RouteAction to config.DefaultPolicyTypeFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2020-11-09make CI fasterFUJITA Tomonori
Build GoBGP binaries of a pull request locally and copy them to the container to be tested instead of copying the code into the container and building the binaries inside. Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2020-11-09Stop CI on Travis CIFUJITA Tomonori
Use Github Actions instead. It's much faster and more stable. Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2020-11-09server: handle bogus addpath argumentFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2020-11-08run ci on github actionsFUJITA Tomonori
the same ci that we run on travis-ci. github actions is much faster. Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2020-11-07config: fix Peer Group AddPath ConfigFUJITA Tomonori
Peer Group AddPath Config is deprecated but still needs to work. Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2020-11-06Adding gRPC support for modified logging levelSteve Shaw
Signed-off-by: Steve Shaw <shaw38@gmail.com>
2020-11-06Fix missing args in server testsAlistair King
2020-11-06Use MonitorTableRequest.Name to filter by peerAlistair King
Filter returned Paths based on provided peer address (similar to GetTable). This should improve performance when using MonitorTable with ADJ_IN and Current for a single peer.
2020-11-01v2.21.0FUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2020-10-21api: add ListPathRequest's option to get binary of nlri and attributesFUJITA Tomonori
put the binary of nlri and path attribute to the response. Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2020-10-21fix stuck routeJordan Whited
2020-10-21packet: handle malformed prefix lenFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2020-10-20server: fix ListPolicyAssignment to handle empty policyFUJITA Tomonori
fix ListPolicyAssignment() return an assignment response even if the response doesn't have any policy. The assignment has default action policy so it's useful without any policy. Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2020-10-20README: remove slack statusFUJITA Tomonori
It shows the status of slackin web server. We don't need it anymore. Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2020-10-20fix #2289: improve regex to give expected resultsThomas Rosenstein
2020-10-18README: update slack linkFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2020-10-02v2.20.0FUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2020-09-25bugfix: fix a panic when delete neighborset (all) by name directlyImcom Jin
2020-09-16remove incomingCh when deleting dynamic peerChris Balmain
2020-08-31added `.env` file for vscode to find test/lib moduleImcom Jin
replace `is not` exp in *_test.py files to suppress python syntax warning with py3
2020-08-12best path selection - compare neigh addrJordan Whited
2020-08-06v2.19.0FUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2020-07-27Update zebra.md to fix markdownlint errorHitoshi Irino
2020-07-26zebra: refactoring and fix bug and add processing messageBackupNexthop ↵Hitoshi Irino
(added in frr7.4) - Move function for checking softwareName from internal/pkg/config/default.go to internal/pkg/zebra/zapi.go. - Delete support for frr7.1. - Fix bug by inverse processing MessageMTU and messageTag, and add messageTableId in decodeFromBytes and serialize of IPRouteBody. - Add processing messageBackupNexthop (which is added in frr7.4) in decodeFromBytes and serialize of IPRouteBody. - Update document.
2020-07-13implement LsAddrPrefix marshal json functionJieJhih Jhang
2020-07-10fix fragment with ether-typeRandy Lam
Should be ether-type instead of fragment
2020-07-04server: don't send empty ExtendedNexthop capabilityFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2020-07-01v2.18.0FUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2020-06-30goreleaser: disable cgo completelyFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2020-06-24Add //go:generate stringer directives for public enum types.Dmitri Nikulin
All such directives can be invoked by running $ go generate Stringer itself can be obtained by running $ go get golang.org/x/tools/cmd/stringer See https://github.com/osrg/gobgp/issues/2265
2020-06-24Regenerate stringer code for public enum types.Dmitri Nikulin
This adds support for several values which were added to enums without corresponding changes to the stringer generated code. New versions of stringer, including the one used for this change, add compile-time checks for whether any existing enum values have changed. Adding new values does not violate this check. Resolves https://github.com/osrg/gobgp/issues/2265
2020-06-02v2.17.0FUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2020-05-13extend attributes proto for Prefix SID supportSerguei Bezverkhi
Signed-off-by: Serguei Bezverkhi <sbezverk@cisco.com>
2020-05-08fix ipv6 nexthopSerguei Bezverkhi
Signed-off-by: Serguei Bezverkhi <sbezverk@cisco.com>
2020-05-07address more static check failuresSerguei Bezverkhi
Signed-off-by: Serguei Bezverkhi <sbezverk@cisco.com>
2020-05-07cleanup go dependenciesSerguei Bezverkhi
Signed-off-by: Serguei Bezverkhi <sbezverk@cisco.com>