Marcus Wichelmann
3c437e5aec
Added ListDynamicNeighbor message to API
2021-03-29 20:53:53 +02:00
Marcus Wichelmann
76f40ede0d
Added DeleteDynamicNeighbor message to API
2021-03-29 20:53:45 +02:00
Marcus Wichelmann
c1e7463e36
Added ListPeerGroup message to API
2021-03-29 20:53:25 +02:00
Ravi Aysola
7ff15bfa54
Add GENEVE encapsulation support
2021-03-19 14:13:13 -04:00
bbassingthwaite
dfc8ec6437
Add support for the gRPC server to listen on a unix domain socket
...
Fixes #2230
2021-03-16 08:44:34 -06:00
Mikael Magnusson and FUJITA Tomonori
390e3127ce
add support for tunnel egress endpoint sub-TLV
...
As specified in draft-ietf-idr-tunnel-encaps-22.
Signed-off-by: Mikael Magnusson <[email protected] >
2021-03-14 08:46:44 +09:00
Faicker Mo and FUJITA Tomonori
cd5671baee
policy: add nexthop unchanged
...
Support config set-next-hop = "unchanged" and also cli command.
Signed-off-by: Faicker Mo <[email protected] >
2021-03-03 09:47:50 +09:00
Kirill Smorodinnikov and FUJITA Tomonori
1d80152c34
Fix LsTLVIgpRouterID.DecodeFromBytes
...
According to https://tools.ietf.org/html/rfc7752#section-3.2.1.4 , IGPRouterID could be 4-octet for OSPFv2 or OSPFv3 non-pseudonode.
2021-03-01 22:23:39 +09:00
Kirill Smorodinnikov and FUJITA Tomonori
f33148428a
Extend LsLinkDescriptor.String
...
Cover additional cases when only one part of the link is presented.
2021-02-27 09:03:05 +09:00
xskingdom
3c6f5dafdc
Fix ParseValue's bug for BMPStatsTLV32
2021-02-24 13:38:41 +08:00
FUJITA Tomonori
65d094d7f2
server: fix AdministrativeCommunication message parser
...
Signed-off-by: FUJITA Tomonori <[email protected] >
2021-02-24 08:27:44 +09:00
Milan Lenco and FUJITA Tomonori
3339f97722
feat: add option to bind listener to a (VRF) device
...
Signed-off-by: Milan Lenco <[email protected] >
2021-02-13 18:54:31 +09:00
Sergey Elantsev
72027852e2
go fmted
2021-01-27 21:43:39 +03:00
Sergey Elantsev
43c62634fd
fixed panics on parsing malicious bgp packets
2021-01-23 22:56:17 +03:00
Mikael Magnusson and FUJITA Tomonori
4c8ab0d4b5
support UDP destination port sub-TLV
...
As specified in draft-ietf-idr-tunnel-encaps.
Signed-off-by: Mikael Magnusson <[email protected] >
2021-01-23 09:03:18 +09:00
Mikael Magnusson
89e404be46
packet/bgp: Fix TunnelEncapSubTLV.DecodeFromBytes
...
Return data of the correct length from TunnelEncapSubTLV.DecodeFromBytes.
This fixes a problem with TunnelEncapSubTLVUnknown which caused it to
contain more bytes in its Value unless it was the last SubTLV.
Signed-off-by: Mikael Magnusson <[email protected] >
2021-01-20 01:21:29 +01:00
Sergey Elantsev
839495d330
fixed mistype
2020-12-20 18:27:54 +03:00
Sergey Elantsev
0558066261
fixed possible crashes on parsing of bgp messages
2020-12-20 18:13:10 +03:00
Serguei Bezverkhi
066e791610
change comments
...
Signed-off-by: Serguei Bezverkhi <[email protected] >
2020-12-14 09:39:33 -05:00
Serguei Bezverkhi
c091ec6ae6
interop fix
...
Signed-off-by: Serguei Bezverkhi <[email protected] >
2020-12-09 10:02:20 -05:00
Serguei Bezverkhi and FUJITA Tomonori
cb0c7ce51f
Unit tests and dependencies
...
Signed-off-by: Serguei Bezverkhi <[email protected] >
2020-11-30 07:21:40 +09:00
Serguei Bezverkhi and FUJITA Tomonori
0422c608b3
Code changes
...
Signed-off-by: Serguei Bezverkhi <[email protected] >
2020-11-30 07:21:40 +09:00
Duan Jiong and FUJITA Tomonori
aa1272dc36
set shutdownWG to nil after stopBGP finished
...
otherwise gobgp will panic in handlefsmMsg when handle error condition
Signed-off-by: Duan Jiong <[email protected] >
2020-11-29 15:25:36 +09:00
Serguei Bezverkhi
48e55b7c38
code changes
...
Signed-off-by: Serguei Bezverkhi <[email protected] >
2020-11-25 17:29:13 -05:00
FUJITA Tomonori
3df131c6ba
server: fix conversion from api.RouteAction to config.DefaultPolicyType
...
Signed-off-by: FUJITA Tomonori <[email protected] >
2020-11-09 23:10:34 +09:00
FUJITA Tomonori
c297c0b222
server: handle bogus addpath argument
...
Signed-off-by: FUJITA Tomonori <[email protected] >
2020-11-09 12:35:07 +09:00
Steve Shaw and FUJITA Tomonori
393d82f955
Adding gRPC support for modified logging level
...
Signed-off-by: Steve Shaw <[email protected] >
2020-11-06 21:15:10 +09:00
Alistair King and FUJITA Tomonori
01aa3f287b
Fix missing args in server tests
2020-11-06 21:08:55 +09:00
Alistair King and FUJITA Tomonori
5c979fea68
Use MonitorTableRequest.Name to filter by peer
...
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-06 21:08:55 +09:00
FUJITA Tomonori
3d3d6f3438
api: add ListPathRequest's option to get binary of nlri and attributes
...
put the binary of nlri and path attribute to the response.
Signed-off-by: FUJITA Tomonori <[email protected] >
2020-10-21 21:09:12 +09:00
Jordan Whited and FUJITA Tomonori
e6eb1da279
fix stuck route
2020-10-21 20:59:11 +09:00
FUJITA Tomonori
0ac9ac9b25
packet: handle malformed prefix len
...
Signed-off-by: FUJITA Tomonori <[email protected] >
2020-10-21 10:39:56 +09:00
FUJITA Tomonori
22d745fcf5
server: fix ListPolicyAssignment to handle empty policy
...
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 <[email protected] >
2020-10-20 15:36:19 +09:00
Chris Balmain
f15ecf8b48
remove incomingCh when deleting dynamic peer
2020-09-16 10:29:01 +10:00
JieJhih Jhang
6178fc524f
implement LsAddrPrefix marshal json function
2020-07-13 01:20:55 +08:00
FUJITA Tomonori
2dbb18f93f
server: don't send empty ExtendedNexthop capability
...
Signed-off-by: FUJITA Tomonori <[email protected] >
2020-07-04 22:05:23 +09:00
Dmitri Nikulin and FUJITA Tomonori
8cadc751ca
Add //go:generate stringer directives for public enum types.
...
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-24 07:32:52 +09:00
Dmitri Nikulin and FUJITA Tomonori
210696d6ff
Regenerate stringer code for public enum types.
...
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-24 07:32:48 +09:00
Serguei Bezverkhi and FUJITA Tomonori
833188f526
extend attributes proto for Prefix SID support
...
Signed-off-by: Serguei Bezverkhi <[email protected] >
2020-05-13 12:58:51 +09:00
Serguei Bezverkhi
a8ed57e661
address more static check failures
...
Signed-off-by: Serguei Bezverkhi <[email protected] >
2020-05-07 08:30:22 -04:00
Serguei Bezverkhi
3a6211a793
Addressing review comments
...
Signed-off-by: Serguei Bezverkhi <[email protected] >
2020-05-07 07:47:26 -04:00
Serguei Bezverkhi
7bdaeb349b
remove debug messages
...
Signed-off-by: Serguei Bezverkhi <[email protected] >
2020-05-07 04:36:25 -04:00
Serguei Bezverkhi
1f01ec2693
Finish methods and restructure files
...
Signed-off-by: Serguei Bezverkhi <[email protected] >
2020-05-07 04:27:21 -04:00
Serguei Bezverkhi
9251c7a7c0
code Decode and Serialize for Prefix SID types and add unit tests
...
Signed-off-by: Serguei Bezverkhi <[email protected] >
2020-05-06 15:44:17 -04:00
Serguei Bezverkhi
cd4b9c5b0a
add unit test to help with development
...
Signed-off-by: Serguei Bezverkhi <[email protected] >
2020-05-06 07:16:01 -04:00
Serguei Bezverkhi
a9232e356c
add object definitions
...
Signed-off-by: Serguei Bezverkhi <[email protected] >
2020-05-05 23:22:09 -04:00
Serguei Bezverkhi
e3001f9fe1
additional changes
...
Signed-off-by: Serguei Bezverkhi <[email protected] >
2020-05-05 16:10:24 -04:00
Serguei Bezverkhi
8409507a7c
coding the feature
...
Signed-off-by: Serguei Bezverkhi <[email protected] >
2020-05-05 14:31:28 -04:00
Serguei Bezverkhi
f11ece918f
adding prefix_sid_attr
...
Signed-off-by: Serguei Bezverkhi <[email protected] >
2020-05-04 08:46:17 -04:00
Hitoshi Irino
cf572bc5fc
Refactoring Zebra and supporting frr7.3
...
- Change const values to camel case from snake case to make zero golint's warnigns
- Introduce convert functions (toEach, toCommon) between the newest version to older versions
- Merge code about decode nexthop to reduce lines of code
- Add frr7.3 statemet in allowable software for config
- Rename and Update generated file by stringer
2020-04-26 07:43:50 +09:00