-
Notifications
You must be signed in to change notification settings - Fork 4
/
bond without bridge
43 lines (42 loc) · 955 Bytes
/
bond without bridge
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
## Using VLAN interfaces on linux bonds without an OVS bridge
network_config:
-
type: linux_bond
name: bond0
use_dhcp: false
bonding_options: "mode=active-backup"
members:
-
type: interface
name: nic2
-
type: interface
name: nic5
-
type: interface
name:
list_join:
- '.'
- - bond0
-
str_replace:
template: $vlanIDtoString
params:
$vlanIDtoString: {get_param: InternalApiNetworkVlanID}
addresses:
-
ip_netmask: {get_param: InternalApiIpSubnet}
-
type: interface
name:
list_join:
- '.'
- - bond0
-
str_replace:
template: $vlanIDtoString
params:
$vlanIDtoString: {get_param: StorageMgmtNetworkVlanID}
addresses:
-
ip_netmask: {get_param: StorageMgmtIpSubnet}