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