blob: 4f879e30f3be1dbf6e324322143de58386ae15b7 [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
akmhoque5a44dd42014-03-12 18:11:32 -05007 using namespace std;
akmhoque298385a2014-02-13 14:13:09 -06008
akmhoque5a44dd42014-03-12 18:11:32 -05009 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;
29 return os;
30 }
akmhoqueb1710aa2014-02-19 17:13:36 -060031
32} //namespace nlsr