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