blob: 7b736af2e66120b01d3d24bc5f28ed0bd7dbb7fe [file] [log] [blame]
Zack Williamsa2763112017-01-03 11:38:38 -07001---
Zack Williamsc989f262017-05-11 13:02:59 -07002# profile_manifests/opencloud.yml
Zack Williams3eca6472017-06-22 18:18:38 -07003# OpenCloud Profile Manifest
Zack Williamsa2763112017-01-03 11:38:38 -07004
Zack Williams3eca6472017-06-22 18:18:38 -07005# Site configuration
6site_name: generic-opencloud
Zack Williamsa2763112017-01-03 11:38:38 -07007site_humanname: "Generic OpenCloud"
Zack Williams3eca6472017-06-22 18:18:38 -07008site_suffix: "{{ site_name }}.opencloud.us"
Zack Williamsa2763112017-01-03 11:38:38 -07009deployment_type: campus
10
Zack Williams3eca6472017-06-22 18:18:38 -070011# Feature toggles
Zack Williamsbf43d752017-07-01 15:27:11 -070012use_maas: False
13use_apt_cache: True
Zack Williamsa2763112017-01-03 11:38:38 -070014
Zack Williams3eca6472017-06-22 18:18:38 -070015# XOS config
Zack Williamsa2763112017-01-03 11:38:38 -070016xos_tosca_config_templates:
Matteo Scandoloae45a2f2017-06-27 14:14:19 -070017 - xos-gui-extensions.yml
Zack Williamsa2763112017-01-03 11:38:38 -070018 - vtn-service.yaml
19 - management-net.yaml
20
Zack Williamsc989f262017-05-11 13:02:59 -070021# GUI Config [new GUI], used in app.config.js.j2 and style.config.js.j2
22gui_project_name: "OpenCloud"
23gui_favicon: "opencloud-favicon.png"
24gui_background: "opencloud-bg.jpg"
25gui_payoff: "A Value-Added Cloud for the Internet2 Community"
26gui_logo: "opencloud-logo.png"
27
Zack Williamsa2763112017-01-03 11:38:38 -070028# paths defined in manifest/default.xml
29xos_services:
30 - name: vtn
31 path: onos-apps/apps/vtn
Zack Williamsc989f262017-05-11 13:02:59 -070032 keypair: vsg_rsa
33 - name: openstack
34 path: orchestration/xos_services/openstack
Zack Williamsa2763112017-01-03 11:38:38 -070035 - name: onos
36 path: orchestration/xos_services/onos-service
Zack Williamsc989f262017-05-11 13:02:59 -070037 keypair: onos_rsa
Zack Williamsa2763112017-01-03 11:38:38 -070038 - name: vrouter
39 path: orchestration/xos_services/vrouter
40
Zack Williamsc989f262017-05-11 13:02:59 -070041# SSL certificate generation
42ssl_cert_subj_prefix: "/C=US/ST=California/L=Menlo Park/O=ON.Lab/OU={{ site_humanname }} Deployment"
Zack Williamsa2763112017-01-03 11:38:38 -070043
Zack Williamsc989f262017-05-11 13:02:59 -070044server_certs:
45 - cn: "keystone.{{ site_suffix }}"
46 subj: "{{ ssl_cert_subj_prefix }}/CN=keystone.{{ site_suffix }}"
47 altnames:
48 - "DNS:keystone.{{ site_suffix }}"
49 - "DNS:keystone"
50 - cn: "xos-core.{{ site_suffix }}"
51 subj: "{{ ssl_cert_subj_prefix }}/CN=xos-core.{{ site_suffix }}"
52 altnames:
53 - "DNS:xos-core.{{ site_suffix }}"
Zack Williamsc989f262017-05-11 13:02:59 -070054
Zack Williamsc989f262017-05-11 13:02:59 -070055# Network/DNS settings
Zack Williamsbf43d752017-07-01 15:27:11 -070056headnode: head1
57
Zack Williamsa2763112017-01-03 11:38:38 -070058dns_search:
59 - "{{ site_suffix }}"
60
Zack Williamsc989f262017-05-11 13:02:59 -070061mgmt_ipv4_first_octets: "192.168.200"
Zack Williamsa2763112017-01-03 11:38:38 -070062
Zack Williamsc989f262017-05-11 13:02:59 -070063dns_servers:
64 - "{{ mgmt_ipv4_first_octets }}.1"
65
Zack Williamsc989f262017-05-11 13:02:59 -070066# DNS settings for NSD/Unbound
Zack Williamsa2763112017-01-03 11:38:38 -070067nsd_zones:
68 - name: "{{ site_suffix }}"
Zack Williamsc989f262017-05-11 13:02:59 -070069 ipv4_first_octets: "{{ mgmt_ipv4_first_octets }}"
Zack Williamsa2763112017-01-03 11:38:38 -070070 name_reverse_unbound: "168.192.in-addr.arpa"
71 soa: ns1
72 ns:
73 - { name: ns1 }
Zack Williamsc989f262017-05-11 13:02:59 -070074 nodelists:
75 - head_lxd_list
76 - physical_node_list
Zack Williamsa2763112017-01-03 11:38:38 -070077 aliases:
Zack Williamsbf43d752017-07-01 15:27:11 -070078 - { name: "apt-cache", dest: "{{ headnode }}" }
79 - { name: "cordloghost", dest: "{{ headnode }}" }
80 - { name: "docker", dest: "{{ headnode }}" }
81 - { name: "ns", dest: "{{ headnode }}" }
82 - { name: "ns1", dest: "{{ headnode }}" }
83 - { name: "onos-cord", dest: "{{ headnode }}" }
84 - { name: "xos", dest: "{{ headnode }}" }
85 - { name: "xos-chameleon", dest: "{{ headnode }}" }
86 - { name: "xos-rest-gw", dest: "{{ headnode }}" }
87 - { name: "xos-gui", dest: "{{ headnode }}" }
Zack Williamsa2763112017-01-03 11:38:38 -070088
Zack Williamsc989f262017-05-11 13:02:59 -070089unbound_listen_all: True
Zack Williamsa2763112017-01-03 11:38:38 -070090
Zack Williamsc989f262017-05-11 13:02:59 -070091unbound_interfaces:
92 - "{{ mgmt_ipv4_first_octets }}.1/24"
93
94dhcpd_subnets:
95 - interface: mgmtbr
96 cidr: "{{ mgmt_ipv4_first_octets }}.1/24"
97 dhcp_first: 129
98 dhcp_last: 254
99 other_static:
100 - physical_node_list
101 - head_lxd_list
102
Zack Williamsc989f262017-05-11 13:02:59 -0700103physical_node_list:
104 - name: head1
105 ipv4_last_octet: 1
106 aliases:
107 - head
108 - name: compute1
109 ipv4_last_octet: 20
110 - name: compute2
111 ipv4_last_octet: 21
Zack Williamsa2763112017-01-03 11:38:38 -0700112
Zack Williams3eca6472017-06-22 18:18:38 -0700113# External interface name on compute nodes
114compute_external_interface: eth0
115
Zack Williamsa2763112017-01-03 11:38:38 -0700116# VTN network configuration
117management_network_cidr: 172.27.0.0/24
118management_network_ip: 172.27.0.1/24
119data_plane_ip: 10.168.0.253/24
120
Zack Williams3eca6472017-06-22 18:18:38 -0700121# Juju setup
Zack Williamsa2763112017-01-03 11:38:38 -0700122charm_versions:
Zack Williamsc989f262017-05-11 13:02:59 -0700123 ceilometer-agent: "cs:trusty/ceilometer-agent-13"
124 ceilometer: "cs:trusty/ceilometer-17"
125 glance: "cs:trusty/glance-28"
126 keystone: "cs:trusty/keystone-33"
127 mongodb: "cs:trusty/mongodb-33"
128 neutron-api: "cs:~cordteam/trusty/neutron-api-5"
Zack Williams79286962017-07-10 12:24:37 -0700129 nova-cloud-controller: "cs:trusty/nova-cloud-controller-64"
Zack Williamsa2763112017-01-03 11:38:38 -0700130 nova-compute: "cs:~cordteam/trusty/nova-compute-2"
Zack Williamsc989f262017-05-11 13:02:59 -0700131 ntp: "cs:trusty/ntp-14"
132 openstack-dashboard: "cs:trusty/openstack-dashboard-19"
133 percona-cluster: "cs:trusty/percona-cluster-31"
134 rabbitmq-server: "cs:trusty/rabbitmq-server-42"
Zack Williamsa2763112017-01-03 11:38:38 -0700135
136head_lxd_list:
137 - name: "juju-1"
138 service: "juju"
139 aliases:
140 - "juju"
Zack Williamsc989f262017-05-11 13:02:59 -0700141 ipv4_last_octet: 50
Zack Williamsa2763112017-01-03 11:38:38 -0700142
143 - name: "ceilometer-1"
144 service: "ceilometer"
145 aliases:
146 - "ceilometer"
Zack Williamsc989f262017-05-11 13:02:59 -0700147 ipv4_last_octet: 51
Zack Williamsa2763112017-01-03 11:38:38 -0700148 forwarded_ports:
149 - { ext: 8777, int: 8777 }
150
151 - name: "glance-1"
152 service: "glance"
153 aliases:
154 - "glance"
Zack Williamsc989f262017-05-11 13:02:59 -0700155 ipv4_last_octet: 52
Zack Williamsa2763112017-01-03 11:38:38 -0700156 forwarded_ports:
157 - { ext: 9292, int: 9292 }
158
159 - name: "keystone-1"
160 service: "keystone"
161 aliases:
162 - "keystone"
Zack Williamsc989f262017-05-11 13:02:59 -0700163 ipv4_last_octet: 53
Zack Williamsa2763112017-01-03 11:38:38 -0700164 forwarded_ports:
165 - { ext: 35357, int: 35357 }
166 - { ext: 4990, int: 4990 }
167 - { ext: 5000, int: 5000 }
168
169 - name: "percona-cluster-1"
170 service: "percona-cluster"
171 aliases:
172 - "percona-cluster"
Zack Williamsc989f262017-05-11 13:02:59 -0700173 ipv4_last_octet: 54
Zack Williamsa2763112017-01-03 11:38:38 -0700174
175 - name: "neutron-api-1"
176 service: "neutron-api"
177 aliases:
178 - "neutron-api"
Zack Williamsc989f262017-05-11 13:02:59 -0700179 ipv4_last_octet: 55
Zack Williamsa2763112017-01-03 11:38:38 -0700180 forwarded_ports:
181 - { ext: 9696, int: 9696 }
182
183 - name: "nova-cloud-controller-1"
184 service: "nova-cloud-controller"
185 aliases:
186 - "nova-cloud-controller"
Zack Williamsc989f262017-05-11 13:02:59 -0700187 ipv4_last_octet: 56
Zack Williamsa2763112017-01-03 11:38:38 -0700188 forwarded_ports:
189 - { ext: 8774, int: 8774 }
190
191 - name: "openstack-dashboard-1"
192 service: "openstack-dashboard"
193 aliases:
194 - "openstack-dashboard"
Zack Williamsc989f262017-05-11 13:02:59 -0700195 ipv4_last_octet: 57
Zack Williamsa2763112017-01-03 11:38:38 -0700196 forwarded_ports:
197 - { ext: 8080, int: 80 }
198
199 - name: "rabbitmq-server-1"
200 service: "rabbitmq-server"
201 aliases:
202 - "rabbitmq-server"
Zack Williamsc989f262017-05-11 13:02:59 -0700203 ipv4_last_octet: 58
Zack Williamsa2763112017-01-03 11:38:38 -0700204
Zack Williamsc989f262017-05-11 13:02:59 -0700205 - name: "mongodb-1"
206 service: "mongodb"
Zack Williamsa2763112017-01-03 11:38:38 -0700207 aliases:
Zack Williamsc989f262017-05-11 13:02:59 -0700208 - "mongodb"
209 ipv4_last_octet: 59
Zack Williamsa2763112017-01-03 11:38:38 -0700210
211lxd_service_list:
212 - ceilometer
213 - glance
214 - keystone
Zack Williamsc989f262017-05-11 13:02:59 -0700215 - mongodb
Zack Williamsa2763112017-01-03 11:38:38 -0700216 - neutron-api
217 - nova-cloud-controller
218 - openstack-dashboard
219 - percona-cluster
220 - rabbitmq-server
221
222standalone_service_list:
223 - ceilometer-agent
224 - ntp
225
226service_relations:
227 - name: keystone
228 relations: [ "percona-cluster", ]
229
230 - name: nova-cloud-controller
231 relations: [ "percona-cluster", "rabbitmq-server", "glance", "keystone", ]
232
233 - name: glance
234 relations: [ "percona-cluster", "keystone", ]
235
236 - name: neutron-api
237 relations: [ "keystone", "percona-cluster", "rabbitmq-server", "nova-cloud-controller", ]
238
239 - name: openstack-dashboard
240 relations: [ "keystone", ]
241
242 - name: ceilometer
243 relations: [ "mongodb", "rabbitmq-server" ]
244
245 - name: "ceilometer:identity-service"
246 relations: [ "keystone:identity-service", ]
247
248 - name: "ceilometer:ceilometer-service"
249 relations: [ "ceilometer-agent:ceilometer-service", ]
250
251
252compute_relations:
253 - name: nova-compute
254 relations: [ "ceilometer-agent", "glance", "nova-cloud-controller", ]
255
256 - name: "nova-compute:shared-db"
257 relations: [ "percona-cluster:shared-db", ]
258
259 - name: "nova-compute:amqp"
260 relations: [ "rabbitmq-server:amqp", ]
261
262 - name: ntp
263 relations: [ "nova-compute", ]
264
265
266xos_images:
267 - name: "trusty-server-multi-nic"
268 url: "http://www.vicci.org/opencloud/trusty-server-cloudimg-amd64-disk1.img"
269 checksum: "sha256:c2d0ffc937aeb96016164881052a496658efeb98959dc68e73d9895c5d9920f7"
270