aboutsummaryrefslogtreecommitdiffstats
path: root/etc/os-net-config/samples/team.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'etc/os-net-config/samples/team.yaml')
-rw-r--r--etc/os-net-config/samples/team.yaml18
1 files changed, 18 insertions, 0 deletions
diff --git a/etc/os-net-config/samples/team.yaml b/etc/os-net-config/samples/team.yaml
new file mode 100644
index 0000000..3770de0
--- /dev/null
+++ b/etc/os-net-config/samples/team.yaml
@@ -0,0 +1,18 @@
+# Config for bonding with teamd. Bonding options are provided as a JSON
+# string. The following runners are available in teamd: broadcast,
+# roundrobin, activebackup, loadbalance, and lacp.
+# Please see the teamd.conf(5) man page for more information.
+network_config:
+ -
+ type: team
+ name: team1
+ use_dhcp: true
+ bonding_options: '{"runner": {"name": "activebackup"}}'
+ members:
+ -
+ type: interface
+ name: em1
+ primary: true
+ -
+ type: interface
+ name: em2