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