summaryrefslogtreecommitdiffhomepage
path: root/api/gobgp.proto
diff options
context:
space:
mode:
authorIWASE Yusuke <iwase.yusuke0@gmail.com>2018-05-09 15:14:25 +0900
committerIWASE Yusuke <iwase.yusuke0@gmail.com>2018-06-13 10:54:00 +0900
commit417f8ba6f54c4010b746d6262eb77683851f1db5 (patch)
treec546ea896f4488511832867165febdec3d995fa4 /api/gobgp.proto
parent84987fb8732b6d2cce89e4cbc4009f6341592ec9 (diff)
api: Use api/attribute.proto structure in gRPC API
Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com>
Diffstat (limited to 'api/gobgp.proto')
-rw-r--r--api/gobgp.proto20
1 files changed, 20 insertions, 0 deletions
diff --git a/api/gobgp.proto b/api/gobgp.proto
index 1f460c14..5718f2be 100644
--- a/api/gobgp.proto
+++ b/api/gobgp.proto
@@ -21,6 +21,8 @@
syntax = "proto3";
+import "google/protobuf/any.proto";
+
package gobgpapi;
// Interface exported by the server.
@@ -584,6 +586,24 @@ message Path {
bool is_nexthop_invalid = 17;
uint32 identifier = 18;
uint32 local_identifier = 19;
+ // One of the following defined in "api/bgp/attribute.proto":
+ // - IPAddressPrefix
+ // - LabeledIPAddressPrefix
+ // - EncapsulationNLRI
+ // - EVPNEthernetAutoDiscoveryRoute
+ // - EVPNMACIPAdvertisementRoute
+ // - EVPNInclusiveMulticastEthernetTagRoute
+ // - EVPNEthernetSegmentRoute
+ // - EVPNIPPrefixRoute
+ // - LabeledVPNIPAddressPrefix
+ // - RouteTargetMembershipNLRI
+ // - FlowSpecNLRI
+ // - VPNFlowSpecNLRI
+ // - OpaqueNLRI
+ google.protobuf.Any any_nlri = 20;
+ // Each attribute must be on of *Attribute defined in
+ // "api/bgp/attribute.proto".
+ repeated google.protobuf.Any any_pattrs = 21;
}
message Destination {