blob: 59cd75bef9742848e11a39edb5228be9f7c09f88 [file] [log] [blame]
Andy Bavierd7886812017-12-06 16:32:21 -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-spirent-services.yml
50 - service-graph-constraints.yaml
51
52xos_other_templates:
53 - fabric-network-cfg.json
54
55# GUI Config [new GUI]
56gui_project_name: "M-CORD"
57gui_background: "cord-bg.jpg" # TODO find mcord image
58
59enabled_gui_extensions: []
60
61# paths defined in manifest/default.xml
62xos_services:
63 - name: vtn
64 path: orchestration/xos_services/vtn-service
65 keypair: vsg_rsa
66 - name: openstack
67 path: orchestration/xos_services/openstack
68 - name: onos
69 path: orchestration/xos_services/onos-service
70 keypair: onos_rsa
71 - name: fabric
72 path: orchestration/xos_services/fabric
73 - name: venb
74 path: orchestration/xos_services/venb
75 keypair: mcord_rsa
76 - name: vspgwc
77 path: orchestration/xos_services/vspgwc
78 keypair: mcord_rsa
79 - name: vspgwu
80 path: orchestration/xos_services/vspgwu
81 keypair: mcord_rsa
82
83# service graph gui constraints
84xos_gui_service_graph_constraints: '[]'
85
86profile_library: "mcord"
87
88# VTN network configuration
89management_network_cidr: 172.27.0.0/24
90management_network_ip: 172.27.0.1/24
91data_plane_ip: 10.168.0.253/24
92
93# Juju config
94charm_versions:
95 ceilometer: "cs:trusty/ceilometer-17"
96 ceilometer-agent: "cs:trusty/ceilometer-agent-13"
97 glance: "cs:trusty/glance-28"
98 keystone: "cs:trusty/keystone-267"
99 mongodb: "cs:trusty/mongodb-33"
100 percona-cluster: "cs:trusty/percona-cluster-31"
101 nagios: "cs:trusty/nagios-10"
102 neutron-api: "cs:~cordteam/trusty/neutron-api-6"
103 nova-cloud-controller: "cs:trusty/nova-cloud-controller-64"
104 nova-compute: "cs:~cordteam/trusty/nova-compute-4"
105 nrpe: "cs:trusty/nrpe-4"
106 ntp: "cs:trusty/ntp-14"
107 openstack-dashboard: "cs:trusty/openstack-dashboard-19"
108 rabbitmq-server: "cs:trusty/rabbitmq-server-42"
109
110head_lxd_list:
111 - name: "juju-1"
112 service: "juju"
113 aliases:
114 - "juju"
115 ipv4_last_octet: 10
116
117 - name: "ceilometer-1"
118 service: "ceilometer"
119 aliases:
120 - "ceilometer"
121 ipv4_last_octet: 20
122 forwarded_ports:
123 - { ext: 8777, int: 8777 }
124
125 - name: "glance-1"
126 service: "glance"
127 aliases:
128 - "glance"
129 ipv4_last_octet: 30
130 forwarded_ports:
131 - { ext: 9292, int: 9292 }
132
133 - name: "keystone-1"
134 service: "keystone"
135 aliases:
136 - "keystone"
137 ipv4_last_octet: 40
138 forwarded_ports:
139 - { ext: 35357, int: 35357 }
140 - { ext: 4990, int: 4990 }
141 - { ext: 5000, int: 5000 }
142
143 - name: "percona-cluster-1"
144 service: "percona-cluster"
145 aliases:
146 - "percona-cluster"
147 ipv4_last_octet: 50
148
149 - name: "nagios-1"
150 service: "nagios"
151 aliases:
152 - "nagios"
153 ipv4_last_octet: 60
154 forwarded_ports:
155 - { ext: 3128, int: 80 }
156
157 - name: "neutron-api-1"
158 service: "neutron-api"
159 aliases:
160 - "neutron-api"
161 ipv4_last_octet: 70
162 forwarded_ports:
163 - { ext: 9696, int: 9696 }
164
165 - name: "nova-cloud-controller-1"
166 service: "nova-cloud-controller"
167 aliases:
168 - "nova-cloud-controller"
169 ipv4_last_octet: 80
170 forwarded_ports:
171 - { ext: 8774, int: 8774 }
172
173 - name: "openstack-dashboard-1"
174 service: "openstack-dashboard"
175 aliases:
176 - "openstack-dashboard"
177 ipv4_last_octet: 90
178 forwarded_ports:
179 - { ext: 8080, int: 80 }
180
181 - name: "rabbitmq-server-1"
182 service: "rabbitmq-server"
183 aliases:
184 - "rabbitmq-server"
185 ipv4_last_octet: 100
186
187 - name: "mongodb-1"
188 service: "mongodb"
189 aliases:
190 - "mongodb"
191 ipv4_last_octet: 110
192
193lxd_service_list:
194 - ceilometer
195 - glance
196 - keystone
197 - mongodb
198 - nagios
199 - neutron-api
200 - nova-cloud-controller
201 - openstack-dashboard
202 - percona-cluster
203 - rabbitmq-server
204
205standalone_service_list:
206 - ntp
207 - nrpe
208 - ceilometer-agent
209
210
211service_relations:
212 - name: keystone
213 relations: [ "percona-cluster", "nrpe", ]
214
215 - name: nova-cloud-controller
216 relations: [ "percona-cluster", "rabbitmq-server", "glance", "keystone", "nrpe", ]
217
218 - name: glance
219 relations: [ "percona-cluster", "keystone", "nrpe", ]
220
221 - name: neutron-api
222 relations: [ "keystone", "percona-cluster", "rabbitmq-server", "nova-cloud-controller", "nrpe", ]
223
224 - name: openstack-dashboard
225 relations: [ "keystone", "nrpe", ]
226
227 - name: nagios
228 relations: [ "nrpe", ]
229
230 - name: "percona-cluster:juju-info"
231 relations: [ "nrpe:general-info", ]
232
233 - name: rabbitmq-server
234 relations: [ "nrpe", ]
235
236 - name: ceilometer
237 relations: [ "mongodb", "rabbitmq-server", "nagios", "nrpe", ]
238
239 - name: "ceilometer:identity-service"
240 relations: [ "keystone:identity-service", ]
241
242 - name: "ceilometer:ceilometer-service"
243 relations: [ "ceilometer-agent:ceilometer-service", ]
244
245
246compute_relations:
247 - name: nova-compute
248 relations: [ "ceilometer-agent", "glance", "nova-cloud-controller", "nagios", "nrpe", ]
249
250 - name: "nova-compute:shared-db"
251 relations: [ "percona-cluster:shared-db", ]
252
253 - name: "nova-compute:amqp"
254 relations: [ "rabbitmq-server:amqp", ]
255
256 - name: ntp
257 relations: [ "nova-compute", ]
258
259
260xos_images:
261 - name: "trusty-server-multi-nic"
262 url: "http://www.vicci.org/opencloud/trusty-server-cloudimg-amd64-disk1.img.20170201"
263 checksum: "sha256:ebf007ba3ec1043b7cd011fc6668e2a1d1d4c69c41071e8513ab355df7a057cb"
264
265 - name: "image-venb"
266 url: "http://www.vicci.org/opencloud/trusty-server-cloudimg-amd64-disk1.img.20170201"
267 checksum: "sha256:ebf007ba3ec1043b7cd011fc6668e2a1d1d4c69c41071e8513ab355df7a057cb"
268
269 - name: "image-spgwc"
270 url: "http://www.vicci.org/cord/ngic-cp1-cmpress.qcow2.20171121"
271 checksum: "sha256:eca43de006d193625778597cc9b3f171752c31e0ce6dbed363954c87c33935a3"
272
273 - name: "image-spgwu"
274 url: "http://www.vicci.org/cord/ngic-dp1-cmpress.qcow2.20171121"
275 checksum: "sha256:2d431dc24b8de5d531ddf9a82c20f692d9ac8c9d4dd0295c535acc06c6635bc5"