summaryrefslogtreecommitdiffhomepage
path: root/api/attribute.proto
diff options
context:
space:
mode:
authorValli A. Vallimamod <vma@sip.solutions>2020-07-31 15:34:14 +0200
committerFUJITA Tomonori <fujita.tomonori@gmail.com>2020-11-10 22:17:26 +0900
commitb44362fddd6000842534e1318df3090b23a7cffb (patch)
tree41fdf29a1688126ae1ddc5bc3362f6993ff98fd8 /api/attribute.proto
parentc0d75f780617ee9f62f02dc79acb1fc1fef5b7a8 (diff)
api: keeps backward compatibility when extending LsAddrPrefix
Diffstat (limited to 'api/attribute.proto')
-rw-r--r--api/attribute.proto8
1 files changed, 4 insertions, 4 deletions
diff --git a/api/attribute.proto b/api/attribute.proto
index ef8249bd..f5680420 100644
--- a/api/attribute.proto
+++ b/api/attribute.proto
@@ -323,15 +323,15 @@ enum LsProtocolID {
// - AFI=16388, SAFI=71
message LsAddrPrefix {
LsNLRIType type = 1;
- uint32 length = 2;
- LsProtocolID protocol_id = 3;
- uint64 identifier = 4;
// One of:
// - LsNodeNLRI
// - LsLinkNLRI
// - LsPrefixV4NLRI
// - LsPrefixV6NLRI
- google.protobuf.Any nlri = 5;
+ google.protobuf.Any nlri = 2;
+ uint32 length = 3;
+ LsProtocolID protocol_id = 4;
+ uint64 identifier = 5;
}
message MpReachNLRIAttribute {