Skip to content
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

examples: pass basic l2 configuration #434

Merged
merged 2 commits into from
Jun 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file removed examples/networkd/README.md
Empty file.
10 changes: 0 additions & 10 deletions examples/networkd/port.network

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[NetDev]
Name=switchbr
Name=swbridge
Kind=bridge

[Bridge]
Expand Down
7 changes: 7 additions & 0 deletions examples/networkd/simple-l2-bridge/10-swbridge.network
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[Match]
Name=swbridge

[BridgeVLAN]
PVID=1
EgressUntagged=1
VLAN=1
5 changes: 5 additions & 0 deletions examples/networkd/simple-l2-bridge/20-port.network
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[Match]
Name=port*

[Network]
Bridge=swbridge
2 changes: 0 additions & 2 deletions examples/networkd/switchbr.network

This file was deleted.

Loading