akmhoque | 87347a3 | 2014-01-31 11:00:44 -0600 | [diff] [blame] | 1 | #include<iostream> |
akmhoque | 204e754 | 2014-01-31 16:08:25 -0600 | [diff] [blame] | 2 | #include "nlsr_conf_param.hpp" |
akmhoque | 87347a3 | 2014-01-31 11:00:44 -0600 | [diff] [blame] | 3 | |
| 4 | using namespace std; |
| 5 | |
| 6 | ostream& |
| 7 | operator << (ostream &os, ConfParameter& cfp){ |
akmhoque | a8cd6b9 | 2014-01-31 20:13:26 -0600 | [diff] [blame] | 8 | os <<"Router Name: "<< cfp.getRouterName()<<endl; |
| 9 | os <<"Site Name: "<< cfp.getSiteName()<<endl; |
| 10 | os <<"Network: "<< cfp.getNetwork()<<endl; |
| 11 | os <<"Router Prefix: "<< cfp.getRouterPrefix()<<endl; |
| 12 | os <<"ChronoSync sync Prifex: "<< cfp.getChronosyncSyncPrefix()<<endl; |
| 13 | os <<"Interest Retry number: "<< cfp.getInterestRetryNumber()<<endl; |
| 14 | os <<"Interest Resend second: "<< cfp.getInterestResendTime()<<endl; |
akmhoque | 87347a3 | 2014-01-31 11:00:44 -0600 | [diff] [blame] | 15 | os <<"Info Interest Interval: "<<cfp.getInfoInterestInterval()<<endl; |
akmhoque | a8cd6b9 | 2014-01-31 20:13:26 -0600 | [diff] [blame] | 16 | os <<"LSA refresh time: "<< cfp.getLsaRefreshTime()<<endl; |
| 17 | os <<"Max Faces Per Prefix: "<< cfp.getMaxFacesPerPrefix()<<endl; |
| 18 | os <<"Log Dir: "<< cfp.getLogDir()<<endl; |
| 19 | os <<"Detalied logging: "<< cfp.getDetailedLogging()<<endl; |
| 20 | os <<"Debugging: "<< cfp.getDebugging()<<endl; |
| 21 | os <<"Hyperbolic ROuting: "<< cfp.getIsHyperbolicCalc()<<endl; |
| 22 | os <<"Hyp R: "<< cfp.getCorR()<<endl; |
| 23 | os <<"Hyp theta: "<< cfp.getCorTheta()<<endl; |
akmhoque | 87347a3 | 2014-01-31 11:00:44 -0600 | [diff] [blame] | 24 | os <<"Tunnel Type: "<< cfp.getTunnelType()<<endl; |
| 25 | |
| 26 | return os; |
| 27 | } |