From d94facdcaa8053768a2d190ee8dd6ff5114f8b33 Mon Sep 17 00:00:00 2001
From: Major Hayden <major@mhtx.net>
Date: Thu, 20 Aug 2015 22:14:49 -0500
Subject: [PATCH] Adding bonding examples for systemd-networkd

This commit provides some basic bonding configuration examples for .netdev and .network files.
---
 man/systemd.netdev.xml  | 14 ++++++++++++++
 man/systemd.network.xml | 12 ++++++++++++
 2 files changed, 26 insertions(+)

diff --git a/man/systemd.netdev.xml b/man/systemd.netdev.xml
index a78ceb12529..2680627a781 100644
--- a/man/systemd.netdev.xml
+++ b/man/systemd.netdev.xml
@@ -985,6 +985,20 @@ Kind=veth
 Name=veth-peer</programlisting>
     </example>
 
+    <example>
+      <title>/etc/systemd/network/bond.netdev</title>
+      <programlisting>[NetDev]
+Name=bond1
+Kind=bond
+
+[Bond]
+Mode=802.3ad
+TransmitHashPolicy=layer3+4
+MIIMonitorSec=1s
+LACPTransmitRate=fast
+</programlisting>
+    </example>
+
     <example>
       <title>/etc/systemd/network/dummy.netdev</title>
       <programlisting>[NetDev]
diff --git a/man/systemd.network.xml b/man/systemd.network.xml
index e44491cc2e3..e8a164d22d9 100644
--- a/man/systemd.network.xml
+++ b/man/systemd.network.xml
@@ -828,6 +828,18 @@ Name=em1
 [Network]
 Tunnel=vti-tun</programlisting>
     </example>
+
+    <example>
+      <title>/etc/systemd/network/bond.network</title>
+
+      <programlisting>[Match]
+Name=bond1
+
+[Network]
+DHCP=yes
+</programlisting>
+    </example>
+
   </refsect1>
 
   <refsect1>