-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathos-refimpl-devices.cfg.j2
86 lines (73 loc) · 1.75 KB
/
os-refimpl-devices.cfg.j2
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
# VLAN TAGS
# 830 - MANAGEMENT_NET - 172.22.100.0/22
# 831 - STORAGE_NET - 172.22.104.0/22
# 832 - OVERLAY_NET - 172.22.108.0/22
# 833 - FLAT_NET - 172.22.112.0/22
auto p4p1
iface p4p1 inet manual
auto p1p2
iface p1p2 inet manual
bond-master bond0
bond-primary p1p2
auto p4p2
iface p4p2 inet manual
bond-master bond0
auto bond0
iface bond0 inet manual
bond-slaves none
bond-mode active-backup
bond-miimon 100
bond-downdelay 200
bond-updelay 200
auto p4p1.833
iface p4p1.833 inet manual
vlan-raw-device p4p1
iface bond0.830 inet manual
vlan-raw-device bond0
iface bond0.831 inet manual
vlan-raw-device bond0
iface bond0.832 inet manual
vlan-raw-device bond0
auto br-flat
iface br-flat inet static
bridge_stp off
bridge_waitport 10
bridge_fd 0
bridge_ports p4p1.833
address 172.22.112.{{ ansible_ssh_host.split('.')[-1] }}
netmask 255.255.252.0
offload-sg off
auto br-mgmt
iface br-mgmt inet static
bridge_stp off
bridge_waitport 10
bridge_fd 0
bridge_ports bond0.830
address 172.22.100.{{ ansible_ssh_host.split('.')[-1] }}
netmask 255.255.252.0
offload-sg off
auto br-storage
iface br-storage inet static
bridge_stp off
bridge_waitport 10
bridge_fd 0
bridge_ports bond0.831
address 172.22.104.{{ ansible_ssh_host.split('.')[-1] }}
netmask 255.255.252.0
offload-sg off
auto br-vxlan
iface br-vxlan inet static
bridge_stp off
bridge_waitport 10
bridge_fd 0
bridge_ports bond1.832
address 172.22.108.{{ ansible_ssh_host.split('.')[-1] }}
netmask 255.255.252.0
offload-sg off
auto br-vlan
iface br-vlan inet manual
bridge_stp off
bridge_waitport 10
bridge_fd 0
bridge_ports bond0
offload-sg off