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