]> git.proxmox.com Git - mirror_frr.git/commit - ospf6d/ospf6_area.c
ospf6d: SPF consider all Router LSAs
authorChirag Shah <chirag@cumulusnetworks.com>
Mon, 13 Nov 2017 15:24:06 +0000 (15:24 +0000)
committerChirag Shah <chirag@cumulusnetworks.com>
Fri, 17 Nov 2017 18:01:04 +0000 (10:01 -0800)
commit26e1461672844ec1d0dd065714f740723349dd53
tree89fd1c6f21775e92f51727810824a546d4af344d
parent9507e69655babad87dad1a41b803672462350cd2
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>
ospf6d/ospf6_area.c
ospf6d/ospf6_intra.c
ospf6d/ospf6_spf.c
ospf6d/ospf6_spf.h