libremesh / lime-packages

LibreMesh packages configuring OpenWrt for wireless mesh networking
https://libremesh.org/
GNU Affero General Public License v3.0
281 stars 96 forks source link

Links information module for shared state according to babeld #1056

Closed javierbrk closed 8 months ago

javierbrk commented 1 year ago

This module incorporates links information extracted from babel using ubus infrastructure. The module has been tested in two librerouters and the output of the shared-state-async get babel_links_info in my setup is

    "lrprimero": [
        {
            "dst_ip": "fe80::aa40:41ff:fe1f:73ab",
            "iface": "eth1-2_17",
            "src_ip": "fe80::aa40:41ff:fe1f:723b"
        },
        {
            "dst_ip": "fe80::c24a:ff:fefc:3abd",
            "iface": "eth1-2_17",
            "src_ip": "fe80::aa40:41ff:fe1f:723b"
        }
    ],
    "lrsegundo": [
        {
            "dst_ip": "fe80::aa40:41ff:fe1f:723b",
            "iface": "eth1-2_17",
            "src_ip": "fe80::aa40:41ff:fe1f:73ab"
        },
        {
            "dst_ip": "fe80::c24a:ff:fefc:3abd",
            "iface": "eth1-2_17",
            "src_ip": "fe80::aa40:41ff:fe1f:73ab"
        }
    ]
}
codecov-commenter commented 1 year ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 79.59%. Comparing base (4dc7f98) to head (f442b02).

:exclamation: Current head f442b02 differs from pull request most recent head d4175d5. Consider uploading reports for the commit d4175d5 to get more accurate results

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1056 +/- ## ========================================== + Coverage 79.56% 79.59% +0.03% ========================================== Files 53 53 Lines 4566 4568 +2 ========================================== + Hits 3633 3636 +3 + Misses 933 932 -1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

G10h4ck commented 9 months ago

should be ported to shared-state-async before merging