| bc986717 | 10-Aug-2025 |
Lexi Winter <ivy@FreeBSD.org> |
tests/sys/net: if_bridge_test does not require python
This was originally added for if_bridge_test:span which uses scapy, but that requirement is now annotated in the test itself.
Remove the requir
tests/sys/net: if_bridge_test does not require python
This was originally added for if_bridge_test:span which uses scapy, but that requirement is now annotated in the test itself.
Remove the requirement so the remaining bridge tests can run without Python installed.
show more ...
|
| c41469a8 | 05-Aug-2025 |
Lexi Winter <ivy@FreeBSD.org> |
ifconfig: Improve bridge vlan filtering syntax
The current syntax to add an interface to a filtering bridge requires repeating the interface name up to three times:
ifconfig bridge0 addm ix0 untag
ifconfig: Improve bridge vlan filtering syntax
The current syntax to add an interface to a filtering bridge requires repeating the interface name up to three times:
ifconfig bridge0 addm ix0 untagged ix0 10 tagged ix0 100-199
Since at least one of these options nearly always needs to be set, this results in excessively verbose configuration.
Extend "addm" to support optional arguments, and add two arguments, "untagged" and "tagged", which infer the interface name from the addm command. Now the interface only has to be given once:
ifconfig bridge0 addm ix0 untagged 10 tagged 100-199
To avoid confusion with the existing untagged and tagged commands, rename those to ifuntagged and iftagged.
In future, this syntax will make it possible to add an interface and set its vlan configuration atomically (once the API supports that), but switching to the new syntax now means we don't need to change it after 15.0.
Differential Revision: https://reviews.freebsd.org/D51707
show more ...
|