From d01acefc15cebcfc5b7d808d3ed4f41cbaf8d74d Mon Sep 17 00:00:00 2001 From: Dan Sneddon Date: Wed, 2 Sep 2015 17:07:48 -0700 Subject: 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 --- etc/os-net-config/samples/linux_bridge.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 etc/os-net-config/samples/linux_bridge.yaml (limited to 'etc/os-net-config') 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 -- cgit 1.2.3-korg