summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorSusant Sahani <susant@redhat.com>2014-11-15 08:47:16 +0530
committerTom Gundersen <teg@jklm.no>2014-12-04 11:13:32 +0100
commite1853b00ef7cb56cafd908327dd44b3ab48b402c (patch)
tree87b635162a3b23b09439f2d02ece5b8db3fc9ae9 /man
parent85a8eeee36b57c1ab382b0225fa9a87525bbeee9 (diff)
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 : <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 master br-test state disabled priority 32 cost 332
Diffstat (limited to 'man')
-rw-r--r--man/systemd.network.xml13
1 files changed, 13 insertions, 0 deletions
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
@@ -505,6 +505,19 @@
</refsect1>
<refsect1>
+ <title>[BridgePort] Section Options</title>
+ <para>The <literal>[BridgePort]</literal> section accepts the following keys.</para>
+ <variablelist class='network-directives'>
+ <varlistentry>
+ <term><varname>Cost=</varname></term>
+ <listitem>
+ <para>Each port in a bridge may have different speed. Cost is used to decide which link to use. Faster interfaces should have lower costs</para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsect1>
+
+ <refsect1>
<title>Example</title>
<example>
<title>/etc/systemd/network/50-static.network</title>