conf: Make event intervals configurable
User can specify the intervals for the first Hello Interest,
AdjLsa building, and routing calculation in the conf file.
refs: #2071
Change-Id: Ic8eb29d433069086955178bc42b5f8fc8f4149d3
diff --git a/src/conf-parameter.cpp b/src/conf-parameter.cpp
index f45fea7..f2b8bd2 100644
--- a/src/conf-parameter.cpp
+++ b/src/conf-parameter.cpp
@@ -34,7 +34,7 @@
_LOG_DEBUG("Site Name: " << m_siteName);
_LOG_DEBUG("Network: " << m_network);
_LOG_DEBUG("Router Prefix: " << m_routerPrefix);
- _LOG_DEBUG("ChronoSync sync Prifex: " << m_chronosyncPrefix);
+ _LOG_DEBUG("ChronoSync sync Prefix: " << m_chronosyncPrefix);
_LOG_DEBUG("ChronoSync LSA prefix: " << m_lsaPrefix);
_LOG_DEBUG("Hello Interest retry number: " << m_interestRetryNumber);
_LOG_DEBUG("Hello Interest resend second: " << m_interestResendTime);
@@ -42,11 +42,16 @@
_LOG_DEBUG("LSA refresh time: " << m_lsaRefreshTime);
_LOG_DEBUG("LSA Interest lifetime: " << getLsaInterestLifetime());
_LOG_DEBUG("Max Faces Per Prefix: " << m_maxFacesPerPrefix);
- _LOG_DEBUG("Hyperbolic ROuting: " << m_hyperbolicState);
+ _LOG_DEBUG("Hyperbolic Routing: " << m_hyperbolicState);
_LOG_DEBUG("Hyp R: " << m_corR);
_LOG_DEBUG("Hyp theta: " << m_corTheta);
_LOG_DEBUG("Log Directory: " << m_logDir);
_LOG_DEBUG("Seq Directory: " << m_seqFileDir);
+
+ // Event Intervals
+ _LOG_DEBUG("Adjacency LSA build interval: " << m_adjLsaBuildInterval);
+ _LOG_DEBUG("First Hello Interest interval: " << m_firstHelloInterval);
+ _LOG_DEBUG("Routing calculation interval: " << m_routingCalcInterval);
}
} // namespace nlsr