aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorDan Sneddon <dsneddon@redhat.com>2015-08-28 00:22:27 -0700
committerDan Sneddon <dsneddon@redhat.com>2015-10-05 15:40:12 -0700
commit62bc734ad540cde0cf47b863db686b328d575d33 (patch)
tree1c7ef8896c7b58c20cbdfc77d5ccd98d968630be /etc
parent2497f596be89f3f6cfb1431fba68a0a599879e40 (diff)
Add support for Linux Bonding to os-net-config ifcfg
This change adds support for Linux Bonding to the impl_ifcfg in os-net-config. This change adds support for configuring Linux Bonds using the Bonding module rather than Open vSwitch. Most of the options for Linux Bonds are the same as OVS, with the exception of bonding_options instead of ovs_options. Change-Id: If8c6de1554234277843de9fac58536dd5b0a941b
Diffstat (limited to 'etc')
-rw-r--r--etc/os-net-config/samples/linux_bond.yaml13
1 files changed, 13 insertions, 0 deletions
diff --git a/etc/os-net-config/samples/linux_bond.yaml b/etc/os-net-config/samples/linux_bond.yaml
new file mode 100644
index 0000000..566c747
--- /dev/null
+++ b/etc/os-net-config/samples/linux_bond.yaml
@@ -0,0 +1,13 @@
+network_config:
+ -
+ type: linux_bond
+ name: bond1
+ use_dhcp: true
+ bonding_options: "mode=active-backup"
+ members:
+ -
+ type: interface
+ name: em1
+ -
+ type: interface
+ name: em2