summaryrefslogtreecommitdiff
path: root/ospf6d/ospf6_spf.h
diff options
context:
space:
mode:
authorChirag Shah <chirag@cumulusnetworks.com>2017-11-13 15:24:06 +0000
committerChirag Shah <chirag@cumulusnetworks.com>2017-11-17 10:01:04 -0800
commit26e1461672844ec1d0dd065714f740723349dd53 (patch)
tree89fd1c6f21775e92f51727810824a546d4af344d /ospf6d/ospf6_spf.h
parent9507e69655babad87dad1a41b803672462350cd2 (diff)
ospf6d: SPF consider all Router LSAs
Based on RFC-5340, there could be multiple Router LSAs associated with Same Advertising Router. During SPF calculation ensure first Root Vertex accommodates all Link state IDs for its originated Router LSAs push them into priority queue. Similarly follow for other Vertexes, considering Router LSAs with multiple Link State IDs. Ticket: CM-18069 Testing Done: Topology: R1 === R2 -- R3 Validated with more than 100 Subinterfaces between R1 === R2 with broadcast links, Validated show ipv6 ospf6 spf tree containing all graph nodes. Validated ip -6 route at R3 and all intra prefix LSAs route installed with ospf6 as protocol. 2) Run R1 === R2 with Point-to-Point links. 3) Perform few other abr and ospf6 test cases of LSA ageout, route install and delete cases. Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
Diffstat (limited to 'ospf6d/ospf6_spf.h')
-rw-r--r--ospf6d/ospf6_spf.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ospf6d/ospf6_spf.h b/ospf6d/ospf6_spf.h
index 2246e2dfc7..dbb88d12ba 100644
--- a/ospf6d/ospf6_spf.h
+++ b/ospf6d/ospf6_spf.h
@@ -68,6 +68,7 @@ struct ospf6_vertex {
/* nexthops to this node */
struct list *nh_list;
+ uint32_t link_id;
};
#define OSPF6_VERTEX_TYPE_ROUTER 0x01