blob: 302b7455f8cdfc60c32bbfb6ba50a584ce3025b5 [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 Williams79286962017-07-10 12:24:37 -0700128 nova-cloud-controller: "cs:trusty/nova-cloud-controller-64"
Zack Williamsa2763112017-01-03 11:38:38 -0700129 nova-compute: "cs:~cordteam/trusty/nova-compute-2"
Zack Williamsc989f262017-05-11 13:02:59 -0700130 ntp: "cs:trusty/ntp-14"
131 openstack-dashboard: "cs:trusty/openstack-dashboard-19"
132 percona-cluster: "cs:trusty/percona-cluster-31"
133 rabbitmq-server: "cs:trusty/rabbitmq-server-42"
Zack Williamsa2763112017-01-03 11:38:38 -0700134
135head_lxd_list:
136 - name: "juju-1"
137 service: "juju"
138 aliases:
139 - "juju"
Zack Williamsc989f262017-05-11 13:02:59 -0700140 ipv4_last_octet: 50
Zack Williamsa2763112017-01-03 11:38:38 -0700141
142 - name: "ceilometer-1"
143 service: "ceilometer"
144 aliases:
145 - "ceilometer"
Zack Williamsc989f262017-05-11 13:02:59 -0700146 ipv4_last_octet: 51
Zack Williamsa2763112017-01-03 11:38:38 -0700147 forwarded_ports:
148 - { ext: 8777, int: 8777 }
149
150 - name: "glance-1"
151 service: "glance"
152 aliases:
153 - "glance"
Zack Williamsc989f262017-05-11 13:02:59 -0700154 ipv4_last_octet: 52
Zack Williamsa2763112017-01-03 11:38:38 -0700155 forwarded_ports:
156 - { ext: 9292, int: 9292 }
157
158 - name: "keystone-1"
159 service: "keystone"
160 aliases:
161 - "keystone"
Zack Williamsc989f262017-05-11 13:02:59 -0700162 ipv4_last_octet: 53
Zack Williamsa2763112017-01-03 11:38:38 -0700163 forwarded_ports:
164 - { ext: 35357, int: 35357 }
165 - { ext: 4990, int: 4990 }
166 - { ext: 5000, int: 5000 }
167
168 - name: "percona-cluster-1"
169 service: "percona-cluster"
170 aliases:
171 - "percona-cluster"
Zack Williamsc989f262017-05-11 13:02:59 -0700172 ipv4_last_octet: 54
Zack Williamsa2763112017-01-03 11:38:38 -0700173
174 - name: "neutron-api-1"
175 service: "neutron-api"
176 aliases:
177 - "neutron-api"
Zack Williamsc989f262017-05-11 13:02:59 -0700178 ipv4_last_octet: 55
Zack Williamsa2763112017-01-03 11:38:38 -0700179 forwarded_ports:
180 - { ext: 9696, int: 9696 }
181
182 - name: "nova-cloud-controller-1"
183 service: "nova-cloud-controller"
184 aliases:
185 - "nova-cloud-controller"
Zack Williamsc989f262017-05-11 13:02:59 -0700186 ipv4_last_octet: 56
Zack Williamsa2763112017-01-03 11:38:38 -0700187 forwarded_ports:
188 - { ext: 8774, int: 8774 }
189
190 - name: "openstack-dashboard-1"
191 service: "openstack-dashboard"
192 aliases:
193 - "openstack-dashboard"
Zack Williamsc989f262017-05-11 13:02:59 -0700194 ipv4_last_octet: 57
Zack Williamsa2763112017-01-03 11:38:38 -0700195 forwarded_ports:
196 - { ext: 8080, int: 80 }
197
198 - name: "rabbitmq-server-1"
199 service: "rabbitmq-server"
200 aliases:
201 - "rabbitmq-server"
Zack Williamsc989f262017-05-11 13:02:59 -0700202 ipv4_last_octet: 58
Zack Williamsa2763112017-01-03 11:38:38 -0700203
Zack Williamsc989f262017-05-11 13:02:59 -0700204 - name: "mongodb-1"
205 service: "mongodb"
Zack Williamsa2763112017-01-03 11:38:38 -0700206 aliases:
Zack Williamsc989f262017-05-11 13:02:59 -0700207 - "mongodb"
208 ipv4_last_octet: 59
Zack Williamsa2763112017-01-03 11:38:38 -0700209
210lxd_service_list:
211 - ceilometer
212 - glance
213 - keystone
Zack Williamsc989f262017-05-11 13:02:59 -0700214 - mongodb
Zack Williamsa2763112017-01-03 11:38:38 -0700215 - neutron-api
216 - nova-cloud-controller
217 - openstack-dashboard
218 - percona-cluster
219 - rabbitmq-server
220
221standalone_service_list:
222 - ceilometer-agent
223 - ntp
224
225service_relations:
226 - name: keystone
227 relations: [ "percona-cluster", ]
228
229 - name: nova-cloud-controller
230 relations: [ "percona-cluster", "rabbitmq-server", "glance", "keystone", ]
231
232 - name: glance
233 relations: [ "percona-cluster", "keystone", ]
234
235 - name: neutron-api
236 relations: [ "keystone", "percona-cluster", "rabbitmq-server", "nova-cloud-controller", ]
237
238 - name: openstack-dashboard
239 relations: [ "keystone", ]
240
241 - name: ceilometer
242 relations: [ "mongodb", "rabbitmq-server" ]
243
244 - name: "ceilometer:identity-service"
245 relations: [ "keystone:identity-service", ]
246
247 - name: "ceilometer:ceilometer-service"
248 relations: [ "ceilometer-agent:ceilometer-service", ]
249
250
251compute_relations:
252 - name: nova-compute
253 relations: [ "ceilometer-agent", "glance", "nova-cloud-controller", ]
254
255 - name: "nova-compute:shared-db"
256 relations: [ "percona-cluster:shared-db", ]
257
258 - name: "nova-compute:amqp"
259 relations: [ "rabbitmq-server:amqp", ]
260
261 - name: ntp
262 relations: [ "nova-compute", ]
263
264
265xos_images:
266 - name: "trusty-server-multi-nic"
267 url: "http://www.vicci.org/opencloud/trusty-server-cloudimg-amd64-disk1.img"
268 checksum: "sha256:c2d0ffc937aeb96016164881052a496658efeb98959dc68e73d9895c5d9920f7"
269