blob: 2bb337f16217094ba34d6e0c1472a632c886a9e9 [file] [log] [blame]
akmhoque53353462014-04-22 08:43:45 -05001#include <iostream>
2#include "conf-parameter.hpp"
3
4namespace nlsr {
5
6using namespace std;
7
8ostream&
9operator<<(ostream& os, ConfParameter& cfp)
10{
11 os << "Router Name: " << cfp.getRouterName() << endl;
12 os << "Site Name: " << cfp.getSiteName() << endl;
13 os << "Network: " << cfp.getNetwork() << endl;
14 os << "Router Prefix: " << cfp.getRouterPrefix() << endl;
15 os << "ChronoSync sync Prifex: " << cfp.getChronosyncSyncPrefix() << endl;
16 os << "Interest Retry number: " << cfp.getInterestRetryNumber() << endl;
17 os << "Interest Resend second: " << cfp.getInterestResendTime() << endl;
18 os << "Info Interest Interval: " << cfp.getInfoInterestInterval() << endl;
19 os << "LSA refresh time: " << cfp.getLsaRefreshTime() << endl;
20 os << "Max Faces Per Prefix: " << cfp.getMaxFacesPerPrefix() << endl;
21 os << "Log Dir: " << cfp.getLogDir() << endl;
22 os << "Detalied logging: " << cfp.getDetailedLogging() << endl;
23 os << "Debugging: " << cfp.getDebugging() << endl;
24 os << "Hyperbolic ROuting: " << cfp.getIsHyperbolicCalc() << endl;
25 os << "Hyp R: " << cfp.getCorR() << endl;
26 os << "Hyp theta: " << cfp.getCorTheta() << endl;
27 os << "Tunnel Type: " << cfp.getTunnelType() << endl;
28 return os;
29}
30
31} //namespace nlsr