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