fix(builtin): bring kernel bridge UP after creation

brctl create leaves the bridge administratively DOWN. Add link set up
so the bridge actually forwards frames between enslaved ports.

Also record Docker iptables FORWARD DROP pitfall in project memory.
This commit is contained in:
YueGuobin committed 2026-07-18 01:11:25 +08:00
1 parent fd4ac4460d
commit aabbee3a04
4 files changed
+42

No files matched your search

@@ -85,6 +85,7 @@ class TestEthernetSwitchNodesRoutes:
br = node._bridge_name
node._ubridge_send.assert_has_calls([
call(f'brctl create "{br}"'),
call(f'link set "{br}" up'),
call(f'brctl vlanfiltering "{br}" on'),
])