summaryrefslogtreecommitdiffhomepage
path: root/api/attribute.proto
diff options
context:
space:
mode:
Diffstat (limited to 'api/attribute.proto')
-rw-r--r--api/attribute.proto17
1 files changed, 15 insertions, 2 deletions
diff --git a/api/attribute.proto b/api/attribute.proto
index acbffdf0..ef8249bd 100644
--- a/api/attribute.proto
+++ b/api/attribute.proto
@@ -309,16 +309,29 @@ enum LsNLRIType {
LS_NLRI_PREFIX_V6 = 4;
}
+enum LsProtocolID {
+ LS_PROTOCOL_UNKNOWN = 0;
+ LS_PROTOCOL_ISIS_L1 = 1;
+ LS_PROTOCOL_ISIS_L2 = 2;
+ LS_PROTOCOL_OSPF_V2 = 3;
+ LS_PROTOCOL_DIRECT = 4;
+ LS_PROTOCOL_STATIC = 5;
+ LS_PROTOCOL_OSPF_V3 = 6;
+}
+
// LsAddrPrefix represents the NLRI for:
// - 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 = 2;
+ google.protobuf.Any nlri = 5;
}
message MpReachNLRIAttribute {
@@ -651,4 +664,4 @@ message PrefixSID {
// - SRv6L3ServiceTLV Type 5
// - SRv6L2ServiceTLV Type 6 (not yet implemented)
repeated google.protobuf.Any tlvs = 1;
-} \ No newline at end of file
+}