chiark / gitweb /
networkd: Add bridge port path cost
authorSusant Sahani <susant@redhat.com>
Sat, 15 Nov 2014 03:17:16 +0000 (08:47 +0530)
committerTom Gundersen <teg@jklm.no>
Thu, 4 Dec 2014 10:13:32 +0000 (11:13 +0100)
This patch add support to specify path cost of the
bridge port to be configured via conf file.

Exampe: conf

file: br.netdev

[NetDev]
Name=br-test
Kind=bridge

file: br.network
[Match]
Name=em1

[Network]
Bridge=br-test

[BridgePort]
Cost=332

 bridge link
2: em1 state UP : <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 master
br-test state disabled priority 32 cost 332


No differences found