aboutsummaryrefslogtreecommitdiffstats
path: root/net-config-bond.yaml
diff options
context:
space:
mode:
authorEugene Bagdasaryan <ebagdasa@cisco.com>2015-11-13 13:50:36 +0300
committerEugene Bagdasaryan <ebagdasa@cisco.com>2016-02-24 20:23:18 +0300
commitdf8eb861f35c77e02a94b685bdb88cd1a9513d5a (patch)
tree34bd17b7354e68dc3c9432bd04dcf3a96858a8d0 /net-config-bond.yaml
parent48c93ee87f8c874e68b4c688c8f267d514a2599a (diff)
Add BondInterfaceOvsOptions parameter to net-config-bond.yaml
This patch adds a new BondInterfaceOvsOptions to the bond.yaml. Sometimes there is no need to use vlans and therefore bond-with-vlans template files. This approach allows to setup things like LACP or the bonding mode via a nested stack heat parameter. Change-Id: I2d318aa738ab609bc76212bef49b2c5986d6dcdf
Diffstat (limited to 'net-config-bond.yaml')
-rw-r--r--net-config-bond.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/net-config-bond.yaml b/net-config-bond.yaml
index b624563..0a162e7 100644
--- a/net-config-bond.yaml
+++ b/net-config-bond.yaml
@@ -4,6 +4,11 @@ description: >
Software Config to drive os-net-config with 2 bonded nics on a bridge.
parameters:
+ BondInterfaceOvsOptions:
+ default: ''
+ description: The ovs_options string for the bond interface. Set things like
+ lacp=active and/or bond_mode=balance-slb using this option.
+ type: string
ControlPlaneIp:
default: ''
description: IP address/subnet on the ctlplane network
@@ -58,6 +63,7 @@ resources:
type: ovs_bond
name: bond1
use_dhcp: true
+ ovs_options: {get_param: BondInterfaceOvsOptions}
members:
# os-net-config translates nic1 => em1 (for example)
-