blob: fad9f107acb441de42b2f93699222f51ae3264bd [file] [log] [blame]
akmhoque87347a32014-01-31 11:00:44 -06001#include<iostream>
akmhoque204e7542014-01-31 16:08:25 -06002#include "nlsr_conf_param.hpp"
akmhoque87347a32014-01-31 11:00:44 -06003
4using namespace std;
5
6ostream&
7operator << (ostream &os, ConfParameter& cfp){
8 os <<"Router Name: "<< cfp.getRouterName()<<endl;
9 os <<"Site Name: "<< cfp.getSiteName()<<endl;
10 os <<"Network: "<< cfp.getNetwork()<<endl;
11
12 os <<"Router Prefix: "<< cfp.getRouterPrefix()<<endl;
13
14 os <<"ChronoSync sync Prifex: "<< cfp.getChronosyncSyncPrefix()<<endl;
15
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
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
26 os <<"Hyperbolic ROuting: "<< cfp.getIsHyperbolicCalc()<<endl;
27 os <<"Hyp R: "<< cfp.getCorR()<<endl;
28 os <<"Hyp theta: "<< cfp.getCorTheta()<<endl;
29
30 os <<"Tunnel Type: "<< cfp.getTunnelType()<<endl;
31
32 return os;
33}