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

287 Commits

Author SHA1 Message Date
Tomas Vilemaitis
ed0b7f9499 cli: Add local-as attribute in neighbor cmd 2022-09-02 15:50:29 +03:00
FUJITA Tomonori
49a3897be8 fix markdownlint warnings
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2022-08-05 20:38:21 +09:00
Hitoshi Irino
157a7689e1 Support FRRouting 8.2 and introduce zebra.Software structure. 2022-05-04 07:32:58 +00:00
cpmarvin
459bcfedf4 documentation : BGP-SR via python grpc example 2022-03-24 08:47:16 +09:00
FUJITA Tomonori
c0c3fb98b7 ci: add lib-ls example
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2021-12-14 11:38:10 +00:00
FUJITA Tomonori
5798cfaf26 doc: replace MonitorPeer with WatchEvent API
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2021-12-14 01:11:44 +00:00
FUJITA Tomonori
6eeabdf01b proto: replace 'as' with 'asn'
For consistency, always use 'asn' instead of 'as', 'as_number', etc.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2021-12-11 01:36:20 +00:00
FUJITA Tomonori
f871b60c01 doc: fix excample code of library usages
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2021-12-08 13:09:34 +00:00
FUJITA Tomonori
c593d7c8b3 switch to Go API v2 for protobuf
seems that sticking to Go API v1 for protobuf is headache for projects
using GoBGP.

This breaks the compatibility so bumps up the major version to 3.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2021-12-08 07:22:50 +00:00
Donatas Abraitis
93f1ee1258 doc: Adjust documentation for link-bandwidth extended community
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
2021-11-04 20:12:58 +09:00
Guangtong Cao
0419224a8c Add support for encap tunnel in extended communities in policy.md. 2021-06-27 14:45:40 +00:00
FUJITA Tomonori
4df939a3c9 docs: fix typo
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2021-03-06 21:15:21 +09:00
FUJITA Tomonori
5b7e123820 docs: add next-hop action examples
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2021-03-06 20:58:35 +09:00
Faicker Mo
cd5671baee policy: add nexthop unchanged
Support config set-next-hop = "unchanged" and also cli command.

Signed-off-by: Faicker Mo <faicker.mo@ucloud.cn>
2021-03-03 09:47:50 +09:00
Serguei Bezverkhi
283659d8b7 fix linting errors
Signed-off-by: Serguei Bezverkhi <sbezverk@cisco.com>
2020-12-02 07:21:01 +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
ffe50e85d4 Add SR policy documentatiom
Signed-off-by: Serguei Bezverkhi <sbezverk@cisco.com>
2020-12-02 07:21:01 +09:00
Hitoshi Irino
b55c32ce65 Support of FRR7.5
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-29 12:23:28 +09:00
Hitoshi Irino
7d6b9e78b0 Update zebra.md to fix markdownlint error 2020-07-27 07:06:52 +09:00
Hitoshi Irino
efeb8c51fb zebra: refactoring and fix bug and add processing messageBackupNexthop (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-26 22:37:04 +09:00
Randy Lam
ffa47a6c7e fix fragment with ether-type
Should be ether-type instead of fragment
2020-07-10 16:12:23 +08:00
FUJITA Tomonori
03f864a23f docs: update cli output
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2020-03-05 14:28:44 +09:00
Hitoshi Irino
05a7e0e993 Supporting FRR7.2 2020-01-13 18:55:51 +09:00
FUJITA Tomonori
79a9e20096 docs: update python grpc code generation
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2019-11-07 15:05:00 +09:00
FUJITA Tomonori
a464d93cb3 docs: update bmp verification section
gobgmp was removed long ago. Add a pointer to other BMP server
implementations.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2019-10-18 10:13:08 +09:00
FUJITA Tomonori
03f8fb262c docs: update rpki config
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2019-09-09 14:16:06 +09:00
Kevin Kirsche
a7e6068fbd Fix error in BGP Confederation syntax
Sorry about this, I had forgot that TOML subtables require the name of the parent table in their path's. I've validated this configuration:

```
root@kkirsche-dev:/home/kkirsche# ./gobgpd -f config.toml
{"level":"info","msg":"gobgpd started","time":"2019-08-28T18:32:23Z"}
{"Topic":"Config","level":"info","msg":"Finished reading the config file","time":"2019-08-28T18:32:23Z"}
{"level":"info","msg":"Peer 10.0.0.2 is added","time":"2019-08-28T18:32:23Z"}
{"Topic":"Peer","level":"info","msg":"Add a peer configuration for:10.0.0.2","time":"2019-08-28T18:32:23Z"}
```

```
root@kkirsche-dev:# cat config.toml
[global]
  [global.config]
    as = 65001
    router-id = "10.0.0.1"
  [global.confederation.config]
    enabled = true
    identifier = 30
    member-as-list = [ 65002 ]
```
2019-08-28 14:33:00 -04:00
Kevin Kirsche
bf2df3ec6f Add BGP Confederation documentation
Fix #2146
2019-08-27 15:36:48 -04:00
Hitoshi Irino
82f6a7c699 Support connecting zebra of cumulus linux 2019-08-21 08:58:25 +09:00
FUJITA Tomonori
c17003e71b docs: add aspath attribute to library usage
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2019-08-01 14:34:55 +09:00
Hitoshi Irino
7284d4cf8b Avoid panic by receiving vpnv6 prefixes with zebra reported in issue #2113
- Additionally bug fix which avoid panic caused by displaying vpnv6 prefixes using gobgp vrf rib
- Supporting FRRouting 7.1.x
2019-07-21 15:25:50 +09:00
George Melikov
4267098933 gRPC docs: include all needed paths
Signed-off-by: George Melikov <mail@gmelikov.ru>
2019-07-16 16:30:04 +03:00
FUJITA Tomonori
8fb71943c3 docs: remove obsolete rpki command
Long ago gobgp stored the validation results in memory but for reduce
memory usage, the cache was removed. Currently, every time you request
the validation result, gobgp validates paths with the latest ROAs.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2019-05-26 19:39:43 +09:00
FUJITA Tomonori
25428e881e fix markdownlint warnings
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2019-05-16 20:59:53 +09:00
Hitoshi Irino
7d2823d4c0 zebra: supporting FRRouting version 7
- the "version" parameter (which means ZAPI) 6 in zebra config changes supporting FRRouting version 7 instead of FRRouting version 6.
 - the "software-name" parameter which supports backward compatibility is added in zebra config.
   (GoBGP support FRRouting version 6 when "version = 6" and "software-name = frr6" is configured.)
2019-05-08 08:48:26 +09:00
JieJhih Jhang
42feaea2a0 cmd/gobgp: Parse evpn IPMSI parameter 2019-04-11 07:30:35 +09:00
FUJITA Tomonori
fa5878f6f3 docs: add how policy and soft reset works
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2019-04-10 22:06:40 +09:00
Nasato Goto
20d3254d3b docs: update image of route server policy model
Corresponding to Single RIB structure.
2019-03-29 16:11:00 +09:00
Hitoshi Irino
b7189a6aca Updating documet integrating with FRRouting and use of mpls-label-range-size. 2019-03-14 21:20:31 +09:00
Vincent Bernat
dc4d9c6d1b doc: fix "del" command for removing a neighbor
`gobgp neighbor delete` doesn't work. We need to use `gobgp neighbor del`.
2019-03-05 18:06:56 +01:00
FUJITA Tomonori
259d9b5264 docs: add v6 route example to lib
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2019-02-19 12:37:27 +09:00
FUJITA Tomonori
662b711d32 docs: delete the description of obsolete mrt cli commands
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2019-02-18 17:48:05 +09:00
Thomas Rosenstein
483a0b6e7d [Doc #1968] Add NeighborSet Warning 2019-02-16 18:16:00 +09:00
Artur Makutunowicz
48508c7f3d Add BGP-LS usage example 2019-01-31 12:21:16 -08:00
FUJITA Tomonori
d2da513e32 docs: fix outdated comment of the gRPC API examples
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2018-12-25 06:34:07 +09:00
FUJITA Tomonori
48fa25d06c docs: delete outdated java/nodejs/ruby gRPC API examples
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2018-12-24 23:20:35 +09:00
FUJITA Tomonori
bb1bbdd197 docs: update C++ gRPC API example
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2018-12-24 23:18:37 +09:00
FUJITA Tomonori
28d96f985b docs: update python gRPC API example
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
2018-12-24 21:41:54 +09:00
FUJITA Tomonori
6b05d9db0f api: rename NlriAny in api.Path to Nlri
Also rename PathAttrsAny to PathAttrs. Both are the first choice
rather than the binary format members.

Support SortType member to ListPathRequest to add an option to return
unordered paths.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2018-11-16 16:49:49 +09:00
FUJITA Tomonori
99556f9cfc server: change monitor API design
https://github.com/osrg/gobgp/issues/1763#issuecomment-437594975

Follow Chris's proposal; consistent with the rest of the APIs.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2018-11-12 09:30:20 +09:00