all: remove build_host and build_date to enable reproducible building
[olsrd.git] / lib / info.java / org.olsr.v1.info.api / doc / examples / startup.json
1 {
2   "pid": 12345,
3   "systemTime": 1448289142,
4   "timeSinceStartup": 1785701,
5   "configurationChecksum": "2e2c14b6e3562ddfd73111847d7a9d8277993ff7",
6   "uuid": "d13d7ee3-fcca-4f81-9bf5-bb5848b5d96d",
7   "version": {
8     "version": "olsr.org - pre-0.9.1-git_4e58755-hash_f013046cc98a88d68312f1e1566e865e",
9     "date": "2015-11-23 15:01:02",
10     "host": "buildhost",
11     "gitDescriptor": "v0.9.0.3-157-g4e58755",
12     "gitSha": "4e58755a1d3c75a656851873c7eab23c304049c6",
13     "releaseVersion": "pre-0.9.1",
14     "sourceHash": "f013046cc98a88d68312f1e1566e865e"
15   },
16   "plugins": [
17     {
18       "plugin": "olsrd_pud.so.3.0.0",
19       "parameters": {
20         "useloopback": "true",
21         "hysteresiscounttostationary": "300",
22         "uplinkupdateintervalmoving": "10",
23         "uplinkupdateintervalstationary": "45",
24         "updateintervalmoving": "5",
25         "updateintervalstationary": "15",
26         "movingspeedthreshold": "4",
27         "movingdistancethreshold": "30",
28         "dopmultiplier": "1.3",
29         "uplinkaddr": "10.20.0.1",
30         "txmcport": "2240",
31         "txnonolsrif": "br0",
32         "rxnonolsrif": "br0",
33         "nodeid": "3,AHR-175-220"
34       }
35     },
36     {
37       "plugin": "olsrd_dyn_gw.so.0.5",
38       "parameters": {
39         "hna": "0.0.0.0 0.0.0.0"
40       }
41     },
42     {
43       "plugin": "olsrd_watchdog.so.0.1",
44       "parameters": {
45         "interval": "5",
46         "file": "/var/run/olsrd.watchdog"
47       }
48     },
49     {
50       "plugin": "olsrd_p2pd.so.0.1.0",
51       "parameters": {
52         "udpdestport": "239.194.2.2 5000",
53         "udpdestport": "239.194.2.1 5000",
54         "usettldecrement": "1",
55         "p2pdttl": "5",
56         "nonolsrif": "br0"
57       }
58     },
59     {
60       "plugin": "olsrd_jsoninfo.so.1.1",
61       "parameters": {
62         "port": "2007"
63       }
64     },
65     {
66       "plugin": "olsrd_txtinfo.so.1.1",
67       "parameters": {
68         "httpheaders": "false",
69         "accept": "127.0.0.1"
70       }
71     },
72     {
73       "plugin": "olsrd_httpinfo.so.0.1",
74       "parameters": {
75         "net": "0.0.0.0 0.0.0.0",
76         "port": "8080"
77       }
78     }
79   ],
80   "config": {
81     "configurationChecksum": "2e2c14b6e3562ddfd73111847d7a9d8277993ff7",
82     "cli": [
83       "/usr/bin/olsrd",
84       "-f",
85       "/etc/olsrd/olsrd.conf"
86     ],
87     "configurationFile": "/etc/olsrd/olsrd.conf",
88     "olsrPort": 698,
89     "debugLevel": 0,
90     "noFork": false,
91     "pidFile": "",
92     "hostEmulation": false,
93     "ipVersion": 4,
94     "allowNoInt": true,
95     "tosValue": 192,
96     "rtProto": 3,
97     "rtTable": {
98       "main": 254,
99       "default": 223,
100       "tunnel": 224,
101       "priority": -1,
102       "tunnelPriority": 32786,
103       "defaultOlsrPriority": 32776,
104       "defaultPriority": 32796
105     },
106     "willingness": {
107       "willingness": 3,
108       "auto": false,
109       "updateInterval": 20.000000
110     },
111     "fib": {
112       "metric": "flat",
113       "metricDefault": "approx"
114     },
115     "hysteresis": {
116       "enabled": false,
117       "scaling": 0.500000,
118       "thresholdLow": 0.300000,
119       "thresholdHigh": 0.800000
120     },
121     "hna": [
122       {
123         "gateway": "10.31.175.220",
124         "destination": "0.0.0.0",
125         "genmask": 0,
126         "validityTime": 0
127       },
128       {
129         "gateway": "10.31.175.220",
130         "destination": "10.175.220.0",
131         "genmask": 24,
132         "validityTime": 0
133       }
134     ],
135     "pollrate": 0.050000,
136     "nicChgsPollInt": 2.500000,
137     "clearScreen": true,
138     "tcRedundancy": 2,
139     "mprCoverage": 1,
140     "linkQuality": {
141       "level": 2,
142       "fishEye": false,
143       "aging": 0.050000,
144       "algorithm": "etx_ffeth"
145     },
146     "minTCVTime": 0.000000,
147     "setIpForward": true,
148     "lockFile": "/var/run/olsrd.lock",
149     "useNiit": false,
150     "smartGateway": {
151       "enabled": true,
152       "alwaysRemoveServerTunnel": true,
153       "allowNAT": true,
154       "uplinkNAT": true,
155       "useCount": 8,
156       "takeDownPercentage": 1,
157       "instanceId": "ahr",
158       "policyRoutingScript": "/usr/sbin/sgw_policy_routing_setup.sh",
159       "egress": {
160         "interfaces": [
161           "eth1",
162           "eth2",
163           "usb0",
164           "wwan0",
165           "ppp0"
166         ],
167         "interfacesCount": 5,
168         "file": "/var/run/olsrd-sgw-egress.conf",
169         "filePeriod": 1000
170       },
171       "statusFile": "/var/run/olsrd-sgw-status",
172       "tablesOffset": 90,
173       "rulesOffset": 80,
174       "period": 1000,
175       "stableCount": 1,
176       "threshold": 90,
177       "costsCalculation": {
178         "exitLinkUp": 1,
179         "exitLinkDown": 1,
180         "etx": 1,
181         "dividerEtx": 1024
182       },
183       "maxCostMaxEtx": 2560,
184       "uplink": "both",
185       "bandwidth": {
186         "uplinkKbps": 100,
187         "downlinkKbps": 100
188       },
189       "prefix": {
190         "prefix": "0.0.0.0",
191         "length": 0
192       }
193     },
194     "mainIp": "10.31.175.220",
195     "unicastSourceIpAddress": "10.31.175.220",
196     "srcIpRoutes": false,
197     "maxPrefixLength": 32,
198     "ipSize": 4,
199     "delgw": false,
200     "maxSendMessageJitter": 2.000000,
201     "exitValue": 0,
202     "maxTcValidTime": 5.000000,
203     "niit4to6InterfaceIndex": 0,
204     "niit6to4InterfaceIndex": 0,
205     "hasIpv4Gateway": true,
206     "hasIpv6Gateway": false,
207     "ioctlSocket": 3,
208     "routeNetlinkSocket": 4,
209     "routeMonitorSocket": 5,
210     "linkQualityNatThreshold": 1.000000,
211     "brokenLinkCost": 4194304,
212     "brokenRouteCost": 4294967295,
213     "ipcConnectMaxConnections": 0,
214     "ipcConnectAllowed": [
215     ],
216     "interfaceDefaults": {
217       "ipv4Broadcast": "0.0.0.0",
218       "ipv6Multicast": "255.2.0.0",
219       "ipv4Source": "0.0.0.0",
220       "ipv6Source": "0.0.0.0",
221       "ipv6SourcePrefixLength": 0,
222       "mode": "mesh",
223       "weightValue": 0,
224       "weightFixed": false,
225       "hello": {
226         "emissionInterval": 2.000000,
227         "validityTime": 20.000000
228       },
229       "tc": {
230         "emissionInterval": 5.000000,
231         "validityTime": 30.000000
232       },
233       "mid": {
234         "emissionInterval": 5.000000,
235         "validityTime": 50.000000
236       },
237       "hna": {
238         "emissionInterval": 5.000000,
239         "validityTime": 15.000000
240       },
241       "linkQualityMultipliers": [
242       ],
243       "linkQualityMultipliersCount": 0,
244       "autoDetectChanges": true
245     },
246     "os": "GNU/Linux",
247     "startTime": 1458307640
248   }
249 }