This a bit identical to the rewrite of VRRP.
We have a top level bridge node and then each individual interface has an additional bridge section. So the configuration is split among multiple nodes.
bridge br0 {
address 192.0.2.254/24
stp true
}
ethernet eth0 {
bridge-group {
bridge br0
cost 10
priority 20
}
ethernet eth1 {
bridge-group {
bridge br0
cost 10
priority 20
}
}I propose an alternative CLI style:
bridge br0 {
address 192.0.2.254/24
stp true
interface eth0 {
cost 10
priority 20
}
interface eth1 {
cost 10
priority 20
}
}or
bridge br0 {
address 192.0.2.254/24
stp true
member eth0 {
cost 10
priority 20
}
member eth1 {
cost 10
priority 20
}
}TODO:
- replace boolean node by valueless node set interfaces bridge br0 stp true|false -> set interfaces bridge br0 stp to enable STP
- replace boolean node by valueless node set interfaces bridge br0 igmp-snooping querier enable|disable -> set interfaces bridge br0 igmp-snooping querier to enable IGMP querier
- update documentation