Fix descriptions on bonding templates

This change updates the descriptions of bond paramters in the bonded network
interface templates. Previously, only OVS bond settings were mentioned,
and the description for the bond options constraints had extra whitespace.
This change mentions settings for Linux bonds, and removes extra spaces.

Change-Id: Id50c042ae4a3b9298e8de0364e315b9f8777b79f
This commit is contained in:
Dan Sneddon 2017-02-03 01:57:41 -08:00
parent 4ccce0e36b
commit 2c11e9e179
9 changed files with 35 additions and 53 deletions

View File

@ -4,19 +4,14 @@ description: >
parameters: parameters:
BondInterfaceOvsOptions: BondInterfaceOvsOptions:
default: '' default: ''
description: 'The ovs_options string for the bond interface. Set things like description: The ovs_options or bonding_options string for the bond
interface. Set things like lacp=active and/or bond_mode=balance-slb
lacp=active and/or bond_mode=balance-slb using this option. for OVS bonds or like mode=4 for Linux bonds using this option.
'
type: string type: string
constraints: constraints:
- allowed_pattern: ^((?!balance.tcp).)*$ - allowed_pattern: ^((?!balance.tcp).)*$
description: 'The balance-tcp bond mode is known to cause packet loss and description: The balance-tcp bond mode is known to cause packet loss and
should not be used in BondInterfaceOvsOptions. should not be used in BondInterfaceOvsOptions.
'
ControlPlaneIp: ControlPlaneIp:
default: '' default: ''
description: IP address/subnet on the ctlplane network description: IP address/subnet on the ctlplane network

View File

@ -32,16 +32,14 @@ parameters:
type: string type: string
BondInterfaceOvsOptions: BondInterfaceOvsOptions:
default: '' default: ''
description: The ovs_options string for the bond interface. Set things like lacp=active and/or bond_mode=balance-slb using description: 'The ovs_options or bonding_options string for the bond
this option. interface. Set things like lacp=active and/or bond_mode=balance-slb
for OVS bonds or like mode=4 for Linux bonds using this option.'
type: string type: string
constraints: constraints:
- allowed_pattern: ^((?!balance.tcp).)*$ - allowed_pattern: ^((?!balance.tcp).)*$
description: 'The balance-tcp bond mode is known to cause packet loss and description: 'The balance-tcp bond mode is known to cause packet loss and
should not be used in BondInterfaceOvsOptions.'
should not be used in BondInterfaceOvsOptions.
'
ExternalNetworkVlanID: ExternalNetworkVlanID:
default: 10 default: 10
description: Vlan ID for the external network traffic. description: Vlan ID for the external network traffic.

View File

@ -32,16 +32,14 @@ parameters:
type: string type: string
BondInterfaceOvsOptions: BondInterfaceOvsOptions:
default: '' default: ''
description: The ovs_options string for the bond interface. Set things like lacp=active and/or bond_mode=balance-slb using description: 'The ovs_options or bonding_options string for the bond
this option. interface. Set things like lacp=active and/or bond_mode=balance-slb
for OVS bonds or like mode=4 for Linux bonds using this option.'
type: string type: string
constraints: constraints:
- allowed_pattern: ^((?!balance.tcp).)*$ - allowed_pattern: ^((?!balance.tcp).)*$
description: 'The balance-tcp bond mode is known to cause packet loss and description: 'The balance-tcp bond mode is known to cause packet loss and
should not be used in BondInterfaceOvsOptions.'
should not be used in BondInterfaceOvsOptions.
'
ExternalNetworkVlanID: ExternalNetworkVlanID:
default: 10 default: 10
description: Vlan ID for the external network traffic. description: Vlan ID for the external network traffic.

View File

@ -32,8 +32,9 @@ parameters:
type: string type: string
BondInterfaceOvsOptions: BondInterfaceOvsOptions:
default: '' default: ''
description: The ovs_options string for the bond interface. Set things like lacp=active and/or bond_mode=balance-slb using description: 'The ovs_options or bonding_options string for the bond
this option. interface. Set things like lacp=active and/or bond_mode=balance-slb
for OVS bonds or like mode=4 for Linux bonds using this option.'
type: string type: string
ExternalNetworkVlanID: ExternalNetworkVlanID:
default: 10 default: 10

View File

@ -32,16 +32,14 @@ parameters:
type: string type: string
BondInterfaceOvsOptions: BondInterfaceOvsOptions:
default: '' default: ''
description: The ovs_options string for the bond interface. Set things like lacp=active and/or bond_mode=balance-slb using description: 'The ovs_options or bonding_options string for the bond
this option. interface. Set things like lacp=active and/or bond_mode=balance-slb
for OVS bonds or like mode=4 for Linux bonds using this option.'
type: string type: string
constraints: constraints:
- allowed_pattern: ^((?!balance.tcp).)*$ - allowed_pattern: ^((?!balance.tcp).)*$
description: 'The balance-tcp bond mode is known to cause packet loss and description: 'The balance-tcp bond mode is known to cause packet loss and
should not be used in BondInterfaceOvsOptions.'
should not be used in BondInterfaceOvsOptions.
'
ExternalNetworkVlanID: ExternalNetworkVlanID:
default: 10 default: 10
description: Vlan ID for the external network traffic. description: Vlan ID for the external network traffic.

View File

@ -32,16 +32,14 @@ parameters:
type: string type: string
BondInterfaceOvsOptions: BondInterfaceOvsOptions:
default: '' default: ''
description: The ovs_options string for the bond interface. Set things like lacp=active and/or bond_mode=balance-slb using description: 'The ovs_options or bonding_options string for the bond
this option. interface. Set things like lacp=active and/or bond_mode=balance-slb
for OVS bonds or like mode=4 for Linux bonds using this option.'
type: string type: string
constraints: constraints:
- allowed_pattern: ^((?!balance.tcp).)*$ - allowed_pattern: ^((?!balance.tcp).)*$
description: 'The balance-tcp bond mode is known to cause packet loss and description: 'The balance-tcp bond mode is known to cause packet loss and
should not be used in BondInterfaceOvsOptions.'
should not be used in BondInterfaceOvsOptions.
'
ExternalNetworkVlanID: ExternalNetworkVlanID:
default: 10 default: 10
description: Vlan ID for the external network traffic. description: Vlan ID for the external network traffic.

View File

@ -34,16 +34,14 @@ parameters:
type: string type: string
BondInterfaceOvsOptions: BondInterfaceOvsOptions:
default: bond_mode=active-backup default: bond_mode=active-backup
description: The ovs_options string for the bond interface. Set things like lacp=active and/or bond_mode=balance-slb using description: 'The ovs_options or bonding_options string for the bond
this option. interface. Set things like lacp=active and/or bond_mode=balance-slb
for OVS bonds or like mode=4 for Linux bonds using this option.'
type: string type: string
constraints: constraints:
- allowed_pattern: ^((?!balance.tcp).)*$ - allowed_pattern: ^((?!balance.tcp).)*$
description: 'The balance-tcp bond mode is known to cause packet loss and description: 'The balance-tcp bond mode is known to cause packet loss and
should not be used in BondInterfaceOvsOptions.'
should not be used in BondInterfaceOvsOptions.
'
ExternalNetworkVlanID: ExternalNetworkVlanID:
default: 10 default: 10
description: Vlan ID for the external network traffic. description: Vlan ID for the external network traffic.

View File

@ -32,16 +32,14 @@ parameters:
type: string type: string
BondInterfaceOvsOptions: BondInterfaceOvsOptions:
default: bond_mode=active-backup default: bond_mode=active-backup
description: The ovs_options string for the bond interface. Set things like lacp=active and/or bond_mode=balance-slb using description: 'The ovs_options or bonding_options string for the bond
this option. interface. Set things like lacp=active and/or bond_mode=balance-slb
for OVS bonds or like mode=4 for Linux bonds using this option.'
type: string type: string
constraints: constraints:
- allowed_pattern: ^((?!balance.tcp).)*$ - allowed_pattern: ^((?!balance.tcp).)*$
description: 'The balance-tcp bond mode is known to cause packet loss and description: 'The balance-tcp bond mode is known to cause packet loss and
should not be used in BondInterfaceOvsOptions.'
should not be used in BondInterfaceOvsOptions.
'
ExternalNetworkVlanID: ExternalNetworkVlanID:
default: 10 default: 10
description: Vlan ID for the external network traffic. description: Vlan ID for the external network traffic.

View File

@ -32,16 +32,14 @@ parameters:
type: string type: string
BondInterfaceOvsOptions: BondInterfaceOvsOptions:
default: '' default: ''
description: The ovs_options string for the bond interface. Set things like lacp=active and/or bond_mode=balance-slb using description: The ovs_options or bonding_options string for the bond
this option. interface. Set things like lacp=active and/or bond_mode=balance-slb
for OVS bonds or like mode=4 for Linux bonds using this option.
type: string type: string
constraints: constraints:
- allowed_pattern: ^((?!balance.tcp).)*$ - allowed_pattern: ^((?!balance.tcp).)*$
description: 'The balance-tcp bond mode is known to cause packet loss and description: The balance-tcp bond mode is known to cause packet loss and
should not be used in BondInterfaceOvsOptions. should not be used in BondInterfaceOvsOptions.
'
ExternalNetworkVlanID: ExternalNetworkVlanID:
default: 10 default: 10
description: Vlan ID for the external network traffic. description: Vlan ID for the external network traffic.