-
Notifications
You must be signed in to change notification settings - Fork 17
/
compute-nodes.yml
68 lines (62 loc) · 1.8 KB
/
compute-nodes.yml
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
---
- hosts: compute
roles:
- { role: iface, device: p4p1, params: { type: Ethernet, bootproto: none, onboot: '"yes"', master: bond0, slave: '"yes"' } }
- { role: iface, device: p4p2, params: { type: Ethernet, bootproto: none, onboot: '"yes"', master: bond0, slave: '"yes"' } }
- role: iface
device: bond0
params:
nozeroconf: '"yes"'
bootproto: none
bonding_opts: '"mode=4 miimon=100 lacp_rate=1"'
onboot: '"yes"'
- role: iface
device: "bond0.{{ int_if.vlan }}"
params:
type: Ethernet
vlan: '"yes"'
nozeroconf: '"yes"'
bootproto: static
ipaddr: "{{ int_if.ipaddr }}"
netmask: "{{ int_if.netmask }}"
onboot: '"yes"'
- role: iface
device: "bond0.{{ storage_if.vlan }}"
params:
type: Ethernet
vlan: '"yes"'
nozeroconf: '"yes"'
bootproto: static
ipaddr: "{{ storage_if.ipaddr }}"
netmask: "{{ storage_if.netmask }}"
onboot: '"yes"'
- role: iface
device: "bond0.{{ ext_if.vlan }}"i
params:
type: Ethernet
vlan: '"yes"'
nozeroconf: '"yes"'
bootproto: static
ipaddr: "{{ ext_if.ipaddr }}"
netmask: "{{ ext_if.netmask }}"
gateway: "{{ ext_if.gateway }}"
defroute: '"yes"'
dns1: "{{ ext_if.dns1 }}"
dns2: "{{ ext_if.dns2 }}"
onboot: '"yes"'
- role: iface
device: "bond0.{{ tun_if.vlan }}"
params:
type: Ethernet
vlan: '"yes"'
nozeroconf: '"yes"'
bootproto: static
ipaddr: "{{ tun_if.ipaddr }}"
netmask: "{{ tun_if.netmask }}"
onboot: '"yes"'
- common
- openstack-common
- ceilometer-common
- ceilometer-compute
- nova-common
- nova-compute