/
openstack.yml.erb
59 lines (52 loc) · 1.32 KB
/
openstack.yml.erb
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
---
name: <%= properties.name || "bat" %>
director_uuid: <%= properties.uuid %>
release:
name: bat
version: <%= properties.release || "latest" %>
compilation:
workers: 1
network: default
reuse_compilation_vms: true
cloud_properties:
instance_type: m1.small
update:
canaries: <%= properties.canaries || 1 %>
canary_watch_time: 3000-90000
update_watch_time: 3000-90000
max_in_flight: <%= properties.max_in_flight || 1 %>
max_errors: 1
networks:
- name: default
type: dynamic
cloud_properties: {}
- name: static
type: vip
cloud_properties: {}
resource_pools:
- name: common
network: default
size: <%= properties.pool_size %>
stemcell:
name: <%= properties.stemcell.name %>
version: <%= properties.stemcell.version %>
cloud_properties:
instance_type: m1.small
jobs:
- name: <%= properties.job || "batlight" %>
template: <%= properties.job || "batlight" %>
instances: <%= properties.jobs %>
resource_pool: common
<% if properties.persistent_disk %>
persistent_disk: <%= properties.persistent_disk %>
<% end %>
networks:
- name: default
default: [dns, gateway]
<% if properties.use_static_ip %>
- name: static
static_ips:
- <%= properties.static_ip %>
<% end %>
properties:
mbus: <%= properties.mbus %>