Project

General

Profile

Handles synchronization logic of NLSR LSDB updates » History » Revision 2

Revision 1 (A K M Mahmudul Hoque, 04/17/2014 06:14 AM) → Revision 2/4 (A K M Mahmudul Hoque, 04/17/2014 06:15 AM)

Handles synchronization logic of NLSR LSDB updates 
 ================================================== 

 ### 1. Syncing LSDB 

 - NLSR's Syncing Logic Handler (SLH) handles syncing logic of LSDB 
 - SLH publishes updates on name \<router-prefix\> 
 - SLH pushes sequence number to ChronoSync instead of letting ChronoSync generating it for NLSR 
 - Sequence number is composed from the version number of Adjacency LSA, Prefix LSA and Hyperbolic LSA 
 - When SLH receives updates notification it decomposes the sequence number and retrieves version for LSAs 
 - Checks LSAs version with LSDB 
 - If SLH finds newer version of LSAs, it communicates with InterestManager to send interest for LSAs 

 - SLH also stores this sequence number in local store and retrieve the last sequence number used when boot up 


 ### 2. Syncing Certificates 
 - SLH publishes updates on name \<certificate-name\> 
 - Sequence number is pushed from SLH 
 - Upon updates notification reception, checks with certificate store 
 - If newer version of certificate found, communicates with InterestManager to send interest 

 - Stores Certificate sequences like LSDB sequences and retrieves when boot up