blob: ab9eea9df9111cc5e525c7c21f29af496c6bebf4 [file] [log] [blame]
Zack Williamsa2763112017-01-03 11:38:38 -07001---
Zack Williamsc989f262017-05-11 13:02:59 -07002# profile_manifests/opencloud.yml
Zack Williamsa2763112017-01-03 11:38:38 -07003# Generic OpenCloud Site
4
5# site configuration
6site_name: generic_opencloud
7site_humanname: "Generic OpenCloud"
8deployment_type: campus
9
Zack Williamsc989f262017-05-11 13:02:59 -070010xos_admin_user: "xosadmin@opencord.org"
11xos_admin_pass: "{{ lookup('password', credentials_dir ~ '/xosadmin@opencord.org chars=ascii_letters,digits') }}"
Zack Williamsa2763112017-01-03 11:38:38 -070012xos_admin_first: XOS
13xos_admin_last: Admin
14
15xos_users: []
16
17use_vtn: True
Zack Williamsc989f262017-05-11 13:02:59 -070018use_openstack: True
19use_fabric: False
20
21headnode_name: head1
Zack Williamsa2763112017-01-03 11:38:38 -070022
23xos_tosca_config_templates:
Zack Williamsa2763112017-01-03 11:38:38 -070024 - vtn-service.yaml
25 - management-net.yaml
26
Zack Williamsc989f262017-05-11 13:02:59 -070027build_xos_base_image: True
Zack Williamsa2763112017-01-03 11:38:38 -070028
Zack Williamsa2763112017-01-03 11:38:38 -070029# GUI Branding
30# Not neeeded, default is OpenCloud
31
Zack Williamsc989f262017-05-11 13:02:59 -070032# GUI Config [new GUI], used in app.config.js.j2 and style.config.js.j2
33gui_project_name: "OpenCloud"
34gui_favicon: "opencloud-favicon.png"
35gui_background: "opencloud-bg.jpg"
36gui_payoff: "A Value-Added Cloud for the Internet2 Community"
37gui_logo: "opencloud-logo.png"
38
Zack Williamsa2763112017-01-03 11:38:38 -070039# paths defined in manifest/default.xml
40xos_services:
41 - name: vtn
42 path: onos-apps/apps/vtn
Zack Williamsc989f262017-05-11 13:02:59 -070043 keypair: vsg_rsa
44 - name: openstack
45 path: orchestration/xos_services/openstack
Zack Williamsa2763112017-01-03 11:38:38 -070046 - name: onos
47 path: orchestration/xos_services/onos-service
Zack Williamsc989f262017-05-11 13:02:59 -070048 keypair: onos_rsa
Zack Williamsa2763112017-01-03 11:38:38 -070049 - name: vrouter
50 path: orchestration/xos_services/vrouter
51
Zack Williamsc989f262017-05-11 13:02:59 -070052profile_library: "rcord"
Zack Williamsa2763112017-01-03 11:38:38 -070053
Zack Williamsc989f262017-05-11 13:02:59 -070054# SSL certificate generation
55ssl_cert_subj_prefix: "/C=US/ST=California/L=Menlo Park/O=ON.Lab/OU={{ site_humanname }} Deployment"
Zack Williamsa2763112017-01-03 11:38:38 -070056
Zack Williamsc989f262017-05-11 13:02:59 -070057server_certs:
58 - cn: "keystone.{{ site_suffix }}"
59 subj: "{{ ssl_cert_subj_prefix }}/CN=keystone.{{ site_suffix }}"
60 altnames:
61 - "DNS:keystone.{{ site_suffix }}"
62 - "DNS:keystone"
63 - cn: "xos-core.{{ site_suffix }}"
64 subj: "{{ ssl_cert_subj_prefix }}/CN=xos-core.{{ site_suffix }}"
65 altnames:
66 - "DNS:xos-core.{{ site_suffix }}"
Zack Williamsc989f262017-05-11 13:02:59 -070067
68# docker registry users
69docker_registry_users:
70 - name: "{{ xos_admin_user }}"
71 password: "{{ xos_admin_pass }}"
72
73# Network/DNS settings
Zack Williamsa2763112017-01-03 11:38:38 -070074site_suffix: generic.infra.opencloud.us
75
76dns_search:
77 - "{{ site_suffix }}"
78
Zack Williamsc989f262017-05-11 13:02:59 -070079mgmt_ipv4_first_octets: "192.168.200"
Zack Williamsa2763112017-01-03 11:38:38 -070080
Zack Williamsc989f262017-05-11 13:02:59 -070081dns_servers:
82 - "{{ mgmt_ipv4_first_octets }}.1"
83
84headnode_user: vagrant
85
86# DNS settings for NSD/Unbound
Zack Williamsa2763112017-01-03 11:38:38 -070087nsd_zones:
88 - name: "{{ site_suffix }}"
Zack Williamsc989f262017-05-11 13:02:59 -070089 ipv4_first_octets: "{{ mgmt_ipv4_first_octets }}"
Zack Williamsa2763112017-01-03 11:38:38 -070090 name_reverse_unbound: "168.192.in-addr.arpa"
91 soa: ns1
92 ns:
93 - { name: ns1 }
Zack Williamsc989f262017-05-11 13:02:59 -070094 nodelists:
95 - head_lxd_list
96 - physical_node_list
Zack Williamsa2763112017-01-03 11:38:38 -070097 aliases:
Zack Williamsc989f262017-05-11 13:02:59 -070098 - { name: "apt-cache", dest: "head1" }
99 - { name: "cordloghost", dest: "head1" }
100 - { name: "docker", dest: "head1" }
101 - { name: "ns", dest: "head1" }
102 - { name: "ns1", dest: "head1" }
103 - { name: "onos-cord", dest: "head1" }
104 - { name: "xos", dest: "head1" }
105 - { name: "xos-chameleon", dest: "head1" }
106 - { name: "xos-rest-gw", dest: "head1" }
107 - { name: "xos-spa-gui", dest: "head1" }
Zack Williamsa2763112017-01-03 11:38:38 -0700108
Zack Williamsc989f262017-05-11 13:02:59 -0700109unbound_listen_all: True
Zack Williamsa2763112017-01-03 11:38:38 -0700110
Zack Williamsc989f262017-05-11 13:02:59 -0700111unbound_interfaces:
112 - "{{ mgmt_ipv4_first_octets }}.1/24"
113
114dhcpd_subnets:
115 - interface: mgmtbr
116 cidr: "{{ mgmt_ipv4_first_octets }}.1/24"
117 dhcp_first: 129
118 dhcp_last: 254
119 other_static:
120 - physical_node_list
121 - head_lxd_list
122
123# network interface setup
124mgmt_interface: eth1
125
126physical_node_list:
127 - name: head1
128 ipv4_last_octet: 1
129 aliases:
130 - head
131 - name: compute1
132 ipv4_last_octet: 20
133 - name: compute2
134 ipv4_last_octet: 21
Zack Williamsa2763112017-01-03 11:38:38 -0700135
136# VTN network configuration
137management_network_cidr: 172.27.0.0/24
138management_network_ip: 172.27.0.1/24
139data_plane_ip: 10.168.0.253/24
140
Zack Williams1396aa32017-06-06 10:28:29 -0700141# External interface name on compute nodes
142compute_external_interface: eth0
143
Zack Williamsc989f262017-05-11 13:02:59 -0700144# ONOS version
Zack Williams1396aa32017-06-06 10:28:29 -0700145onos_docker_image: "onosproject/onos:1.8.7"
Zack Williamsa2763112017-01-03 11:38:38 -0700146
Zack Williamsc989f262017-05-11 13:02:59 -0700147on_maas: False
148on_cloudlab: False
149
150run_dist_upgrade: False
Zack Williamsa2763112017-01-03 11:38:38 -0700151
152openstack_version: kilo
153
154juju_config_name: opencloud
155juju_config_path: /usr/local/src/juju_config.yml
156
157keystone_admin_password: "{{ lookup('password', 'credentials/generic_opencloud_keystone_admin chars=ascii_letters,digits') }}"
158
159deployment_flavors:
160 - m1.small
161 - m1.medium
162 - m1.large
163 - m1.xlarge
164
Zack Williamsa2763112017-01-03 11:38:38 -0700165charm_versions:
Zack Williamsc989f262017-05-11 13:02:59 -0700166 ceilometer-agent: "cs:trusty/ceilometer-agent-13"
167 ceilometer: "cs:trusty/ceilometer-17"
168 glance: "cs:trusty/glance-28"
169 keystone: "cs:trusty/keystone-33"
170 mongodb: "cs:trusty/mongodb-33"
171 neutron-api: "cs:~cordteam/trusty/neutron-api-5"
Zack Williamsa2763112017-01-03 11:38:38 -0700172 nova-compute: "cs:~cordteam/trusty/nova-compute-2"
Zack Williamsc989f262017-05-11 13:02:59 -0700173 ntp: "cs:trusty/ntp-14"
174 openstack-dashboard: "cs:trusty/openstack-dashboard-19"
175 percona-cluster: "cs:trusty/percona-cluster-31"
176 rabbitmq-server: "cs:trusty/rabbitmq-server-42"
Zack Williamsa2763112017-01-03 11:38:38 -0700177
178head_lxd_list:
179 - name: "juju-1"
180 service: "juju"
181 aliases:
182 - "juju"
Zack Williamsc989f262017-05-11 13:02:59 -0700183 ipv4_last_octet: 50
Zack Williamsa2763112017-01-03 11:38:38 -0700184
185 - name: "ceilometer-1"
186 service: "ceilometer"
187 aliases:
188 - "ceilometer"
Zack Williamsc989f262017-05-11 13:02:59 -0700189 ipv4_last_octet: 51
Zack Williamsa2763112017-01-03 11:38:38 -0700190 forwarded_ports:
191 - { ext: 8777, int: 8777 }
192
193 - name: "glance-1"
194 service: "glance"
195 aliases:
196 - "glance"
Zack Williamsc989f262017-05-11 13:02:59 -0700197 ipv4_last_octet: 52
Zack Williamsa2763112017-01-03 11:38:38 -0700198 forwarded_ports:
199 - { ext: 9292, int: 9292 }
200
201 - name: "keystone-1"
202 service: "keystone"
203 aliases:
204 - "keystone"
Zack Williamsc989f262017-05-11 13:02:59 -0700205 ipv4_last_octet: 53
Zack Williamsa2763112017-01-03 11:38:38 -0700206 forwarded_ports:
207 - { ext: 35357, int: 35357 }
208 - { ext: 4990, int: 4990 }
209 - { ext: 5000, int: 5000 }
210
211 - name: "percona-cluster-1"
212 service: "percona-cluster"
213 aliases:
214 - "percona-cluster"
Zack Williamsc989f262017-05-11 13:02:59 -0700215 ipv4_last_octet: 54
Zack Williamsa2763112017-01-03 11:38:38 -0700216
217 - name: "neutron-api-1"
218 service: "neutron-api"
219 aliases:
220 - "neutron-api"
Zack Williamsc989f262017-05-11 13:02:59 -0700221 ipv4_last_octet: 55
Zack Williamsa2763112017-01-03 11:38:38 -0700222 forwarded_ports:
223 - { ext: 9696, int: 9696 }
224
225 - name: "nova-cloud-controller-1"
226 service: "nova-cloud-controller"
227 aliases:
228 - "nova-cloud-controller"
Zack Williamsc989f262017-05-11 13:02:59 -0700229 ipv4_last_octet: 56
Zack Williamsa2763112017-01-03 11:38:38 -0700230 forwarded_ports:
231 - { ext: 8774, int: 8774 }
232
233 - name: "openstack-dashboard-1"
234 service: "openstack-dashboard"
235 aliases:
236 - "openstack-dashboard"
Zack Williamsc989f262017-05-11 13:02:59 -0700237 ipv4_last_octet: 57
Zack Williamsa2763112017-01-03 11:38:38 -0700238 forwarded_ports:
239 - { ext: 8080, int: 80 }
240
241 - name: "rabbitmq-server-1"
242 service: "rabbitmq-server"
243 aliases:
244 - "rabbitmq-server"
Zack Williamsc989f262017-05-11 13:02:59 -0700245 ipv4_last_octet: 58
Zack Williamsa2763112017-01-03 11:38:38 -0700246
Zack Williamsc989f262017-05-11 13:02:59 -0700247 - name: "mongodb-1"
248 service: "mongodb"
Zack Williamsa2763112017-01-03 11:38:38 -0700249 aliases:
Zack Williamsc989f262017-05-11 13:02:59 -0700250 - "mongodb"
251 ipv4_last_octet: 59
Zack Williamsa2763112017-01-03 11:38:38 -0700252
253lxd_service_list:
254 - ceilometer
255 - glance
256 - keystone
Zack Williamsc989f262017-05-11 13:02:59 -0700257 - mongodb
Zack Williamsa2763112017-01-03 11:38:38 -0700258 - neutron-api
259 - nova-cloud-controller
260 - openstack-dashboard
261 - percona-cluster
262 - rabbitmq-server
263
264standalone_service_list:
265 - ceilometer-agent
266 - ntp
267
268service_relations:
269 - name: keystone
270 relations: [ "percona-cluster", ]
271
272 - name: nova-cloud-controller
273 relations: [ "percona-cluster", "rabbitmq-server", "glance", "keystone", ]
274
275 - name: glance
276 relations: [ "percona-cluster", "keystone", ]
277
278 - name: neutron-api
279 relations: [ "keystone", "percona-cluster", "rabbitmq-server", "nova-cloud-controller", ]
280
281 - name: openstack-dashboard
282 relations: [ "keystone", ]
283
284 - name: ceilometer
285 relations: [ "mongodb", "rabbitmq-server" ]
286
287 - name: "ceilometer:identity-service"
288 relations: [ "keystone:identity-service", ]
289
290 - name: "ceilometer:ceilometer-service"
291 relations: [ "ceilometer-agent:ceilometer-service", ]
292
293
294compute_relations:
295 - name: nova-compute
296 relations: [ "ceilometer-agent", "glance", "nova-cloud-controller", ]
297
298 - name: "nova-compute:shared-db"
299 relations: [ "percona-cluster:shared-db", ]
300
301 - name: "nova-compute:amqp"
302 relations: [ "rabbitmq-server:amqp", ]
303
304 - name: ntp
305 relations: [ "nova-compute", ]
306
307
308xos_images:
309 - name: "trusty-server-multi-nic"
310 url: "http://www.vicci.org/opencloud/trusty-server-cloudimg-amd64-disk1.img"
311 checksum: "sha256:c2d0ffc937aeb96016164881052a496658efeb98959dc68e73d9895c5d9920f7"
312