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