Support for libremesh wifi simulation#212
Open
francoriba wants to merge 5 commits intoaparcar:mainfrom
Open
Conversation
Add QEMU x86-64 target configuration for LibreMesh testing with virtualized WiFi (vwifi/mac80211_hwsim). This enables testing LibreMesh features in a simulated mesh network environment. Features: - hwsim and libremesh feature flags for test filtering - Dual network interface (WAN + LAN) setup - Uses QEMUNetworkStrategy for network management
Add new Makefile target 'x86-64-libremesh' for running LibreMesh tests in QEMU x86-64 with vwifi support for mesh simulation. Usage: make tests/x86-64-libremesh FIRMWARE=/path/to/libremesh.img.gz
Add upload_vwifi fixture and helper functions for testing LibreMesh in a virtualized WiFi mesh network using vwifi and mac80211_hwsim. New features: - _host_ipv4_from_hostname_I(): Robust IPv4 detection for vwifi-client - upload_vwifi fixture: Uploads vwifi-client to VM, configures mac80211_hwsim, connects to host's vwifi-server, and waits for mesh interface establishment Prerequisites: - vwifi-server running on the host - vwifi-client binary in vwifi/ directory
Add test_bat_links_info test for verifying LibreMesh shared-state-async
bat_links_info functionality in a virtualized mesh network.
The test verifies that:
- shared-state-async can publish and sync bat_links_info
- All expected mesh nodes are visible in the shared state
- Links between the test node and other nodes are recorded
Requires @pytest.mark.lg_feature('libremesh') for filtering.
Signed-off-by: Franco <franco.riba@mi.unc.edu.ar>
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.
Sending to upstream last VGDSpehar's contributions for libremesh done in https://github.com/VGDSpehar/openwrt-tests-libremesh/tree/libremesh-wifi-simulation