1
0
mirror of https://github.com/osrg/gobgp.git synced 2024-05-11 05:55:10 +00:00
Commit Graph

25 Commits

Author SHA1 Message Date
zvfvrv
92f37d65aa SegmentTypeB proto definition 2021-06-30 07:38:00 +09:00
Donatas Abraitis
94d720ff40 Add FQDN capability
It's not kinda RFC (draft), but it's implemented and used in various
other open-source software like FRRouting, Bird, ExaBGP.

It's very handy when dealing with lots of peers.

Exampe between GoBGP and FRRouting:
```
% ./cmd/gobgp/gobgp neighbor 192.168.10.123 | grep -A4 fqdn:
    fqdn:       advertised and received
      Local:
         name: donatas-pc, domain:
      Remote:
         name: exit1-debian-9, domain:
```

```
% vtysh -c 'show bgp neighbors 192.168.10.17 json' | jq .'"192.168.10.17".neighborCapabilities.hostName'
{
  "advHostName": "exit1-debian-9",
  "advDomainName": "n/a",
  "rcvHostName": "donatas-pc",
  "rcvDomainName": "n/a"
}
```

Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
2021-05-24 09:55:03 +03:00
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
Mikael Magnusson
390e3127ce add support for tunnel egress endpoint sub-TLV
As specified in draft-ietf-idr-tunnel-encaps-22.

Signed-off-by: Mikael Magnusson <mikma@users.sourceforge.net>
2021-03-14 08:46:44 +09:00
Mikael Magnusson
c70d99cc91 add pb for UDP destination port sub-TLV
Generated with tools/grpc/genproto.sh

Signed-off-by: Mikael Magnusson <mikma@users.sourceforge.net>
2021-01-23 09:03:18 +09:00
Serguei Bezverkhi
57068b16fd Add documentation, fix typo in proto and add marshal for tunne encal sub tlvs
Signed-off-by: Serguei Bezverkhi <sbezverk@cisco.com>
2020-12-02 07:21:01 +09:00
Serguei Bezverkhi
63b958b2a7 API chages
Signed-off-by: Serguei Bezverkhi <sbezverk@cisco.com>
2020-11-30 07:21:40 +09:00
Serguei Bezverkhi
66413b5335 API changes
Signed-off-by: Serguei Bezverkhi <sbezverk@cisco.com>
2020-11-25 17:28:18 -05:00
Valli A. Vallimamod
b44362fddd api: keeps backward compatibility when extending LsAddrPrefix 2020-11-10 22:17:26 +09:00
Valli A. Vallimamod
c595b56166 api: adds LS attributes to LsAddrPrefix
Includes `gobgp.LsNLRI` attibutes to `api.LsAddrPrefix` so that they are
distributed to all derived types (LsNodeNLRI, LsPrefixV4NLRI, and LsPrefixV6NLRI)
2020-11-10 22:17:26 +09:00
Steve Shaw
393d82f955 Adding gRPC support for modified logging level
Signed-off-by: Steve Shaw <shaw38@gmail.com>
2020-11-06 21:15:10 +09:00
Serguei Bezverkhi
833188f526 extend attributes proto for Prefix SID support
Signed-off-by: Serguei Bezverkhi <sbezverk@cisco.com>
2020-05-13 12:58:51 +09:00
Serguei Bezverkhi
e3001f9fe1 additional changes
Signed-off-by: Serguei Bezverkhi <sbezverk@cisco.com>
2020-05-05 16:10:24 -04:00
Serguei Bezverkhi
8409507a7c coding the feature
Signed-off-by: Serguei Bezverkhi <sbezverk@cisco.com>
2020-05-05 14:31:28 -04:00
Tom Shine
f11b9c7afb Add BGP-LS SRLG support 2020-04-24 00:25:59 +01:00
Carl Baldwin
72a0e55287 Use correct import paths for protobuf packages
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-06 17:59:21 +00:00
JieJhih Jhang
eb37217981 Add evpn I-PMSI to proto file 2019-04-10 10:03:27 +09:00
FUJITA Tomonori
2965e8092e add script to generate api/gobgp.pb.go
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2019-04-06 21:48:21 +09:00
Artur Makutunowicz
192480fc71 Add experimental BGP-LS feature 2019-01-26 12:40:45 +09:00
FUJITA Tomonori
475818dd3c api: remove unused members
fixes #1816

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2018-08-28 22:14:41 +09:00
FUJITA Tomonori
97ad6b32ee api: change Family
fixes #1812

Avoid the cast and use strightforward data strcuture; two variables
for afi and safi instead of squashing two into one variable.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2018-08-28 15:36:50 +09:00
FUJITA Tomonori
71e56c542e rpc cleanup
- clean up RPC function names
- rewrite gobgp command to use the api instead of config package
- delete unused client package

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2018-08-08 21:24:48 +09:00
IWASE Yusuke
84987fb873 api: Define protobuf structure for BGP Path Attributes
Example of protoc command:
$ export PROTOBUF=${HOME}/protobuf/src
$ export GOBGP=${GOPATH}/src/github.com/osrg/gobgp
$ protoc \
    -I ${PROTOBUF} \
    -I ${GOBGP}/api \
    --go_out=plugins=grpc:${GOBGP}/api \
    ${GOBGP}/api/gobgp.proto \
    ${GOBGP}/api/attribute.proto

Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com>
2018-06-13 08:55:27 +09:00