[feature] Add support for BATMAN-adv and 802.11s mesh interfaces in O…#369
Open
OliverKruecken wants to merge 1 commit intoopenwisp:masterfrom
Open
[feature] Add support for BATMAN-adv and 802.11s mesh interfaces in O…#369OliverKruecken wants to merge 1 commit intoopenwisp:masterfrom
OliverKruecken wants to merge 1 commit intoopenwisp:masterfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Checklist
Reference to Existing Issue
Closes #368
Description
This PR adds comprehensive support for BATMAN-adv (Better Approach To Mobile Ad-hoc Networking) mesh networking protocol and 802.11s wireless mesh interfaces to the OpenWrt backend.
Changes
New Interface Types
Implements three new interface types for the OpenWrt backend:
batadv: Main BATMAN-adv virtual mesh interfacebatadv_hardif: Physical/hard interfaces for mesh participationmesh: Convenience alias for 802.11s wireless mesh interfaces (equivalent tobatadv_hardif)Schema Extensions
mesh_fwding,mesh_rssi_threshold)Converter Implementation
Interfacesconverter_intermediate_batadv,_intermediate_batadv_hardif,_intermediate_mesh_netjson_batadv,_netjson_batadv_hardif,_netjson_meshWireguardPeersconverter to properly filter blocks by typeDocumentation
docs/source/backends/openwrt.rst(197 lines)Files Changed
docs/source/backends/openwrt.rst(+197 lines)netjsonconfig/backends/openwrt/converters/interfaces.py(+58 lines)netjsonconfig/backends/openwrt/converters/wireguard_peers.py(+7 lines)netjsonconfig/backends/openwrt/schema.py(+116 lines)netjsonconfig/schema.py(+46 lines)Total: 424 insertions, 1 deletion
Testing
Backward Compatibility