Proto commits in osrg/gobgp

These commits are when the Protocol Buffers files have changed: (only the last 100 relevant commits are shown)

Commit:e2ce0d4
Author:watal
Committer:watal

ADD: SRv6 SID NLRI Co-authored-by: Yuta Fukagawa <25516089+yfskyline@users.noreply.github.com> Co-authored-by: Taisei Tanabe <tanabe@nwlab.org> Co-authored-by: Shuto Masuda <shuto67cow@gmail.com>

The documentation is generated from this commit.

Commit:16ea4f9
Author:Jeremiah Millay
Committer:Jeremiah Millay

Add neighbor config option to bypass as-path loop detection on local (static) routes

Commit:0148e2d
Author:wenovus

Support policy predicate `set next-hop peer-address` e.g. https://www.cisco.com/c/en/us/td/docs/routers/crs/software/crs_r4-0/routing/command/reference/rr40crs1book_chapter8.html#wp710515721:~:text=Sets%20the%20next%2Dhop%20to%20the%20IP%20address%20of%20the%20remote%20Border%20Gateway%20Protocol%20%28BGP%29%20peer

Commit:d2ac253
Author:wenovus
Committer:wenovus

Support `SetRouteOrigin` and `OriginEq` BGP Policy Predicates

Commit:0dfa367
Author:Donatas Abraitis
Committer:Donatas Abraitis

Inherit software version capability from peer-group Fixes: 15f9d5c64c98d1db273cc45e95fcc11843fba4b5 ("Add SoftwareVersion capability") Fixes: https://github.com/osrg/gobgp/issues/2767 Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>

Commit:85ef4d3
Author:Tuetuopay
Committer:Tuetuopay

Add BatchSize parameter to WatchEvent When dealing with large BGP instances, the path list can be so large it makes a response message larger than the gRPC max message size. This adds a BatchSize field to the request to send at most BatchSize paths in a single WatchEventResponse message, greatly limiting the size of each stream item. For reference, this was hit on a production BGP-EVPN instances with over 80k paths. # gobgp mon --current global rib -a evpn rpc error: code = ResourceExhausted desc = grpc: received message larger than max (140281387 vs. 4194304) Setting a batch size allows us to get the current full table without resorting to ListPaths calls, with all the synchronization issues that ensues. This is pretty important because the limit can be reached quite quickly: we observed single paths well over 15kB on the wire, and even a batch size of 4096 leads to oversized messages (already a far cry from the 80k of the default implementation).

Commit:9fbc037
Author:Maxime Peim
Committer:FUJITA Tomonori

send-max: respect configuration

Commit:7ef2f0b
Author:wenovus
Committer:FUJITA Tomonori

Add CommunityCount BGP Policy Condition This is intended to have the same behaviour as [these OpenConfig paths](https://openconfig.net/projects/models/schemadocs/yangdoc/openconfig-routing-policy.html#routing-policy-policy-definitions-policy-definition-statements-statement-conditions-bgp-conditions-community-count): * /routing-policy/policy-definitions/policy-definition/statements/statement/conditions/bgp-conditions/community-count/config/operator * /routing-policy/policy-definitions/policy-definition/statements/statement/conditions/bgp-conditions/community-count/config/value

Commit:ed87360
Author:Rinat Baygildin
Committer:FUJITA Tomonori

Add EOR type to Table's filter on Watch method Signed-off-by: Rinat Baygildin <bayrinat@yandex-team.ru>

Commit:9d05544
Author:FUJITA Tomonori

Revert "Add EOR type to Table's filter on Watch method" This reverts commit aff055b44d0f036da26f5d82275d15e3cb23fee0. This breaks WatchEvent API: https://github.com/osrg/gobgp/issues/2777

Commit:aff055b
Author:Rinat Baygildin
Committer:FUJITA Tomonori

Add EOR type to Table's filter on Watch method Signed-off-by: Rinat Baygildin <bayrinat@yandex-team.ru>

Commit:270ee41
Author:Yuya Kusakabe
Committer:Yuya Kusakabe

mup: add Source Address to Type 1 ST Route This patch adds Source Address to Type 1 ST Route as defined in draft-mpmz-bess-mup-safi-03. See https://datatracker.ietf.org/doc/html/draft-mpmz-bess-mup-safi-03#section-3.1.3

Commit:16412bf
Author:Jeremiah Millay

Add replace option to AddDefinedSet rpc

Commit:146b2b8
Author:Vladislav Grishenko
Committer:FUJITA Tomonori

server: improve ListPath's memory consumption with batched send With a lot of paths (hundreds of thousands) gobgp may oom or stuck in swapping. Allow to specify max batch size via grpc and keep unlimited batch size by default since 21093fbc8739d0a8e4f84ec6e52c98dad0894612 without preallocation on the first run, so it still should not affect perfomance/allocations with small ammount of paths. Signed-off-by: Vladislav Grishenko <themiron@yandex-team.ru>

Commit:35bfc96
Author:Kirill Pletnev
Committer:Kirill 'horseinthesky' Pletnev

CLI VPNv4/VPNv6 filtering gobgp CLI can filter VPNv4/VPNv6 prefixes with or without rd.

Commit:b8e17e0
Author:Rinat Baygildin
Committer:FUJITA Tomonori

Use filter for watch pre/post-update watch events Filtering by peer address worked only for initial state. Using watch event's filter allows to use it for each event and could be extended by other conditions, e.g. peer group. peer_address and peer_group were added to API (backward compatible). Signed-off-by: Rinat Baygildin <bayrinat@yandex-team.ru>

Commit:7109696
Author:menetelk0

Updating support of L2VPN VPLS address family (AFI 25, SAFI 65)

Commit:c556ca4
Author:Donatas Abraitis
Committer:FUJITA Tomonori

Add SoftwareVersion capability https://datatracker.ietf.org/doc/html/draft-abraitis-bgp-version-capability Working example with FRR ``` % ./gobgp neighbor 192.168.10.124 BGP neighbor is 192.168.10.124, remote AS 65001 BGP version 4, remote router ID 200.200.200.202 BGP state = ESTABLISHED, up for 00:01:14 BGP OutQ = 0, Flops = 0 Hold time is 3, keepalive interval is 1 seconds Configured hold time is 90, keepalive interval is 30 seconds Neighbor capabilities: multiprotocol: ipv6-unicast: advertised ipv4-unicast: advertised and received route-refresh: advertised and received extended-nexthop: advertised Local: nlri: ipv4-unicast, nexthop: ipv6 UnknownCapability(6): received UnknownCapability(9): received graceful-restart: advertised and received Local: restart time 10 sec ipv6-unicast ipv4-unicast Remote: restart time 120 sec, notification flag set ipv4-unicast, forward flag set 4-octet-as: advertised and received add-path: received Remote: ipv4-unicast: receive enhanced-route-refresh: received long-lived-graceful-restart: advertised and received Local: ipv6-unicast, restart time 10 sec ipv4-unicast, restart time 20 sec Remote: ipv4-unicast, restart time 0 sec, forward flag set fqdn: advertised and received Local: name: donatas-pc, domain: Remote: name: spine1-debian-11, domain: software-version: advertised and received Local: GoBGP/3.10.0 Remote: FRRouting/8.5-dev-MyOwnFRRVersion-gdc92f44a4 cisco-route-refresh: received Message statistics: ``` FRR side: ``` root@spine1-debian-11:~# vtysh -c 'show bgp neighbor 192.168.10.17 json' | \ > jq '."192.168.10.17".neighborCapabilities.softwareVersion.receivedSoftwareVersion' "GoBGP/3.10.0" root@spine1-debian-11:~# ``` Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>

Commit:cfb39b1
Author:yas-nyan
Committer:yas-nyan

re-design BgpPeerSegment protobuf

Commit:d1cd6b3
Author:kanaya516

BGP-Confederation for BGP-LS EPE

Commit:70f4e8a
Author:kanaya516
Committer:kanaya516

add BGP-LS EPE

Commit:a3f1d8c
Author:Rinat Baygildin

Add enable_only_binary flag to grpc ListPath method Adding enable_only_binary allows using only binary representation of nlri and attributes on the ListPath call. For clients who uses only binary representation it helps to significantly reduce resource consumption by refusing unnecessary conversion. It is vital while processing a large number of paths, e.g. full-view. This change doesn't break backward compatibility.

Commit:629b2c1
Author:Yuya Kusakabe
Committer:FUJITA Tomonori

api,mup: remove unused prefix_length field in MUPInterworkSegmentDiscoveryRoute

Commit:0f377b3
Author:Yuya Kusakabe
Committer:Yuya Kusakabe

api,pkg/packet/bgp: fix SRv6 Endpoint Behavior for MUP values

Commit:0a18fce
Author:Yuya Kusakabe
Committer:FUJITA Tomonori

Fix typo in SRv6 SID Structure Sub-Sub-TLV See https://www.rfc-editor.org/rfc/rfc9252.html#section-3.2.1

Commit:30b9599
Author:Yuya Kusakabe
Committer:FUJITA Tomonori

pkg/packet/bgp: refactor Prefix-SID - Add TLVType contant values. - Add NewPathAttributePrefixSID(). - Add SRv6ServiceTLV to support SRv6 L2 Service TLV. - Move reserved field handling to each type of TLV, because header and reserved field size are different for each type. For more details, see https://www.rfc-editor.org/rfc/rfc8669.html and https://www.rfc-editor.org/rfc/rfc9252.html.

Commit:975db96
Author:Yuya Kusakabe
Committer:Yuya Kusakabe

mup: handle Type 1 ST Route Prefix as Prefix instead of single address See https://www.ietf.org/archive/id/draft-mpmz-bess-mup-safi-01.html#name-bgp-type-1-session-transfor for details.

Commit:06af56e
Author:Yuya Kusakabe

pkg/packet/bgp,api: add SRv6 behavior for SRv6 MUP - End.M.GTP6.D: 45 - End.M.GTP6.Di: 46 - End.M.GTP6.E: 47 - End.M.GTP4.E: 48 https://www.iana.org/assignments/segment-routing/segment-routing.xhtml

Commit:438f246
Author:Yuya Kusakabe

cli: initial support for BGP-MUP SAFI and Extended Community

Commit:229d116
Author:FUJITA Tomonori

clean up FQDNCapability message - we don't need hostlen and domainlen. - use camel case. Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>

Commit:2032f59
Author:FUJITA Tomonori

add filename variable DisableMrtRequest needs to specify which mrt instance is supposed to be disabled. Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>

Commit:711063a
Author:FUJITA Tomonori

Add ListBmp API Get the status of BMP stations. Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>

Commit:c9374d3
Author:FUJITA Tomonori

fix mrt proto typo also make it consistent with config definition. Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>

Commit:ea58a91
Author:FUJITA Tomonori
Committer:FUJITA Tomonori

Add WatchEvent API to replace MonitorPeer and MonitorTable get peer and path events in order. Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>

Commit:030274e
Author:night
Committer:FUJITA Tomonori

Fix spelling of LinkBandwidth

Commit:6fc43b1
Author:FUJITA Tomonori

proto: avoid global enum definitions when possible Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>

Commit:6eeabdf
Author:FUJITA Tomonori
Committer:FUJITA Tomonori

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>

Commit:15920c9
Author:FUJITA Tomonori

proto: clean up peer messages Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>

Commit:f75661f
Author:FUJITA Tomonori

proto: add DumpType to EnableMrtRequest Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>

Commit:24ae33b
Author:FUJITA Tomonori

proto: define AsSegment Type enum Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>

Commit:dd270fc
Author:Vallimamod Abdullah
Committer:FUJITA Tomonori

api: defines LsOspfRouteType enum for LsPrefixDescriptor Allows better serialization as this field is automatically removed from prefix descriptor when empty/unknown instead of getting `LsOspfRouteType(0)` default value from Stringer.

Commit:4b11fc7
Author:Vallimamod Abdullah
Committer:FUJITA Tomonori

api: corrects typo in validation reason enum (s/reasot/reason/)

Commit:c593d7c
Author:FUJITA Tomonori
Committer:FUJITA Tomonori

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>

Commit:27b80a9
Author:Donatas Abraitis
Committer:FUJITA Tomonori

bgp: Implement BGP link-bandwidth extended community Receiving ========= Extended communities sent from FRR side: ``` route-map lb permit 10 set extcommunity bandwidth 10 set extcommunity soo 65001:123 exit ``` On GoBGP side it's decoded as 125000 as IEEE floating-point. ``` % sudo ./gobgp global rib 192.168.100.1/32 --json | jq '."192.168.100.1/32"' [ { "nlri": { "prefix": "192.168.100.1/32" }, "age": 1632128843, "best": true, "attrs": [ { "type": 1, "value": 2 }, { "type": 2, "as_paths": [ { "segment_type": 2, "num": 1, "asns": [ 65534 ] } ] }, { "type": 3, "nexthop": "192.168.10.123" }, { "type": 4, "metric": 0 }, { "type": 16, "value": [ { "type": 64, "subtype": 4, "asn": 65534, "bandwidth": 1250000 }, { "type": 0, "subtype": 3, "value": "65001:123" } ] } ], "stale": false, "source-id": "192.168.100.2", "neighbor-ip": "192.168.10.123" } ] ``` Sending ======= When sending from GoBGP side: ``` [[policy-definitions]] name = "policy1" [[policy-definitions.statements]] [policy-definitions.statements.actions.bgp-actions.set-ext-community] options = "replace" [policy-definitions.statements.actions.bgp-actions.set-ext-community.set-ext-community-method] communities-list = ["lb:65021:125000"] ``` We get properly encoded/decoded in FRR as well: ``` ~# vtysh -c 'show ip bgp 10.33.0.0/16 json' | grep 'LB:' "string":"RT:300:400 SoO:100:200 LB:65021:125000 (1.000 Mbps)" ``` Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>

Commit:c114e04
Author:Donatas Abraitis
Committer:FUJITA Tomonori

Handle ttl-security option correctly It wasn't configurable at all. Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>

Commit:92f37d6
Author:zvfvrv
Committer:FUJITA Tomonori

SegmentTypeB proto definition

Commit:94d720f
Author:Donatas Abraitis

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>

Commit:9e98fcf
Author:Carl Baldwin
Committer:Carl Baldwin

Do not suppress initial non-established peer state in MonitorPeer The issue with the initial update was that sometimes a connection had not yet been established. Trying to get remote and local connection data caused a segmentation violation because `fsm.conn` was nil. Also adds a flag to MonitorPeerRequest in the GRPC API to enable the new behavior to avoid backward incompatibility. fixes #2047

Commit:3c437e5
Author:Marcus Wichelmann
Committer:Marcus Wichelmann

Added ListDynamicNeighbor message to API

Commit:76f40ed
Author:Marcus Wichelmann
Committer:Marcus Wichelmann

Added DeleteDynamicNeighbor message to API

Commit:c1e7463
Author:Marcus Wichelmann
Committer:Marcus Wichelmann

Added ListPeerGroup message to API

Commit:390e312
Author:Mikael Magnusson
Committer:FUJITA Tomonori

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>

Commit:cd5671b
Author:Faicker Mo
Committer:FUJITA Tomonori

policy: add nexthop unchanged Support config set-next-hop = "unchanged" and also cli command. Signed-off-by: Faicker Mo <faicker.mo@ucloud.cn>

Commit:3339f97
Author:Milan Lenco
Committer:FUJITA Tomonori

feat: add option to bind listener to a (VRF) device Signed-off-by: Milan Lenco <milan.lenco@pantheon.tech>

Commit:4c8ab0d
Author:Mikael Magnusson
Committer:FUJITA Tomonori

support UDP destination port sub-TLV As specified in draft-ietf-idr-tunnel-encaps. Signed-off-by: Mikael Magnusson <mikma@users.sourceforge.net>

Commit:57068b1
Author:Serguei Bezverkhi
Committer:FUJITA Tomonori

Add documentation, fix typo in proto and add marshal for tunne encal sub tlvs Signed-off-by: Serguei Bezverkhi <sbezverk@cisco.com>

Commit:63b958b
Author:Serguei Bezverkhi
Committer:FUJITA Tomonori

API chages Signed-off-by: Serguei Bezverkhi <sbezverk@cisco.com>

Commit:66413b5
Author:Serguei Bezverkhi

API changes Signed-off-by: Serguei Bezverkhi <sbezverk@cisco.com>

Commit:c595b56
Author:Valli A. Vallimamod
Committer:FUJITA Tomonori

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)

Commit:b44362f
Author:Valli A. Vallimamod
Committer:FUJITA Tomonori

api: keeps backward compatibility when extending LsAddrPrefix

Commit:393d82f
Author:Steve Shaw
Committer:FUJITA Tomonori

Adding gRPC support for modified logging level Signed-off-by: Steve Shaw <shaw38@gmail.com>

Commit:3d3d6f3
Author:FUJITA Tomonori
Committer:FUJITA Tomonori

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 <fujita.tomonori@gmail.com>

Commit:833188f
Author:Serguei Bezverkhi
Committer:FUJITA Tomonori

extend attributes proto for Prefix SID support Signed-off-by: Serguei Bezverkhi <sbezverk@cisco.com>

Commit:f11b9c7
Author:Tom Shine
Committer:Tom Shine

Add BGP-LS SRLG support

Commit:72a0e55
Author:Carl Baldwin
Committer:Carl Baldwin

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

Commit:853944f
Author:FUJITA Tomonori

server: speed up session establishment The unittest on pkg/server finishes quicker. Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>

Commit:2f5a4d5
Author:Hitoshi Irino
Committer:FUJITA Tomonori

BGP connection on a speecified interface (including which is associated VRF) using syscall SO_BINDTODEVICE

Commit:7d2823d
Author:Hitoshi Irino
Committer:FUJITA Tomonori

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.)

Commit:bec61c4
Author:FUJITA Tomonori
Committer:FUJITA Tomonori

server: make ListPath API show filtered paths This adds the feature to show filtered paths by policies to ListPath API. with EnableFiltered in ListPathRequest enabled: - ListPath for adj-in sets filtered on paths filtered by policys - ListPath for adj-out includes paths filtered by policys with filtered set. Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>

Commit:eb37217
Author:JieJhih Jhang
Committer:FUJITA Tomonori

Add evpn I-PMSI to proto file

Commit:2965e80
Author:FUJITA Tomonori

add script to generate api/gobgp.pb.go Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>

Commit:ccdc2e6
Author:FUJITA Tomonori
Committer:FUJITA Tomonori

add secondary-route feature for router server if an export policy rejects a selected route, try the next route in order until one that is accepted is found or all routes for the peer are rejected. the default is disabled. You can enable this feature in the following way: [neighbors.route-server.config] route-server-client = true secondary-route = true Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>

Commit:80ff3a3
Author:JieJhih Jhang
Committer:FUJITA Tomonori

support BMP sysName and sysDescr configuration

Commit:3a79ad3
Author:Hitoshi Irino
Committer:FUJITA Tomonori

Supporting BGP/MPLS L3VPNs with Frrouting Zebra API 6 - This commit aims to solve reported problem on issues #1611, #1648 and #1912 - Partial changes of this commit duplicate with changes on PR #1587 (not merged) and PR #1766 (not merged and already closed) - This commit is tested with only FRRouting version 6.0.2 (which uses Zebra API 6) - This commit fixes lack of LABEL_MANAGER_CONNECT_ASYNC for ZAPI6. (This bug is introduced on commit 2bdb76f2dcf24b891f2b6327a57c31b26463b2dd "Supporting Zebra API version 6 which is used in FRRouting version 6")

Commit:192480f
Author:Artur Makutunowicz
Committer:FUJITA Tomonori

Add experimental BGP-LS feature

Commit:d7e5bf2
Author:FUJITA Tomonori
Committer:FUJITA Tomonori

fix bmp statistics fix the regression of the adj counter due to 301b48532d4a5510c9d4ffdc44eb2754fdd1a3d1 Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>

Commit:8e7741a
Author:FUJITA Tomonori

api: rename ValidationDetail to Validation Let's simply use 'validation' because there is no other validation structure. We could add validation results from other than rpki so drop rpki name. Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>

Commit:8d0a8b0
Author:FUJITA Tomonori
Committer:FUJITA Tomonori

make the usage of type name in protobuf consistent Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>

Commit:301b485
Author:FUJITA Tomonori
Committer:FUJITA Tomonori

support received, accepted, and advertised counters per family Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>

Commit:a5763c2
Author:FUJITA Tomonori
Committer:FUJITA Tomonori

api: remove AddPaths from Peer and PeerGroup AddPaths in AfiSafi should be used; it can handle configuration per family. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>

Commit:7ec6a96
Author:FUJITA Tomonori
Committer:FUJITA Tomonori

api: move RouterId to PeerState from PeerConf It's not configuration. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>

Commit:79a461c
Author:FUJITA Tomonori
Committer:FUJITA Tomonori

api: move remote_cap and local_cap to PeerState from PeerConf Both should be in PeerState like OpenConfig. Also remove unused supported_capabilities. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>

Commit:6b05d9d
Author:FUJITA Tomonori
Committer:FUJITA Tomonori

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>

Commit:c1bca25
Author:FUJITA Tomonori
Committer:FUJITA Tomonori

use google/protobuf/timestamp.proto use google/protobuf/timestamp.proto instead of our own way to represent time. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>

Commit:fa387c9
Author:Eiichiro Watanabe
Committer:FUJITA Tomonori

Fix Statistics Report in BMP

Commit:0eb3dce
Author:Eiichiro Watanabe
Committer:FUJITA Tomonori

Fix intervals for MRT

Commit:4cc7a81
Author:Eiichiro Watanabe

Support AdminDown from config

Commit:475818d
Author:FUJITA Tomonori
Committer:FUJITA Tomonori

api: remove unused members fixes #1816 Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>

Commit:97ad6b3
Author:FUJITA Tomonori
Committer:FUJITA Tomonori

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>

Commit:008c961
Author:FUJITA Tomonori
Committer:FUJITA Tomonori

policy cleanup - remove ReplaceDefinedSet and ReplaceStatement APIs; not intutive and should create a new one instead of modifying the existing. - Rename ReplacePolicyAssignment to SetPolicyAssignment API; we use internally SetPolicy() name from the beginning. - Rename UpdatePolicy() to SetPolicies() API; It doesn't update anything so the name is confusing. It discards the all policies and create policies from the argument. - Changes some member names in structures for policy. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>

Commit:71e56c5
Author:FUJITA Tomonori
Committer:FUJITA Tomonori

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>

Commit:e2752ae
Author:IWASE Yusuke
Committer:IWASE Yusuke

api: Use capability.proto in message PeerConf The current formats of the remote/local capabilities in message PeerConf are the binary type representation, this patch fixes to use the structures defined in capability.proto file. Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com>

Commit:493d024
Author:IWASE Yusuke
Committer:IWASE Yusuke

api: Define protobuf for BGP Capabilities 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 \ ${GOBGP}/api/capability.proto Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com>

Commit:b992c53
Author:IWASE Yusuke
Committer:IWASE Yusuke

api: Use attribute.proto struct in message Vrf The current formats of the RD and import/export RTs in message Vrf are the binary type representation, this patch fixes to use the structures defined in attribute.proto file. Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com>

Commit:5fbd0cb
Author:Marcin Ptaszyński
Committer:Marcin Ptaszyński

table: support AfiSafiIn Policy Condition match

Commit:964bb04
Author:Satoshi Fujimoto
Committer:Satoshi Fujimoto

api: Implement Shutdonw() Signed-off-by: Satoshi Fujimoto <satoshi.fujimoto7@gmail.com>

Commit:57f103e
Author:Satoshi Fujimoto
Committer:Satoshi Fujimoto

api: Implement AddCollector() Signed-off-by: Satoshi Fujimoto <satoshi.fujimoto7@gmail.com>

Commit:000589f
Author:Satoshi Fujimoto
Committer:Satoshi Fujimoto

api: Implement UpdatePolicy() Signed-off-by: Satoshi Fujimoto <satoshi.fujimoto7@gmail.com>

Commit:c821cfb
Author:Satoshi Fujimoto
Committer:Satoshi Fujimoto

api: Implement PeerGroup and DynamicNeighbor API Signed-off-by: Satoshi Fujimoto <satoshi.fujimoto7@gmail.com>

Commit:222bf44
Author:Satoshi Fujimoto
Committer:Satoshi Fujimoto

api: Add some fields to notify Graceful Restart state Signed-off-by: Satoshi Fujimoto <satoshi.fujimoto7@gmail.com>