• source navigation  • diff markup  • identifier search  • freetext search  • 

Sources/firewall4/tests/mocks/ubus/network.device~status.json

  1 {
  2         "eth0": {
  3                 "external": false,
  4                 "present": true,
  5                 "type": "Network device",
  6                 "up": true,
  7                 "carrier": true,
  8                 "auth_status": false,
  9                 "link-advertising": [
 10                         "10baseT-H",
 11                         "10baseT-F",
 12                         "100baseT-H",
 13                         "100baseT-F",
 14                         "1000baseT-F"
 15                 ],
 16                 "link-partner-advertising": [
 17                         "10baseT-H",
 18                         "10baseT-F",
 19                         "100baseT-H",
 20                         "100baseT-F",
 21                         "1000baseT-H",
 22                         "1000baseT-F"
 23                 ],
 24                 "link-supported": [
 25                         "10baseT-H",
 26                         "10baseT-F",
 27                         "100baseT-H",
 28                         "100baseT-F",
 29                         "1000baseT-F"
 30                 ],
 31                 "speed": "1000F",
 32                 "autoneg": true,
 33                 "hw-tc-offload": true,
 34                 "devtype": "dsa",
 35                 "mtu": 1500,
 36                 "mtu6": 1500,
 37                 "macaddr": "74:ac:b9:a1:84:46",
 38                 "txqueuelen": 1000,
 39                 "ipv6": false,
 40                 "ip6segmentrouting": false,
 41                 "promisc": false,
 42                 "rpfilter": 0,
 43                 "acceptlocal": false,
 44                 "igmpversion": 0,
 45                 "mldversion": 0,
 46                 "neigh4reachabletime": 30000,
 47                 "neigh6reachabletime": 30000,
 48                 "neigh4gcstaletime": 60,
 49                 "neigh6gcstaletime": 60,
 50                 "neigh4locktime": 100,
 51                 "dadtransmits": 1,
 52                 "multicast": true,
 53                 "sendredirects": true,
 54                 "drop_v4_unicast_in_l2_multicast": false,
 55                 "drop_v6_unicast_in_l2_multicast": false,
 56                 "drop_gratuitous_arp": false,
 57                 "drop_unsolicited_na": false,
 58                 "arp_accept": false,
 59                 "statistics": {
 60                         "collisions": 0,
 61                         "rx_frame_errors": 0,
 62                         "tx_compressed": 0,
 63                         "multicast": 0,
 64                         "rx_length_errors": 0,
 65                         "tx_dropped": 0,
 66                         "rx_bytes": 53206036390,
 67                         "rx_missed_errors": 0,
 68                         "tx_errors": 0,
 69                         "rx_compressed": 0,
 70                         "rx_over_errors": 0,
 71                         "tx_fifo_errors": 0,
 72                         "rx_crc_errors": 0,
 73                         "rx_packets": 115554141,
 74                         "tx_heartbeat_errors": 0,
 75                         "rx_dropped": 0,
 76                         "tx_aborted_errors": 0,
 77                         "tx_packets": 44534107,
 78                         "rx_errors": 0,
 79                         "tx_bytes": 41926154781,
 80                         "tx_window_errors": 0,
 81                         "rx_fifo_errors": 0,
 82                         "tx_carrier_errors": 0
 83                 }
 84         },
 85         "eth1": {
 86                 "external": false,
 87                 "present": true,
 88                 "type": "Network device",
 89                 "up": true,
 90                 "carrier": true,
 91                 "auth_status": false,
 92                 "link-advertising": [
 93                         "10baseT-H",
 94                         "10baseT-F",
 95                         "100baseT-H",
 96                         "100baseT-F",
 97                         "1000baseT-F"
 98                 ],
 99                 "link-partner-advertising": [
100                         "10baseT-H",
101                         "10baseT-F",
102                         "100baseT-H",
103                         "100baseT-F",
104                         "1000baseT-F"
105                 ],
106                 "link-supported": [
107                         "10baseT-H",
108                         "10baseT-F",
109                         "100baseT-H",
110                         "100baseT-F",
111                         "1000baseT-F"
112                 ],
113                 "speed": "1000F",
114                 "autoneg": true,
115                 "hw-tc-offload": true,
116                 "devtype": "dsa",
117                 "mtu": 1500,
118                 "mtu6": 1500,
119                 "macaddr": "74:ac:b9:a1:84:47",
120                 "txqueuelen": 1000,
121                 "ipv6": false,
122                 "ip6segmentrouting": false,
123                 "promisc": false,
124                 "rpfilter": 0,
125                 "acceptlocal": false,
126                 "igmpversion": 0,
127                 "mldversion": 0,
128                 "neigh4reachabletime": 30000,
129                 "neigh6reachabletime": 30000,
130                 "neigh4gcstaletime": 60,
131                 "neigh6gcstaletime": 60,
132                 "neigh4locktime": 100,
133                 "dadtransmits": 1,
134                 "multicast": true,
135                 "sendredirects": true,
136                 "drop_v4_unicast_in_l2_multicast": false,
137                 "drop_v6_unicast_in_l2_multicast": false,
138                 "drop_gratuitous_arp": false,
139                 "drop_unsolicited_na": false,
140                 "arp_accept": false,
141                 "statistics": {
142                         "collisions": 0,
143                         "rx_frame_errors": 0,
144                         "tx_compressed": 0,
145                         "multicast": 0,
146                         "rx_length_errors": 0,
147                         "tx_dropped": 0,
148                         "rx_bytes": 470925492,
149                         "rx_missed_errors": 0,
150                         "tx_errors": 0,
151                         "rx_compressed": 0,
152                         "rx_over_errors": 0,
153                         "tx_fifo_errors": 0,
154                         "rx_crc_errors": 0,
155                         "rx_packets": 4591620,
156                         "tx_heartbeat_errors": 0,
157                         "rx_dropped": 0,
158                         "tx_aborted_errors": 0,
159                         "tx_packets": 4210181,
160                         "rx_errors": 0,
161                         "tx_bytes": 7724980929,
162                         "tx_window_errors": 0,
163                         "rx_fifo_errors": 0,
164                         "tx_carrier_errors": 0
165                 }
166         },
167         "lo": {
168                 "external": false,
169                 "present": true,
170                 "type": "Network device",
171                 "up": true,
172                 "carrier": true,
173                 "auth_status": false,
174                 "hw-tc-offload": false,
175                 "devtype": "loopback",
176                 "mtu": 65536,
177                 "mtu6": 65536,
178                 "macaddr": "00:00:00:00:00:00",
179                 "txqueuelen": 1000,
180                 "ipv6": true,
181                 "ip6segmentrouting": false,
182                 "promisc": false,
183                 "rpfilter": 0,
184                 "acceptlocal": false,
185                 "igmpversion": 0,
186                 "mldversion": 0,
187                 "neigh4reachabletime": 30000,
188                 "neigh6reachabletime": 30000,
189                 "neigh4gcstaletime": 60,
190                 "neigh6gcstaletime": 60,
191                 "neigh4locktime": 100,
192                 "dadtransmits": 1,
193                 "multicast": false,
194                 "sendredirects": true,
195                 "drop_v4_unicast_in_l2_multicast": false,
196                 "drop_v6_unicast_in_l2_multicast": false,
197                 "drop_gratuitous_arp": false,
198                 "drop_unsolicited_na": false,
199                 "arp_accept": false,
200                 "statistics": {
201                         "collisions": 0,
202                         "rx_frame_errors": 0,
203                         "tx_compressed": 0,
204                         "multicast": 0,
205                         "rx_length_errors": 0,
206                         "tx_dropped": 0,
207                         "rx_bytes": 2993476,
208                         "rx_missed_errors": 0,
209                         "tx_errors": 0,
210                         "rx_compressed": 0,
211                         "rx_over_errors": 0,
212                         "tx_fifo_errors": 0,
213                         "rx_crc_errors": 0,
214                         "rx_packets": 34056,
215                         "tx_heartbeat_errors": 0,
216                         "rx_dropped": 0,
217                         "tx_aborted_errors": 0,
218                         "tx_packets": 34056,
219                         "rx_errors": 0,
220                         "tx_bytes": 2993476,
221                         "tx_window_errors": 0,
222                         "rx_fifo_errors": 0,
223                         "tx_carrier_errors": 0
224                 }
225         },
226         "br-lan": {
227                 "external": false,
228                 "present": true,
229                 "type": "bridge",
230                 "up": true,
231                 "carrier": true,
232                 "auth_status": false,
233                 "link-advertising": [
234 
235                 ],
236                 "link-partner-advertising": [
237 
238                 ],
239                 "link-supported": [
240 
241                 ],
242                 "speed": "1000F",
243                 "autoneg": false,
244                 "hw-tc-offload": false,
245                 "devtype": "bridge",
246                 "bridge-members": [
247                         "eth0"
248                 ],
249                 "bridge-vlans": [
250 
251                 ],
252                 "mtu": 1500,
253                 "mtu6": 1500,
254                 "macaddr": "74:ac:b9:a1:84:46",
255                 "txqueuelen": 1000,
256                 "ipv6": true,
257                 "ip6segmentrouting": false,
258                 "promisc": false,
259                 "rpfilter": 0,
260                 "acceptlocal": false,
261                 "igmpversion": 0,
262                 "mldversion": 0,
263                 "neigh4reachabletime": 30000,
264                 "neigh6reachabletime": 30000,
265                 "neigh4gcstaletime": 60,
266                 "neigh6gcstaletime": 60,
267                 "neigh4locktime": 100,
268                 "dadtransmits": 1,
269                 "multicast": true,
270                 "sendredirects": true,
271                 "drop_v4_unicast_in_l2_multicast": false,
272                 "drop_v6_unicast_in_l2_multicast": false,
273                 "drop_gratuitous_arp": false,
274                 "drop_unsolicited_na": false,
275                 "arp_accept": false,
276                 "statistics": {
277                         "collisions": 0,
278                         "rx_frame_errors": 0,
279                         "tx_compressed": 0,
280                         "multicast": 27625,
281                         "rx_length_errors": 0,
282                         "tx_dropped": 0,
283                         "rx_bytes": 9505679939,
284                         "rx_missed_errors": 0,
285                         "tx_errors": 0,
286                         "rx_compressed": 0,
287                         "rx_over_errors": 0,
288                         "tx_fifo_errors": 0,
289                         "rx_crc_errors": 0,
290                         "rx_packets": 13282955,
291                         "tx_heartbeat_errors": 0,
292                         "rx_dropped": 0,
293                         "tx_aborted_errors": 0,
294                         "tx_packets": 12647462,
295                         "rx_errors": 0,
296                         "tx_bytes": 12983448170,
297                         "tx_window_errors": 0,
298                         "rx_fifo_errors": 0,
299                         "tx_carrier_errors": 0
300                 }
301         }
302 }

This page was automatically generated by LXR 0.3.1.  •  OpenWrt