gluon/package/gluon-mesh-batman-adv
lemoer 589818b369 gluon-mesh-batman-adv: add "routes" to respondd neighbours
This commit adds counters about the number of imported and selected
routes for each neighbour. The following stanza

    "routes": {
        "imported": 171,
        "selected": 120
    },

means, that 171 routes have been learned from this neighbour, but only 120
of them are selected. (For the other 51 routes, the node prefers other
neighbours that also provide routes to the same destination).

These fields are added to the gluon to identify route flaps. This should
make it easier to troubleshoot connectivity problems that only occur when
the route swaps to a weak link.

After the new field "routes" is added, the neighbours response looks like
this:

    {
      "wifi": [
      ],
      "batadv": {
        "72:4c:e2:db:6f:37": {
          "neighbours": {
            "88:e6:40:20:90:10": {
              "routes": {
                "imported": 171,
                "selected": 171
              },
              "best": true,
              "lastseen": 0.95599999999999996,
              "tq": 247
            }
          }
        }
      },
      "node_id": "525400123457"
    }
2022-08-07 01:42:27 +02:00
..
files run-build.sh, gluon_bat0.sh: add double quotes 2022-06-22 14:56:12 +02:00
luasrc/lib/gluon treewide: use interface roles as basis for network configuration 2022-02-22 18:52:15 +01:00
src gluon-mesh-batman-adv: add "routes" to respondd neighbours 2022-08-07 01:42:27 +02:00
check_site.lua gluon-mesh-batman-adv: remove gluon-mesh-batman-adv-14 2019-09-25 21:57:52 +02:00
Makefile Set PKG_VERSION in gluon.mk 2021-10-07 23:42:38 +02:00