diff options
author | Chirag Shah <chirag@cumulusnetworks.com> | 2018-03-02 23:20:26 +0100 |
---|---|---|
committer | Chirag Shah <chirag@cumulusnetworks.com> | 2018-03-08 23:29:21 +0100 |
commit | 690df17787c759d36cf57ba1070c961ac87b4b1a (patch) | |
tree | 20fa520099421748e3d2a477531e2e1dfb8179bc /ospf6d/ospf6_flood.h | |
parent | Merge pull request #1843 from chiragshah6/ospf_vrf_dev (diff) | |
download | frr-690df17787c759d36cf57ba1070c961ac87b4b1a.tar.xz frr-690df17787c759d36cf57ba1070c961ac87b4b1a.zip |
ospf6d: Intra-prefix LSA update after frr restart
Initially INP LSA is originated, when connected
interface comes up. As neighbor is not up, LSA is
not transmitted but stored in DB.
As NSM transition to FULL, INP is scheduled but
ospf6_flood() would not originate the LSA as
current DB and new INP LSA same so it discards
the new LSA.
When Neighor becomes FULL, originate INP via
flushing current DB copy and generate new.
This is introduced as PR 1738 introduce,
premature aging of LSAs in nbr table as R1
going down. upon neigbor coming up, INP was
not updated to new age.
Ticket:CM-19926,CM-19945
Testing Done:
Topology R3 --- R1 -- R2, R1 have INP LSA.
After frr restart R2 and R3 re learnt R1's
INP LSA as new neighbor(s) come up.
Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
Diffstat (limited to 'ospf6d/ospf6_flood.h')
-rw-r--r-- | ospf6d/ospf6_flood.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ospf6d/ospf6_flood.h b/ospf6d/ospf6_flood.h index f5d33e284..6931024ff 100644 --- a/ospf6d/ospf6_flood.h +++ b/ospf6d/ospf6_flood.h @@ -41,6 +41,9 @@ extern void ospf6_lsa_originate_interface(struct ospf6_lsa *lsa, struct ospf6_interface *oi); extern void ospf6_lsa_purge(struct ospf6_lsa *lsa); +extern void ospf6_lsa_purge_multi_ls_id(struct ospf6_area *oa, + struct ospf6_lsa *lsa); + /* access method to retrans_count */ extern void ospf6_increment_retrans_count(struct ospf6_lsa *lsa); extern void ospf6_decrement_retrans_count(struct ospf6_lsa *lsa); |