-
-
Notifications
You must be signed in to change notification settings - Fork 113
Batman-adv enable meshing over ethernet replaces #703 #724 #726
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
rework Ilario patch for testing
|
Great!! Thanks!! lime-packages/packages/lime-proto-batadv/tests/test_batadv.lua Lines 27 to 28 in 8e4a0b5
|
|
I have tested with librerouterOS v1.2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't have at the moment a network to test it. Code looks good. Yes the tests should be updated, and yes in this case the current test don't test the network facility, only that the code does what it says and that we don't introduce regressions while we do refactorings.
packages/lime-proto-batadv/files/usr/lib/lua/lime/proto/batadv.lua
Outdated
Show resolved
Hide resolved
Thanks San for suggestion
Thanks Ilario for suggestion
|
I have updated the tests, how can i run them? |
Codecov Report
@@ Coverage Diff @@
## master #726 +/- ##
==========================================
- Coverage 73.34% 73.33% -0.02%
==========================================
Files 32 32
Lines 2506 2505 -1
==========================================
- Hits 1838 1837 -1
Misses 668 668
Continue to review full report at Codecov.
|
|
Great! |
|
Thanks! Unit tests runs fine too, can we merge this? |
spiccinini
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great! Can you please update the PR description and maybe also the title with the purpose of this PR? This enables batman on LAN, right?
|
Thanks gio! |
ilario
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just tested on OpenWrt 19.07 and it looks very good to me :D
|
Thanks for testing and review! |
This PR re-enable batman-adv meshing over ethernet, this solve bla2 loops when nodes sees each other both via ethernet and wifi, the log flooding is avoided changing the mac-address of the vlan, this trick didn't worked in the past as the unicast packets never arrived to the vlan interface as they were probably sucked in by the bridge on top of the plain ethernet interface.
I have been testing this for a few days in a real network with 9 devices distributed across 3 houses with plenty of nodes which see each other both over cable and over WiFi, no loops observed and no log flooding either. Finally!