blob: 1fc0e4116c8292e3f73f5eca953e2f5001570a64 [file] [log] [blame]
akmhoque298385a2014-02-13 14:13:09 -06001#include<iostream>
2#include "nlsr_conf_param.hpp"
3
akmhoque1fd8c1e2014-02-19 19:41:49 -06004namespace nlsr
5{
akmhoqueb1710aa2014-02-19 17:13:36 -06006
akmhoque1fd8c1e2014-02-19 19:41:49 -06007 using namespace std;
akmhoque298385a2014-02-13 14:13:09 -06008
akmhoque1fd8c1e2014-02-19 19:41:49 -06009 ostream&
10 operator << (ostream &os, ConfParameter& cfp)
11 {
12 os <<"Router Name: "<< cfp.getRouterName()<<endl;
13 os <<"Site Name: "<< cfp.getSiteName()<<endl;
14 os <<"Network: "<< cfp.getNetwork()<<endl;
15 os <<"Router Prefix: "<< cfp.getRouterPrefix()<<endl;
16 os <<"ChronoSync sync Prifex: "<< cfp.getChronosyncSyncPrefix()<<endl;
17 os <<"Interest Retry number: "<< cfp.getInterestRetryNumber()<<endl;
18 os <<"Interest Resend second: "<< cfp.getInterestResendTime()<<endl;
19 os <<"Info Interest Interval: "<<cfp.getInfoInterestInterval()<<endl;
20 os <<"LSA refresh time: "<< cfp.getLsaRefreshTime()<<endl;
21 os <<"Max Faces Per Prefix: "<< cfp.getMaxFacesPerPrefix()<<endl;
22 os <<"Log Dir: "<< cfp.getLogDir()<<endl;
23 os <<"Detalied logging: "<< cfp.getDetailedLogging()<<endl;
24 os <<"Debugging: "<< cfp.getDebugging()<<endl;
25 os <<"Hyperbolic ROuting: "<< cfp.getIsHyperbolicCalc()<<endl;
26 os <<"Hyp R: "<< cfp.getCorR()<<endl;
27 os <<"Hyp theta: "<< cfp.getCorTheta()<<endl;
28 os <<"Tunnel Type: "<< cfp.getTunnelType()<<endl;
akmhoque1fd8c1e2014-02-19 19:41:49 -060029 return os;
30 }
akmhoqueb1710aa2014-02-19 17:13:36 -060031
32} //namespace nlsr