blob: 84f0f740e4208b0061b99889c74464925c493f15 [file] [log] [blame]
akmhoque298385a2014-02-13 14:13:09 -06001#include<iostream>
2#include "nlsr_conf_param.hpp"
akmhoque05d5fcf2014-04-15 14:58:45 -05003#include "utility/nlsr_logger.hpp"
4#define THIS_FILE "nlsr_conf_param.cpp"
akmhoque298385a2014-02-13 14:13:09 -06005
akmhoque1fd8c1e2014-02-19 19:41:49 -06006namespace nlsr
7{
akmhoqueb1710aa2014-02-19 17:13:36 -06008
akmhoque5a44dd42014-03-12 18:11:32 -05009 using namespace std;
akmhoque298385a2014-02-13 14:13:09 -060010
akmhoque5a44dd42014-03-12 18:11:32 -050011 ostream&
akmhoque05d5fcf2014-04-15 14:58:45 -050012 operator << (ostream& os, ConfParameter& cfp)
akmhoque5a44dd42014-03-12 18:11:32 -050013 {
14 os <<"Router Name: "<< cfp.getRouterName()<<endl;
15 os <<"Site Name: "<< cfp.getSiteName()<<endl;
16 os <<"Network: "<< cfp.getNetwork()<<endl;
17 os <<"Router Prefix: "<< cfp.getRouterPrefix()<<endl;
18 os <<"ChronoSync sync Prifex: "<< cfp.getChronosyncSyncPrefix()<<endl;
19 os <<"Interest Retry number: "<< cfp.getInterestRetryNumber()<<endl;
20 os <<"Interest Resend second: "<< cfp.getInterestResendTime()<<endl;
21 os <<"Info Interest Interval: "<<cfp.getInfoInterestInterval()<<endl;
22 os <<"LSA refresh time: "<< cfp.getLsaRefreshTime()<<endl;
23 os <<"Max Faces Per Prefix: "<< cfp.getMaxFacesPerPrefix()<<endl;
24 os <<"Log Dir: "<< cfp.getLogDir()<<endl;
25 os <<"Detalied logging: "<< cfp.getDetailedLogging()<<endl;
26 os <<"Debugging: "<< cfp.getDebugging()<<endl;
27 os <<"Hyperbolic ROuting: "<< cfp.getIsHyperbolicCalc()<<endl;
28 os <<"Hyp R: "<< cfp.getCorR()<<endl;
29 os <<"Hyp theta: "<< cfp.getCorTheta()<<endl;
30 os <<"Tunnel Type: "<< cfp.getTunnelType()<<endl;
31 return os;
32 }
akmhoqueb1710aa2014-02-19 17:13:36 -060033
34} //namespace nlsr