Andy Bavier | e6478b2 | 2017-12-21 13:17:56 -0700 | [diff] [blame] | 1 | --- |
| 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 | # Profile info located in orchestration/profiles/<cord_use_case> |
| 21 | cord_use_case: mcord |
| 22 | |
| 23 | # site configuration |
| 24 | site_name: mysite |
| 25 | site_humanname: MySite |
| 26 | #site_suffix: "{{ site_name }}.opencord.org" |
| 27 | site_suffix: "cord.lab" |
| 28 | deployment_type: MyDeployment |
| 29 | |
| 30 | # Feature toggles |
| 31 | use_fabric: True |
| 32 | use_maas: True |
| 33 | |
| 34 | # XOS config |
Andy Bavier | ece6406 | 2018-02-01 15:58:42 -0700 | [diff] [blame] | 35 | xos_tosca_config_templates: |
Andy Bavier | e6478b2 | 2017-12-21 13:17:56 -0700 | [diff] [blame] | 36 | - vtn-service.yaml |
| 37 | - fabric-service.yaml |
| 38 | - management-net.yaml |
Andy Bavier | e6478b2 | 2017-12-21 13:17:56 -0700 | [diff] [blame] | 39 | - mcord-cavium-services.yml |
| 40 | - xos-gui-extensions.yml |
| 41 | - service-graph-constraints.yaml |
| 42 | |
Andy Bavier | e6478b2 | 2017-12-21 13:17:56 -0700 | [diff] [blame] | 43 | # GUI Config [new GUI] |
| 44 | gui_project_name: "M-CORD" |
| 45 | gui_background: "cord-bg.jpg" # TODO find mcord image |
| 46 | |
| 47 | enabled_gui_extensions: [] |
| 48 | |
Woojoong Kim | 6586fe8 | 2018-01-09 13:10:03 -0800 | [diff] [blame] | 49 | # paths defined in manifest/default.xml |
Andy Bavier | e6478b2 | 2017-12-21 13:17:56 -0700 | [diff] [blame] | 50 | xos_services: |
Scott Baker | 2548824 | 2018-03-05 16:13:39 -0800 | [diff] [blame] | 51 | - name: mcord |
| 52 | path: orchestration/profiles/mcord |
Andy Bavier | e6478b2 | 2017-12-21 13:17:56 -0700 | [diff] [blame] | 53 | - name: vtn |
| 54 | path: orchestration/xos_services/vtn-service |
| 55 | keypair: vsg_rsa |
| 56 | - name: openstack |
| 57 | path: orchestration/xos_services/openstack |
| 58 | - name: onos |
| 59 | path: orchestration/xos_services/onos-service |
| 60 | keypair: onos_rsa |
| 61 | - name: addressmanager |
| 62 | path: orchestration/xos_services/addressmanager |
| 63 | - name: fabric |
| 64 | path: orchestration/xos_services/fabric |
| 65 | - name: vmme |
| 66 | path: orchestration/xos_services/vmme |
| 67 | keypair: mcord_rsa |
| 68 | - name: vspgwc |
| 69 | path: orchestration/xos_services/vspgwc |
| 70 | keypair: mcord_rsa |
| 71 | - name: vspgwu |
| 72 | path: orchestration/xos_services/vspgwu |
| 73 | keypair: mcord_rsa |
Andy Bavier | 0d1131e | 2018-01-02 11:27:43 -0700 | [diff] [blame] | 74 | - name: vhss |
| 75 | path: orchestration/xos_services/vhss |
| 76 | keypair: mcord_rsa |
Woojoong Kim | 6586fe8 | 2018-01-09 13:10:03 -0800 | [diff] [blame] | 77 | - name: hssdb |
| 78 | path: orchestration/xos_services/hss_db |
| 79 | keypair: mcord_rsa |
JianHao | ea1948b | 2018-01-18 20:14:01 +0800 | [diff] [blame] | 80 | - name: internetemulator |
| 81 | path: orchestration/xos_services/internetemulator |
| 82 | keypair: mcord_rsa |
Andy Bavier | 0d1131e | 2018-01-02 11:27:43 -0700 | [diff] [blame] | 83 | - name: sdncontroller |
| 84 | path: orchestration/xos_services/sdn-controller |
| 85 | keypair: mcord_rsa |
Andy Bavier | e6478b2 | 2017-12-21 13:17:56 -0700 | [diff] [blame] | 86 | - name: vepc |
| 87 | path: orchestration/xos_services/epc-service |
| 88 | keypair: mcord_rsa |
Matteo Scandolo | 0fd48b4 | 2018-01-26 11:03:37 -0800 | [diff] [blame] | 89 | - name: progran |
| 90 | path: orchestration/xos_services/progran |
Andy Bavier | e6478b2 | 2017-12-21 13:17:56 -0700 | [diff] [blame] | 91 | |
| 92 | # service graph gui constraints |
Matteo Scandolo | 0fd48b4 | 2018-01-26 11:03:37 -0800 | [diff] [blame] | 93 | xos_gui_service_graph_constraints: '[ |
| 94 | ["vepc", null, "mcord", null, null], |
| 95 | [null, null, "progran", null, null], |
| 96 | ["hssdb", "vhss", "vmme", null, null], |
| 97 | [null, "vspgwc", "sdncontroller","vspgwu", null], |
| 98 | [null, null, null, "internetemulator", null] |
| 99 | ]' |
Andy Bavier | e6478b2 | 2017-12-21 13:17:56 -0700 | [diff] [blame] | 100 | |
Andy Bavier | 9670128 | 2018-01-22 20:41:25 -0800 | [diff] [blame] | 101 | # For creating the EPC networks in mcord-cavium-services.yml (copied from EPC blueprint) |
| 102 | mcord_networks: |
| 103 | - name: s11_network |
| 104 | subnet: 112.0.0.0/24 |
| 105 | permit_all_slices: True |
| 106 | template: private_template |
| 107 | owner: vspgwc |
| 108 | - name: sgi_network |
| 109 | subnet: 115.0.0.0/24 |
| 110 | permit_all_slices: True |
| 111 | owner: vspgwu |
| 112 | template: private_template |
| 113 | - name: spgw_network |
| 114 | subnet: 117.0.0.0/24 |
| 115 | permit_all_slices: True |
| 116 | template: private_template |
| 117 | owner: vspgwu |
| 118 | - name: flat_network_s1mme |
| 119 | subnet: 118.0.0.0/24 |
| 120 | permit_all_slices: True |
| 121 | template: flat_template |
| 122 | owner: vmme |
| 123 | - name: flat_network_s1u |
| 124 | subnet: 119.0.0.0/24 |
| 125 | permit_all_slices: True |
| 126 | template: flat_template |
| 127 | owner: vspgwu |
| 128 | - name: s6a_network |
| 129 | subnet: 120.0.0.0/24 |
| 130 | permit_all_slices: True |
| 131 | template: private_template |
| 132 | owner: vhss |
| 133 | - name: db_network |
| 134 | subnet: 121.0.0.0/24 |
| 135 | permit_all_slices: True |
| 136 | template: private_template |
| 137 | owner: vhss |
| 138 | |
Andy Bavier | e6478b2 | 2017-12-21 13:17:56 -0700 | [diff] [blame] | 139 | # Juju config |
| 140 | charm_versions: |
| 141 | ceilometer: "cs:trusty/ceilometer-17" |
| 142 | ceilometer-agent: "cs:trusty/ceilometer-agent-13" |
| 143 | glance: "cs:trusty/glance-28" |
| 144 | keystone: "cs:trusty/keystone-267" |
| 145 | mongodb: "cs:trusty/mongodb-33" |
| 146 | percona-cluster: "cs:trusty/percona-cluster-31" |
| 147 | nagios: "cs:trusty/nagios-10" |
| 148 | neutron-api: "cs:~cordteam/trusty/neutron-api-6" |
| 149 | nova-cloud-controller: "cs:trusty/nova-cloud-controller-64" |
Andy Bavier | 0d1131e | 2018-01-02 11:27:43 -0700 | [diff] [blame] | 150 | nova-compute: "cs:~cordteam/trusty/nova-compute-4" |
Andy Bavier | e6478b2 | 2017-12-21 13:17:56 -0700 | [diff] [blame] | 151 | nrpe: "cs:trusty/nrpe-4" |
| 152 | ntp: "cs:trusty/ntp-14" |
| 153 | openstack-dashboard: "cs:trusty/openstack-dashboard-19" |
| 154 | rabbitmq-server: "cs:trusty/rabbitmq-server-42" |
| 155 | |
| 156 | head_lxd_list: |
| 157 | - name: "juju-1" |
| 158 | service: "juju" |
| 159 | aliases: |
| 160 | - "juju" |
| 161 | ipv4_last_octet: 10 |
| 162 | |
| 163 | - name: "ceilometer-1" |
| 164 | service: "ceilometer" |
| 165 | aliases: |
| 166 | - "ceilometer" |
| 167 | ipv4_last_octet: 20 |
| 168 | forwarded_ports: |
| 169 | - { ext: 8777, int: 8777 } |
| 170 | |
| 171 | - name: "glance-1" |
| 172 | service: "glance" |
| 173 | aliases: |
| 174 | - "glance" |
| 175 | ipv4_last_octet: 30 |
| 176 | forwarded_ports: |
| 177 | - { ext: 9292, int: 9292 } |
| 178 | |
| 179 | - name: "keystone-1" |
| 180 | service: "keystone" |
| 181 | aliases: |
| 182 | - "keystone" |
| 183 | ipv4_last_octet: 40 |
| 184 | forwarded_ports: |
| 185 | - { ext: 35357, int: 35357 } |
| 186 | - { ext: 4990, int: 4990 } |
| 187 | - { ext: 5000, int: 5000 } |
| 188 | |
| 189 | - name: "percona-cluster-1" |
| 190 | service: "percona-cluster" |
| 191 | aliases: |
| 192 | - "percona-cluster" |
| 193 | ipv4_last_octet: 50 |
| 194 | |
| 195 | - name: "nagios-1" |
| 196 | service: "nagios" |
| 197 | aliases: |
| 198 | - "nagios" |
| 199 | ipv4_last_octet: 60 |
| 200 | forwarded_ports: |
| 201 | - { ext: 3128, int: 80 } |
| 202 | |
| 203 | - name: "neutron-api-1" |
| 204 | service: "neutron-api" |
| 205 | aliases: |
| 206 | - "neutron-api" |
| 207 | ipv4_last_octet: 70 |
| 208 | forwarded_ports: |
| 209 | - { ext: 9696, int: 9696 } |
| 210 | |
| 211 | - name: "nova-cloud-controller-1" |
| 212 | service: "nova-cloud-controller" |
| 213 | aliases: |
| 214 | - "nova-cloud-controller" |
| 215 | ipv4_last_octet: 80 |
| 216 | forwarded_ports: |
| 217 | - { ext: 8774, int: 8774 } |
| 218 | |
| 219 | - name: "openstack-dashboard-1" |
| 220 | service: "openstack-dashboard" |
| 221 | aliases: |
| 222 | - "openstack-dashboard" |
| 223 | ipv4_last_octet: 90 |
| 224 | forwarded_ports: |
| 225 | - { ext: 8080, int: 80 } |
| 226 | |
| 227 | - name: "rabbitmq-server-1" |
| 228 | service: "rabbitmq-server" |
| 229 | aliases: |
| 230 | - "rabbitmq-server" |
| 231 | ipv4_last_octet: 100 |
| 232 | |
| 233 | - name: "mongodb-1" |
| 234 | service: "mongodb" |
| 235 | aliases: |
| 236 | - "mongodb" |
| 237 | ipv4_last_octet: 110 |
| 238 | |
| 239 | lxd_service_list: |
| 240 | - ceilometer |
| 241 | - glance |
| 242 | - keystone |
| 243 | - mongodb |
| 244 | - nagios |
| 245 | - neutron-api |
| 246 | - nova-cloud-controller |
| 247 | - openstack-dashboard |
| 248 | - percona-cluster |
| 249 | - rabbitmq-server |
| 250 | |
| 251 | standalone_service_list: |
| 252 | - ntp |
| 253 | - nrpe |
| 254 | - ceilometer-agent |
| 255 | |
| 256 | |
| 257 | service_relations: |
| 258 | - name: keystone |
| 259 | relations: [ "percona-cluster", "nrpe", ] |
| 260 | |
| 261 | - name: nova-cloud-controller |
| 262 | relations: [ "percona-cluster", "rabbitmq-server", "glance", "keystone", "nrpe", ] |
| 263 | |
| 264 | - name: glance |
| 265 | relations: [ "percona-cluster", "keystone", "nrpe", ] |
| 266 | |
| 267 | - name: neutron-api |
| 268 | relations: [ "keystone", "percona-cluster", "rabbitmq-server", "nova-cloud-controller", "nrpe", ] |
| 269 | |
| 270 | - name: openstack-dashboard |
| 271 | relations: [ "keystone", "nrpe", ] |
| 272 | |
| 273 | - name: nagios |
| 274 | relations: [ "nrpe", ] |
| 275 | |
| 276 | - name: "percona-cluster:juju-info" |
| 277 | relations: [ "nrpe:general-info", ] |
| 278 | |
| 279 | - name: rabbitmq-server |
| 280 | relations: [ "nrpe", ] |
| 281 | |
| 282 | - name: ceilometer |
| 283 | relations: [ "mongodb", "rabbitmq-server", "nagios", "nrpe", ] |
| 284 | |
| 285 | - name: "ceilometer:identity-service" |
| 286 | relations: [ "keystone:identity-service", ] |
| 287 | |
| 288 | - name: "ceilometer:ceilometer-service" |
| 289 | relations: [ "ceilometer-agent:ceilometer-service", ] |
| 290 | |
| 291 | |
| 292 | compute_relations: |
| 293 | - name: nova-compute |
| 294 | relations: [ "ceilometer-agent", "glance", "nova-cloud-controller", "nagios", "nrpe", ] |
| 295 | |
| 296 | - name: "nova-compute:shared-db" |
| 297 | relations: [ "percona-cluster:shared-db", ] |
| 298 | |
| 299 | - name: "nova-compute:amqp" |
| 300 | relations: [ "rabbitmq-server:amqp", ] |
| 301 | |
| 302 | - name: ntp |
| 303 | relations: [ "nova-compute", ] |
| 304 | |
Andy Bavier | 0db4faf | 2018-01-17 16:20:16 -0700 | [diff] [blame] | 305 | image_dir: /opt/cord_profile/images # Should change the build to symlink instead of copy images? |
Andy Bavier | e6478b2 | 2017-12-21 13:17:56 -0700 | [diff] [blame] | 306 | xos_images: |
| 307 | - name: "image-test" |
| 308 | url: "https://github.com/opencord/platform-install/releases/download/vms/trusty-server-cloudimg-amd64-disk1.img.20170201" |
| 309 | checksum: "sha256:ebf007ba3ec1043b7cd011fc6668e2a1d1d4c69c41071e8513ab355df7a057cb" |
| 310 | |
Andy Bavier | 0db4faf | 2018-01-17 16:20:16 -0700 | [diff] [blame] | 311 | - name: "image-mme" |
Pingping Lin | 22e237c | 2018-05-11 14:47:59 -0700 | [diff] [blame] | 312 | url: "http://www.vicci.org/cord/image-mme.qcow2.20180511" |
| 313 | checksum: "sha256:c063e902172a08c9d6bc9fc3438f164dd7c0ddc6610c25c4ae47d6940629709e" |
Andy Bavier | 0db4faf | 2018-01-17 16:20:16 -0700 | [diff] [blame] | 314 | |
| 315 | - name: "image-hss" |
Pingping Lin | 22e237c | 2018-05-11 14:47:59 -0700 | [diff] [blame] | 316 | url: "http://www.vicci.org/cord/image-hss.qcow2.20180511" |
| 317 | checksum: "sha256:8ab04032c0d84d91e31bee6a261d70c26038182f80da3ac48e3391851e4eb88b" |
Andy Bavier | 0db4faf | 2018-01-17 16:20:16 -0700 | [diff] [blame] | 318 | |
| 319 | - name: "image-hss-db" |
Pingping Lin | 22e237c | 2018-05-11 14:47:59 -0700 | [diff] [blame] | 320 | url: "http://www.vicci.org/cord/image-hss-db.qcow2.20180511" |
| 321 | checksum: "sha256:829e4bc311bf11eeec114f469ea46088c4c9b63ed252c9f456c45cc52e1bcdfa" |
Andy Bavier | 0db4faf | 2018-01-17 16:20:16 -0700 | [diff] [blame] | 322 | |
Andy Bavier | e6478b2 | 2017-12-21 13:17:56 -0700 | [diff] [blame] | 323 | - name: "image-spgwc" |
Pingping Lin | 22e237c | 2018-05-11 14:47:59 -0700 | [diff] [blame] | 324 | url: "http://www.vicci.org/cord/image-spgwc.qcow2.20180511" |
| 325 | checksum: "sha256:13ee8cc125c0d8e6bdc6048e681b8a0b4fb368118706c79e1a09f9b6be9fc9b1" |
Andy Bavier | e6478b2 | 2017-12-21 13:17:56 -0700 | [diff] [blame] | 326 | |
| 327 | - name: "image-spgwu" |
Pingping Lin | 22e237c | 2018-05-11 14:47:59 -0700 | [diff] [blame] | 328 | url: "http://www.vicci.org/cord/image-spgwu.qcow2.20180511" |
Jacob Cooper | 66be049 | 2018-05-16 13:41:15 -0700 | [diff] [blame^] | 329 | checksum: "sha256:b91b7273292f00944dde85c374a2c18d914fdd7371c6677458b8cd7c6943df08" |
JianHao | ea1948b | 2018-01-18 20:14:01 +0800 | [diff] [blame] | 330 | |
| 331 | - name: "image-internetemulator" |
Pingping Lin | 22e237c | 2018-05-11 14:47:59 -0700 | [diff] [blame] | 332 | url: "http://www.vicci.org/cord/image-internetemulator.qcow2.20180511" |
| 333 | checksum: "sha256:336ced97a946d67ff317acfce54b4bfa510aafd2e517502ca87f6d196ceb3b80" |