From e1853b00ef7cb56cafd908327dd44b3ab48b402c Mon Sep 17 00:00:00 2001 From: Susant Sahani Date: Sat, 15 Nov 2014 08:47:16 +0530 Subject: networkd: Add bridge port path cost 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 : mtu 1500 master br-test state disabled priority 32 cost 332 --- man/systemd.network.xml | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'man') diff --git a/man/systemd.network.xml b/man/systemd.network.xml index 4cc13b2afc..c9c946c00a 100644 --- a/man/systemd.network.xml +++ b/man/systemd.network.xml @@ -504,6 +504,19 @@ + + [BridgePort] Section Options + The [BridgePort] section accepts the following keys. + + + Cost= + + Each port in a bridge may have different speed. Cost is used to decide which link to use. Faster interfaces should have lower costs + + + + + Example -- cgit v1.2.3-54-g00ecf