summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2020-03-31packet: fix typosFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2020-03-30packet: silence staticcheck warningFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2020-03-29fixed naming issue, removed one more error allocationSergey Elantsev
2020-03-29optimized packet/mrt allocations, mostly by reuse of error valuesSergey Elantsev
2020-03-15replaced fmt.Sprintf with strconv.Itoa for Protocol.String()Sergey Elantsev
2020-03-15optimized allocations in packet/bgp validationsSergey Elantsev
2020-03-14optimized allocations in packet/bgpSergey Elantsev
2020-03-11fixed style: unnecessary type cast after type switch and some minor issues.Sergey Elantsev
2020-03-09optimized EVPNMacIPAdvertisementRoute, SerializeExtendedCommunities and ↵Sergey Elantsev
PathAttributeIP6ExtendedCommunities allocations.
2020-03-05docs: update cli outputFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2020-03-02v2.14.0FUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2020-03-02bgp: silence statickcheck errorsFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2020-02-19add summary command for vrf to cli #2235Pavel Vorontsov
2020-02-19add support GetTable method for vrfs #2235Pavel Vorontsov
2020-02-19travis: use docker 17.03FUJITA Tomonori
The ipv6 support of the newer versions works differently. Stick to 17.03 for a while. Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2020-02-08fix panic in Family == nilSerguei Bezverkhi
Signed-off-by: Serguei Bezverkhi <sbezverk@cisco.com>
2020-02-01github: fix release action to generate proper changelogFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2020-02-01v2.13.0FUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2020-01-18bug fix in zebra integration for frr7.2Hitoshi Irino
2020-01-13Parse BMP Stats Report messages with unknown Stat TypesMichael Lechner
2020-01-13Supporting FRR7.2Hitoshi Irino
2020-01-05contrib: simplify instructions for systemdVincent Bernat
Using setcap is not used when systemd file contains AmbientCapabilities=CAP_NET_BIND_SERVICE.
2020-01-05gobgpd: use map for validation tableToshiki Tsuchiya
`Table.destinations` is a map, so the order changes. This commit allows to get validate information from path by using map for validate table Fix: https://github.com/osrg/gobgp/issues/2223 Signed-off-by: Toshiki Tsuchiya <taruta0811@gmail.com>
2020-01-01v2.12.0FUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2019-12-15tests: fix failing tests when using more recent versions of protobufVincent Bernat
When regenerating the `*.pb.go` file, we get many tests failing because testify is using `reflect.DeepEqual()` under the hood. There is no option to have a custom comparison function and currently, the only way around is to use `proto.Equal()` to compare protobuf messages. The downside of using `proto.Equal()` is that we loose the expected/actual display in case of a mismatch. When comparing family, we compare `Api`/`Sapi` in separate asserts instead of using `proto.Equal()`. Fix: #1952
2019-12-02v2.11.0FUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2019-11-07tools: add python grpc ListPeer API exampleFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2019-11-07docs: update python grpc code generationFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2019-11-06Use correct import paths for protobuf packagesCarl Baldwin
The packages `any`, `empty`, and `timestamp` ship with protoc so there is no need to pull them out of the go package. This simplifies the generation script and also corrects the import paths for the standard protobuf types. Fixes: #2095
2019-11-01v2.10.0FUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2019-11-01bgp: fix dynamic neighbors with prefix "0.0.0.0/0"Faicker Mo
support prefix "0.0.0.0/0". Signed-off-by: Faicker Mo <faicker.mo@ucloud.cn>
2019-11-01config: peer groups support ebgp multihopFaicker Mo
Signed-off-by: Faicker Mo <faicker.mo@ucloud.cn>
2019-10-27travis: update go to 1.13FUJITA Tomonori
Needs to update staticcheck for go 1.13. Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2019-10-26table: handle staticcheck's warningsFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2019-10-26avoid installing routes with originator ID to global when softresetinFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2019-10-25table: replace radix with crit-bit algo for longer-prefixes searchFUJITA Tomonori
faster and less memory usage. Now go-radix has gone. Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2019-10-25table: replace radix with crit-bit algo for policyFUJITA Tomonori
faster and less memory usage. Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2019-10-25table: remove unnecessary code in UpdateAdjRibOut()FUJITA Tomonori
There is no duplication of local id in the rib. Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2019-10-25table: replace radix with crit-bit algo for roaFUJITA Tomonori
faster and less memory usage. Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2019-10-23Split Reset into three methodsCarl Baldwin
The Reset method was difficult to understand. The reason is that it was called in three different ways and did different things in each case. It is easier to read when the three different modes are each their own method. This came up as I was looking deeper into the threading model around policies. I think this change makes it easier to understand the code.
2019-10-22table: use net.IPNet for roa instead of homegrown IPPrefix structureFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2019-10-22move roa table code to table/ from server/FUJITA Tomonori
As the name implies, table/ is more appropriate for roa table code. Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2019-10-21test: update scenario_test dependenciesFUJITA Tomonori
- python3 is necessary - no need to download docker images in advance Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2019-10-21test: update scenario_test commandFUJITA Tomonori
specify the name of a docker image to use the image built locally. Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2019-10-21server: speed up session establishmentFUJITA Tomonori
The unittest on pkg/server finishes quicker. Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2019-10-21test: rm pipework functionsFUJITA Tomonori
not used anymore. Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2019-10-18need to reset session when gr config is changedFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2019-10-18docs: update bmp verification sectionFUJITA Tomonori
gobgmp was removed long ago. Add a pointer to other BMP server implementations. Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2019-10-18Fix adj-out display with add path enabledmageshgv
2019-10-17Transition to graceful restart state on hold timer expiry if applicablemageshgv