blob: 1ab7cef03826b8e12029ead8e6148915cf21d1e0 [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:
Zack Williamsa2763112017-01-03 11:38:38 -070017 - vtn-service.yaml
18 - management-net.yaml
19
Zack Williamsc989f262017-05-11 13:02:59 -070020# GUI Config [new GUI], used in app.config.js.j2 and style.config.js.j2
21gui_project_name: "OpenCloud"
22gui_favicon: "opencloud-favicon.png"
23gui_background: "opencloud-bg.jpg"
24gui_payoff: "A Value-Added Cloud for the Internet2 Community"
25gui_logo: "opencloud-logo.png"
26
Zack Williamsa2763112017-01-03 11:38:38 -070027# paths defined in manifest/default.xml
28xos_services:
29 - name: vtn
30 path: onos-apps/apps/vtn
Zack Williamsc989f262017-05-11 13:02:59 -070031 keypair: vsg_rsa
32 - name: openstack
33 path: orchestration/xos_services/openstack
Zack Williamsa2763112017-01-03 11:38:38 -070034 - name: onos
35 path: orchestration/xos_services/onos-service
Zack Williamsc989f262017-05-11 13:02:59 -070036 keypair: onos_rsa
Zack Williamsa2763112017-01-03 11:38:38 -070037 - name: vrouter
38 path: orchestration/xos_services/vrouter
39
Zack Williamsc989f262017-05-11 13:02:59 -070040# SSL certificate generation
41ssl_cert_subj_prefix: "/C=US/ST=California/L=Menlo Park/O=ON.Lab/OU={{ site_humanname }} Deployment"
Zack Williamsa2763112017-01-03 11:38:38 -070042
Zack Williamsc989f262017-05-11 13:02:59 -070043server_certs:
44 - cn: "keystone.{{ site_suffix }}"
45 subj: "{{ ssl_cert_subj_prefix }}/CN=keystone.{{ site_suffix }}"
46 altnames:
47 - "DNS:keystone.{{ site_suffix }}"
48 - "DNS:keystone"
49 - cn: "xos-core.{{ site_suffix }}"
50 subj: "{{ ssl_cert_subj_prefix }}/CN=xos-core.{{ site_suffix }}"
51 altnames:
52 - "DNS:xos-core.{{ site_suffix }}"
Zack Williamsc989f262017-05-11 13:02:59 -070053
Zack Williamsc989f262017-05-11 13:02:59 -070054# Network/DNS settings
Zack Williamsbf43d752017-07-01 15:27:11 -070055headnode: head1
56
Zack Williamsa2763112017-01-03 11:38:38 -070057dns_search:
58 - "{{ site_suffix }}"
59
Zack Williamsc989f262017-05-11 13:02:59 -070060mgmt_ipv4_first_octets: "192.168.200"
Zack Williamsa2763112017-01-03 11:38:38 -070061
Zack Williamsc989f262017-05-11 13:02:59 -070062dns_servers:
63 - "{{ mgmt_ipv4_first_octets }}.1"
64
Zack Williamsc989f262017-05-11 13:02:59 -070065# DNS settings for NSD/Unbound
Zack Williamsa2763112017-01-03 11:38:38 -070066nsd_zones:
67 - name: "{{ site_suffix }}"
Zack Williamsc989f262017-05-11 13:02:59 -070068 ipv4_first_octets: "{{ mgmt_ipv4_first_octets }}"
Zack Williamsa2763112017-01-03 11:38:38 -070069 name_reverse_unbound: "168.192.in-addr.arpa"
70 soa: ns1
71 ns:
72 - { name: ns1 }
Zack Williamsc989f262017-05-11 13:02:59 -070073 nodelists:
74 - head_lxd_list
75 - physical_node_list
Zack Williamsa2763112017-01-03 11:38:38 -070076 aliases:
Zack Williamsbf43d752017-07-01 15:27:11 -070077 - { name: "apt-cache", dest: "{{ headnode }}" }
78 - { name: "cordloghost", dest: "{{ headnode }}" }
79 - { name: "docker", dest: "{{ headnode }}" }
80 - { name: "ns", dest: "{{ headnode }}" }
81 - { name: "ns1", dest: "{{ headnode }}" }
82 - { name: "onos-cord", dest: "{{ headnode }}" }
83 - { name: "xos", dest: "{{ headnode }}" }
84 - { name: "xos-chameleon", dest: "{{ headnode }}" }
85 - { name: "xos-rest-gw", dest: "{{ headnode }}" }
86 - { name: "xos-gui", dest: "{{ headnode }}" }
Zack Williamsa2763112017-01-03 11:38:38 -070087
Zack Williamsc989f262017-05-11 13:02:59 -070088unbound_listen_all: True
Zack Williamsa2763112017-01-03 11:38:38 -070089
Zack Williamsc989f262017-05-11 13:02:59 -070090unbound_interfaces:
91 - "{{ mgmt_ipv4_first_octets }}.1/24"
92
93dhcpd_subnets:
94 - interface: mgmtbr
95 cidr: "{{ mgmt_ipv4_first_octets }}.1/24"
96 dhcp_first: 129
97 dhcp_last: 254
98 other_static:
99 - physical_node_list
100 - head_lxd_list
101
Zack Williamsc989f262017-05-11 13:02:59 -0700102physical_node_list:
103 - name: head1
104 ipv4_last_octet: 1
105 aliases:
106 - head
107 - name: compute1
108 ipv4_last_octet: 20
109 - name: compute2
110 ipv4_last_octet: 21
Zack Williamsa2763112017-01-03 11:38:38 -0700111
Zack Williams3eca6472017-06-22 18:18:38 -0700112# External interface name on compute nodes
113compute_external_interface: eth0
114
Zack Williamsa2763112017-01-03 11:38:38 -0700115# VTN network configuration
116management_network_cidr: 172.27.0.0/24
117management_network_ip: 172.27.0.1/24
118data_plane_ip: 10.168.0.253/24
119
Zack Williams3eca6472017-06-22 18:18:38 -0700120# Juju setup
Zack Williamsa2763112017-01-03 11:38:38 -0700121charm_versions:
Zack Williamsc989f262017-05-11 13:02:59 -0700122 ceilometer-agent: "cs:trusty/ceilometer-agent-13"
123 ceilometer: "cs:trusty/ceilometer-17"
124 glance: "cs:trusty/glance-28"
125 keystone: "cs:trusty/keystone-33"
126 mongodb: "cs:trusty/mongodb-33"
127 neutron-api: "cs:~cordteam/trusty/neutron-api-5"
Zack Williamsa2763112017-01-03 11:38:38 -0700128 nova-compute: "cs:~cordteam/trusty/nova-compute-2"
Zack Williamsc989f262017-05-11 13:02:59 -0700129 ntp: "cs:trusty/ntp-14"
130 openstack-dashboard: "cs:trusty/openstack-dashboard-19"
131 percona-cluster: "cs:trusty/percona-cluster-31"
132 rabbitmq-server: "cs:trusty/rabbitmq-server-42"
Zack Williamsa2763112017-01-03 11:38:38 -0700133
134head_lxd_list:
135 - name: "juju-1"
136 service: "juju"
137 aliases:
138 - "juju"
Zack Williamsc989f262017-05-11 13:02:59 -0700139 ipv4_last_octet: 50
Zack Williamsa2763112017-01-03 11:38:38 -0700140
141 - name: "ceilometer-1"
142 service: "ceilometer"
143 aliases:
144 - "ceilometer"
Zack Williamsc989f262017-05-11 13:02:59 -0700145 ipv4_last_octet: 51
Zack Williamsa2763112017-01-03 11:38:38 -0700146 forwarded_ports:
147 - { ext: 8777, int: 8777 }
148
149 - name: "glance-1"
150 service: "glance"
151 aliases:
152 - "glance"
Zack Williamsc989f262017-05-11 13:02:59 -0700153 ipv4_last_octet: 52
Zack Williamsa2763112017-01-03 11:38:38 -0700154 forwarded_ports:
155 - { ext: 9292, int: 9292 }
156
157 - name: "keystone-1"
158 service: "keystone"
159 aliases:
160 - "keystone"
Zack Williamsc989f262017-05-11 13:02:59 -0700161 ipv4_last_octet: 53
Zack Williamsa2763112017-01-03 11:38:38 -0700162 forwarded_ports:
163 - { ext: 35357, int: 35357 }
164 - { ext: 4990, int: 4990 }
165 - { ext: 5000, int: 5000 }
166
167 - name: "percona-cluster-1"
168 service: "percona-cluster"
169 aliases:
170 - "percona-cluster"
Zack Williamsc989f262017-05-11 13:02:59 -0700171 ipv4_last_octet: 54
Zack Williamsa2763112017-01-03 11:38:38 -0700172
173 - name: "neutron-api-1"
174 service: "neutron-api"
175 aliases:
176 - "neutron-api"
Zack Williamsc989f262017-05-11 13:02:59 -0700177 ipv4_last_octet: 55
Zack Williamsa2763112017-01-03 11:38:38 -0700178 forwarded_ports:
179 - { ext: 9696, int: 9696 }
180
181 - name: "nova-cloud-controller-1"
182 service: "nova-cloud-controller"
183 aliases:
184 - "nova-cloud-controller"
Zack Williamsc989f262017-05-11 13:02:59 -0700185 ipv4_last_octet: 56
Zack Williamsa2763112017-01-03 11:38:38 -0700186 forwarded_ports:
187 - { ext: 8774, int: 8774 }
188
189 - name: "openstack-dashboard-1"
190 service: "openstack-dashboard"
191 aliases:
192 - "openstack-dashboard"
Zack Williamsc989f262017-05-11 13:02:59 -0700193 ipv4_last_octet: 57
Zack Williamsa2763112017-01-03 11:38:38 -0700194 forwarded_ports:
195 - { ext: 8080, int: 80 }
196
197 - name: "rabbitmq-server-1"
198 service: "rabbitmq-server"
199 aliases:
200 - "rabbitmq-server"
Zack Williamsc989f262017-05-11 13:02:59 -0700201 ipv4_last_octet: 58
Zack Williamsa2763112017-01-03 11:38:38 -0700202
Zack Williamsc989f262017-05-11 13:02:59 -0700203 - name: "mongodb-1"
204 service: "mongodb"
Zack Williamsa2763112017-01-03 11:38:38 -0700205 aliases:
Zack Williamsc989f262017-05-11 13:02:59 -0700206 - "mongodb"
207 ipv4_last_octet: 59
Zack Williamsa2763112017-01-03 11:38:38 -0700208
209lxd_service_list:
210 - ceilometer
211 - glance
212 - keystone
Zack Williamsc989f262017-05-11 13:02:59 -0700213 - mongodb
Zack Williamsa2763112017-01-03 11:38:38 -0700214 - neutron-api
215 - nova-cloud-controller
216 - openstack-dashboard
217 - percona-cluster
218 - rabbitmq-server
219
220standalone_service_list:
221 - ceilometer-agent
222 - ntp
223
224service_relations:
225 - name: keystone
226 relations: [ "percona-cluster", ]
227
228 - name: nova-cloud-controller
229 relations: [ "percona-cluster", "rabbitmq-server", "glance", "keystone", ]
230
231 - name: glance
232 relations: [ "percona-cluster", "keystone", ]
233
234 - name: neutron-api
235 relations: [ "keystone", "percona-cluster", "rabbitmq-server", "nova-cloud-controller", ]
236
237 - name: openstack-dashboard
238 relations: [ "keystone", ]
239
240 - name: ceilometer
241 relations: [ "mongodb", "rabbitmq-server" ]
242
243 - name: "ceilometer:identity-service"
244 relations: [ "keystone:identity-service", ]
245
246 - name: "ceilometer:ceilometer-service"
247 relations: [ "ceilometer-agent:ceilometer-service", ]
248
249
250compute_relations:
251 - name: nova-compute
252 relations: [ "ceilometer-agent", "glance", "nova-cloud-controller", ]
253
254 - name: "nova-compute:shared-db"
255 relations: [ "percona-cluster:shared-db", ]
256
257 - name: "nova-compute:amqp"
258 relations: [ "rabbitmq-server:amqp", ]
259
260 - name: ntp
261 relations: [ "nova-compute", ]
262
263
264xos_images:
265 - name: "trusty-server-multi-nic"
266 url: "http://www.vicci.org/opencloud/trusty-server-cloudimg-amd64-disk1.img"
267 checksum: "sha256:c2d0ffc937aeb96016164881052a496658efeb98959dc68e73d9895c5d9920f7"
268