blob: 54b8584442226b86789db28fe3c8328a48ea278f [file] [log] [blame]
Zack Williamsa2763112017-01-03 11:38:38 -07001---
2# vars/opencloud.yaml
3# Generic OpenCloud Site
4
5# site configuration
6site_name: generic_opencloud
7site_humanname: "Generic OpenCloud"
8deployment_type: campus
9
10xos_admin_user: xosadmin@opencord.org
11xos_admin_pass: "{{ lookup('password', 'credentials/xosadmin@opencord.org chars=ascii_letters,digits') }}"
12xos_admin_first: XOS
13xos_admin_last: Admin
14
15xos_users: []
16
17use_vtn: True
18
19xos_tosca_config_templates:
20 - openstack.yaml
21 - nodes.yaml
22 - vtn-service.yaml
23 - management-net.yaml
24
25cord_profile_dir: "{{ ansible_user_dir + '/cord_profile' }}"
26
27xos_docker_volumes:
28 - host: "{{ cord_profile_dir }}/images"
29 container: /opt/xos/images
30
31# GUI Branding
32# Not neeeded, default is OpenCloud
33
34# paths defined in manifest/default.xml
35xos_services:
36 - name: vtn
37 path: onos-apps/apps/vtn
38 - name: onos
39 path: orchestration/xos_services/onos-service
40 - name: vrouter
41 path: orchestration/xos_services/vrouter
42
43xos_service_sshkeys:
44 - name: onos_rsa
45 source_path: "~/.ssh/id_rsa"
46 - name: onos_rsa.pub
47 source_path: "~/.ssh/id_rsa.pub"
48
49
50# IP prefix for VMs
51virt_nets:
52 - name: mgmtbr
53 ipv4_prefix: 192.168.250
54 head_vms: true
55
56# DNS/domain settings
57site_suffix: generic.infra.opencloud.us
58
59dns_search:
60 - "{{ site_suffix }}"
61
62# SSL server certificate generation
63server_certs:
64 - cn: "keystone.{{ site_suffix }}"
65 subj: "/C=US/ST=California/L=Menlo Park/O=ON.Lab/OU=Test Deployment/CN=keystone.{{ site_suffix }}"
66 altnames:
67 - "DNS:keystone.{{ site_suffix }}"
68 - "DNS:keystone"
69 - cn: "xos-core.{{ site_suffix }}"
70 subj: "/C=US/ST=California/L=Menlo Park/O=ON.Lab/OU=Test Deployment/CN=xos-core.{{ site_suffix }}"
71 altnames:
72 - "DNS:xos-core.{{ site_suffix }}"
73
74# NSD/Unbound settings
75nsd_zones:
76 - name: "{{ site_suffix }}"
77 ipv4_first_octets: 192.168.250
78 name_reverse_unbound: "168.192.in-addr.arpa"
79 soa: ns1
80 ns:
81 - { name: ns1 }
82 nodelist: head_vm_list
83 aliases:
84 - { name: "ns1" , dest: "head" }
85 - { name: "ns" , dest: "head" }
86 - { name: "apt-cache" , dest: "head" }
87
88name_on_public_interface: head
89
90# If true, unbound listens on the head node's `ansible_default_ipv4` interface
91unbound_listen_on_default: True
92
93# VTN network configuration
94management_network_cidr: 172.27.0.0/24
95management_network_ip: 172.27.0.1/24
96data_plane_ip: 10.168.0.253/24
97
98on_maas: False
99
100run_dist_upgrade: True
101
102openstack_version: kilo
103
104juju_config_name: opencloud
105juju_config_path: /usr/local/src/juju_config.yml
106
107keystone_admin_password: "{{ lookup('password', 'credentials/generic_opencloud_keystone_admin chars=ascii_letters,digits') }}"
108
109deployment_flavors:
110 - m1.small
111 - m1.medium
112 - m1.large
113 - m1.xlarge
114
115apt_cacher_name: apt-cache
116
117apt_ssl_sites:
118 - apt.dockerproject.org
119 - butler.opencloud.cs.arizona.edu
120 - deb.nodesource.com
121
122charm_versions:
123 neutron-api: "cs:~cordteam/trusty/neutron-api-3"
124 nova-compute: "cs:~cordteam/trusty/nova-compute-2"
125
126head_vm_list: []
127
128head_lxd_list:
129 - name: "juju-1"
130 service: "juju"
131 aliases:
132 - "juju"
133 ipv4_last_octet: 10
134
135 - name: "ceilometer-1"
136 service: "ceilometer"
137 aliases:
138 - "ceilometer"
139 ipv4_last_octet: 20
140 forwarded_ports:
141 - { ext: 8777, int: 8777 }
142
143 - name: "glance-1"
144 service: "glance"
145 aliases:
146 - "glance"
147 ipv4_last_octet: 30
148 forwarded_ports:
149 - { ext: 9292, int: 9292 }
150
151 - name: "keystone-1"
152 service: "keystone"
153 aliases:
154 - "keystone"
155 ipv4_last_octet: 40
156 forwarded_ports:
157 - { ext: 35357, int: 35357 }
158 - { ext: 4990, int: 4990 }
159 - { ext: 5000, int: 5000 }
160
161 - name: "percona-cluster-1"
162 service: "percona-cluster"
163 aliases:
164 - "percona-cluster"
165 ipv4_last_octet: 50
166
167 - name: "neutron-api-1"
168 service: "neutron-api"
169 aliases:
170 - "neutron-api"
171 ipv4_last_octet: 70
172 forwarded_ports:
173 - { ext: 9696, int: 9696 }
174
175 - name: "nova-cloud-controller-1"
176 service: "nova-cloud-controller"
177 aliases:
178 - "nova-cloud-controller"
179 ipv4_last_octet: 90
180 forwarded_ports:
181 - { ext: 8774, int: 8774 }
182
183 - name: "openstack-dashboard-1"
184 service: "openstack-dashboard"
185 aliases:
186 - "openstack-dashboard"
187 ipv4_last_octet: 100
188 forwarded_ports:
189 - { ext: 8080, int: 80 }
190
191 - name: "rabbitmq-server-1"
192 service: "rabbitmq-server"
193 aliases:
194 - "rabbitmq-server"
195 ipv4_last_octet: 110
196
197 - name: "onos-cord-1"
198 aliases:
199 - "onos-cord"
200 ipv4_last_octet: 110
201 docker_path: "cord"
202
203 - name: "xos-1"
204 aliases:
205 - "xos"
206 ipv4_last_octet: 130
207 docker_path: 'service-profile/opencloud'
208
209lxd_service_list:
210 - ceilometer
211 - glance
212 - keystone
213 - neutron-api
214 - nova-cloud-controller
215 - openstack-dashboard
216 - percona-cluster
217 - rabbitmq-server
218
219standalone_service_list:
220 - ceilometer-agent
221 - ntp
222
223service_relations:
224 - name: keystone
225 relations: [ "percona-cluster", ]
226
227 - name: nova-cloud-controller
228 relations: [ "percona-cluster", "rabbitmq-server", "glance", "keystone", ]
229
230 - name: glance
231 relations: [ "percona-cluster", "keystone", ]
232
233 - name: neutron-api
234 relations: [ "keystone", "percona-cluster", "rabbitmq-server", "nova-cloud-controller", ]
235
236 - name: openstack-dashboard
237 relations: [ "keystone", ]
238
239 - name: ceilometer
240 relations: [ "mongodb", "rabbitmq-server" ]
241
242 - name: "ceilometer:identity-service"
243 relations: [ "keystone:identity-service", ]
244
245 - name: "ceilometer:ceilometer-service"
246 relations: [ "ceilometer-agent:ceilometer-service", ]
247
248
249compute_relations:
250 - name: nova-compute
251 relations: [ "ceilometer-agent", "glance", "nova-cloud-controller", ]
252
253 - name: "nova-compute:shared-db"
254 relations: [ "percona-cluster:shared-db", ]
255
256 - name: "nova-compute:amqp"
257 relations: [ "rabbitmq-server:amqp", ]
258
259 - name: ntp
260 relations: [ "nova-compute", ]
261
262
263xos_images:
264 - name: "trusty-server-multi-nic"
265 url: "http://www.vicci.org/opencloud/trusty-server-cloudimg-amd64-disk1.img"
266 checksum: "sha256:c2d0ffc937aeb96016164881052a496658efeb98959dc68e73d9895c5d9920f7"
267