blob: 285e8bd1956b7d694fe4b364f284414bd4bfbddb [file] [log] [blame]
Andy Bavier81ced8d2017-11-17 08:52:07 -07001---
2
3# Copyright 2017-present Open Networking Foundation
4#
5# Licensed under the Apache License, Version 2.0 (the "License");
6# you may not use this file except in compliance with the License.
7# You may obtain a copy of the License at
8#
9# http://www.apache.org/licenses/LICENSE-2.0
10#
11# Unless required by applicable law or agreed to in writing, software
12# distributed under the License is distributed on an "AS IS" BASIS,
13# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14# See the License for the specific language governing permissions and
15# limitations under the License.
16
17# profile_manifests/mcord.yml
18# Configures an M-CORD pod
19
20# site configuration
21site_name: mysite
22site_humanname: MySite
23#site_suffix: "{{ site_name }}.opencord.org"
24site_suffix: "cord.lab"
25deployment_type: MyDeployment
26
27# Feature toggles
28use_fabric: True
29use_maas: True
30
31# XOS config
32xos_tosca_config_templates:
33 - vtn-service.yaml
34 - fabric-service.yaml
35 - management-net.yaml
36 - shared-net.yaml
37 - wan-net.yaml
38 - vsg-net.yaml
39 - xos-gui-extensions.yml
40
41xos_new_tosca_config_templates:
42 - s11-net.yaml
43 - s1u-net.yaml
44 - nbi-net.yaml
45 - sbi-net.yaml
46 - spgw-net.yaml
47 - sgi-net.yaml
48 - flat-net.yaml
49 - mcord-ng4t-services.yml
50
51xos_other_templates:
52 - fabric-network-cfg.json
53
54# GUI Config [new GUI]
55gui_project_name: "M-CORD"
56gui_background: "cord-bg.jpg" # TODO find mcord image
57
58enabled_gui_extensions: []
59
60# paths defined in manifest/default.xml
61xos_services:
62 - name: vtn
63 path: orchestration/xos_services/vtn-service
64 keypair: vsg_rsa
65 - name: openstack
66 path: orchestration/xos_services/openstack
67 - name: onos
68 path: orchestration/xos_services/onos-service
69 keypair: onos_rsa
70 - name: fabric
71 path: orchestration/xos_services/fabric
72 - name: venb
73 path: orchestration/xos_services/venb
74 keypair: mcord_rsa
75 - name: vspgwc
76 path: orchestration/xos_services/vspgwc
77 keypair: mcord_rsa
78 - name: vspgwu
79 path: orchestration/xos_services/vspgwu
80 keypair: mcord_rsa
81
82profile_library: "mcord"
83
84# VTN network configuration
85management_network_cidr: 172.27.0.0/24
86management_network_ip: 172.27.0.1/24
87data_plane_ip: 10.168.0.253/24
88
89# Juju config
90charm_versions:
91 ceilometer: "cs:trusty/ceilometer-17"
92 ceilometer-agent: "cs:trusty/ceilometer-agent-13"
93 glance: "cs:trusty/glance-28"
94 keystone: "cs:trusty/keystone-267"
95 mongodb: "cs:trusty/mongodb-33"
96 percona-cluster: "cs:trusty/percona-cluster-31"
97 nagios: "cs:trusty/nagios-10"
98 neutron-api: "cs:~cordteam/trusty/neutron-api-6"
99 nova-cloud-controller: "cs:trusty/nova-cloud-controller-64"
100 nova-compute: "cs:~cordteam/trusty/nova-compute-3"
101 nrpe: "cs:trusty/nrpe-4"
102 ntp: "cs:trusty/ntp-14"
103 openstack-dashboard: "cs:trusty/openstack-dashboard-19"
104 rabbitmq-server: "cs:trusty/rabbitmq-server-42"
105
106head_lxd_list:
107 - name: "juju-1"
108 service: "juju"
109 aliases:
110 - "juju"
111 ipv4_last_octet: 10
112
113 - name: "ceilometer-1"
114 service: "ceilometer"
115 aliases:
116 - "ceilometer"
117 ipv4_last_octet: 20
118 forwarded_ports:
119 - { ext: 8777, int: 8777 }
120
121 - name: "glance-1"
122 service: "glance"
123 aliases:
124 - "glance"
125 ipv4_last_octet: 30
126 forwarded_ports:
127 - { ext: 9292, int: 9292 }
128
129 - name: "keystone-1"
130 service: "keystone"
131 aliases:
132 - "keystone"
133 ipv4_last_octet: 40
134 forwarded_ports:
135 - { ext: 35357, int: 35357 }
136 - { ext: 4990, int: 4990 }
137 - { ext: 5000, int: 5000 }
138
139 - name: "percona-cluster-1"
140 service: "percona-cluster"
141 aliases:
142 - "percona-cluster"
143 ipv4_last_octet: 50
144
145 - name: "nagios-1"
146 service: "nagios"
147 aliases:
148 - "nagios"
149 ipv4_last_octet: 60
150 forwarded_ports:
151 - { ext: 3128, int: 80 }
152
153 - name: "neutron-api-1"
154 service: "neutron-api"
155 aliases:
156 - "neutron-api"
157 ipv4_last_octet: 70
158 forwarded_ports:
159 - { ext: 9696, int: 9696 }
160
161 - name: "nova-cloud-controller-1"
162 service: "nova-cloud-controller"
163 aliases:
164 - "nova-cloud-controller"
165 ipv4_last_octet: 80
166 forwarded_ports:
167 - { ext: 8774, int: 8774 }
168
169 - name: "openstack-dashboard-1"
170 service: "openstack-dashboard"
171 aliases:
172 - "openstack-dashboard"
173 ipv4_last_octet: 90
174 forwarded_ports:
175 - { ext: 8080, int: 80 }
176
177 - name: "rabbitmq-server-1"
178 service: "rabbitmq-server"
179 aliases:
180 - "rabbitmq-server"
181 ipv4_last_octet: 100
182
183 - name: "mongodb-1"
184 service: "mongodb"
185 aliases:
186 - "mongodb"
187 ipv4_last_octet: 110
188
189lxd_service_list:
190 - ceilometer
191 - glance
192 - keystone
193 - mongodb
194 - nagios
195 - neutron-api
196 - nova-cloud-controller
197 - openstack-dashboard
198 - percona-cluster
199 - rabbitmq-server
200
201standalone_service_list:
202 - ntp
203 - nrpe
204 - ceilometer-agent
205
206
207service_relations:
208 - name: keystone
209 relations: [ "percona-cluster", "nrpe", ]
210
211 - name: nova-cloud-controller
212 relations: [ "percona-cluster", "rabbitmq-server", "glance", "keystone", "nrpe", ]
213
214 - name: glance
215 relations: [ "percona-cluster", "keystone", "nrpe", ]
216
217 - name: neutron-api
218 relations: [ "keystone", "percona-cluster", "rabbitmq-server", "nova-cloud-controller", "nrpe", ]
219
220 - name: openstack-dashboard
221 relations: [ "keystone", "nrpe", ]
222
223 - name: nagios
224 relations: [ "nrpe", ]
225
226 - name: "percona-cluster:juju-info"
227 relations: [ "nrpe:general-info", ]
228
229 - name: rabbitmq-server
230 relations: [ "nrpe", ]
231
232 - name: ceilometer
233 relations: [ "mongodb", "rabbitmq-server", "nagios", "nrpe", ]
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", "nagios", "nrpe", ]
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 # trusty-server-multi-nic right now
258 - name: "image-venb"
259 url: "http://www.vicci.org/opencloud/trusty-server-cloudimg-amd64-disk1.img.20170201"
260 checksum: "sha256:ebf007ba3ec1043b7cd011fc6668e2a1d1d4c69c41071e8513ab355df7a057cb"
261
262 - name: "image-spgwc"
Woojoong Kim15f49202017-11-21 15:37:11 -0800263 url: "http://www.vicci.org/cord/ngic-cp1-cmpress.qcow2.20171121"
264 checksum: "sha256:eca43de006d193625778597cc9b3f171752c31e0ce6dbed363954c87c33935a3"
Andy Bavier81ced8d2017-11-17 08:52:07 -0700265
266 - name: "image-spgwu"
Woojoong Kim15f49202017-11-21 15:37:11 -0800267 url: "http://www.vicci.org/cord/ngic-dp1-cmpress.qcow2.20171121"
268 checksum: "sha256:2d431dc24b8de5d531ddf9a82c20f692d9ac8c9d4dd0295c535acc06c6635bc5"