aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorDan Sneddon <dsneddon@redhat.com>2015-09-02 17:07:48 -0700
committerDan Sneddon <dsneddon@redhat.com>2015-10-12 11:03:25 -0700
commitd01acefc15cebcfc5b7d808d3ed4f41cbaf8d74d (patch)
tree36611573e6a153f6562d9b28a706d22915547bea /etc
parent62bc734ad540cde0cf47b863db686b328d575d33 (diff)
Add Linux Bridge capability to os-net-config ifcfg
This patch adds support for Linux Bridges to os-net-config. This is done completely with ifcfg files, brctl is not used directly. Hierarchy is preserved, so a Linux Bridge may have a Linux Bond as a member, which in turn may have multiple interfaces as members. This changeset has been updated to include a more specific example for Linux bridge configuration (that doesn't combine bridging and bonding). This change depends on the change to add support for Linux Bonds. Change-Id: I1ddacd514b02af30139a868071d82cde19b1f946
Diffstat (limited to 'etc')
-rw-r--r--etc/os-net-config/samples/linux_bridge.yaml9
1 files changed, 9 insertions, 0 deletions
diff --git a/etc/os-net-config/samples/linux_bridge.yaml b/etc/os-net-config/samples/linux_bridge.yaml
new file mode 100644
index 0000000..051f6f3
--- /dev/null
+++ b/etc/os-net-config/samples/linux_bridge.yaml
@@ -0,0 +1,9 @@
+network_config:
+ -
+ type: linux_bridge
+ name: br-ctlplane
+ use_dhcp: true
+ members:
+ -
+ type: interface
+ name: em1