Matteo Scandolo | 3896c47 | 2017-08-01 13:31:42 -0700 | [diff] [blame] | 1 | |
| 2 | # Copyright 2017-present Open Networking Foundation |
| 3 | # |
| 4 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | # you may not use this file except in compliance with the License. |
| 6 | # You may obtain a copy of the License at |
| 7 | # |
| 8 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | # |
| 10 | # Unless required by applicable law or agreed to in writing, software |
| 11 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | # See the License for the specific language governing permissions and |
| 14 | # limitations under the License. |
| 15 | |
| 16 | |
mcord | 3e58914 | 2017-05-24 16:05:07 -0700 | [diff] [blame] | 17 | --- |
Zack Williams | 3eca647 | 2017-06-22 18:18:38 -0700 | [diff] [blame] | 18 | # profile_manifests/mcord.yml |
mcord | 3e58914 | 2017-05-24 16:05:07 -0700 | [diff] [blame] | 19 | # Configures an M-CORD pod |
| 20 | |
| 21 | # site configuration |
| 22 | site_name: mysite |
| 23 | site_humanname: MySite |
Zack Williams | 3eca647 | 2017-06-22 18:18:38 -0700 | [diff] [blame] | 24 | site_suffix: "{{ site_name }}.opencord.org" |
mcord | 3e58914 | 2017-05-24 16:05:07 -0700 | [diff] [blame] | 25 | deployment_type: MyDeployment |
| 26 | |
Zack Williams | 3eca647 | 2017-06-22 18:18:38 -0700 | [diff] [blame] | 27 | # Feature toggles |
Zack Williams | fe284a1 | 2017-07-01 11:00:04 -0700 | [diff] [blame] | 28 | use_maas: True |
| 29 | use_apt_cache: True |
mcord | 3e58914 | 2017-05-24 16:05:07 -0700 | [diff] [blame] | 30 | |
Zack Williams | 3eca647 | 2017-06-22 18:18:38 -0700 | [diff] [blame] | 31 | # XOS config |
mcord | 3e58914 | 2017-05-24 16:05:07 -0700 | [diff] [blame] | 32 | xos_tosca_config_templates: |
mcord | 3e58914 | 2017-05-24 16:05:07 -0700 | [diff] [blame] | 33 | - vtn-service.yaml |
| 34 | - fabric-service.yaml |
| 35 | - management-net.yaml |
Matteo Scandolo | ae45a2f | 2017-06-27 14:14:19 -0700 | [diff] [blame] | 36 | - xos-gui-extensions.yml |
mcord | 3e58914 | 2017-05-24 16:05:07 -0700 | [diff] [blame] | 37 | # - mcord-services.yaml # should unify this with services.yaml.j2 eventually |
| 38 | # - public-net.yaml |
| 39 | # - volt-devices.yaml |
| 40 | # - vrouter.yaml |
| 41 | |
| 42 | xos_other_templates: |
| 43 | - fabric-network-cfg.json |
| 44 | |
Yunpeng Zhang | 07a007b | 2017-06-11 22:59:16 -0400 | [diff] [blame] | 45 | # GUI Config [new GUI] |
| 46 | gui_project_name: "M-CORD" |
| 47 | gui_background: "cord-bg.jpg" # TODO find mcord image |
| 48 | |
mcord | 3e58914 | 2017-05-24 16:05:07 -0700 | [diff] [blame] | 49 | # GUI branding [OLD GUI to be removed] |
| 50 | gui_branding_name: "MCORD" |
| 51 | gui_branding_icon: "/static/mcord-logo.png" |
| 52 | gui_branding_favicon: "/static/mcord-favicon.png" |
| 53 | gui_branding_bg: "/static/mcord-bg.jpg" |
| 54 | |
| 55 | enabled_gui_extensions: [] |
| 56 | #enabled_gui_extensions: |
| 57 | # - name: vtr |
| 58 | # path: orchestration/xos_services/vtr/xos/gui |
| 59 | # - name: rcord |
| 60 | # path: orchestration/profiles/rcord/xos/gui |
| 61 | |
| 62 | # paths defined in manifest/default.xml |
| 63 | xos_services: |
| 64 | - name: vtn |
Andy Bavier | a4638cb | 2017-08-30 16:02:49 -0700 | [diff] [blame] | 65 | path: orchestration/xos_services/vtn-service |
mcord | 3e58914 | 2017-05-24 16:05:07 -0700 | [diff] [blame] | 66 | keypair: vsg_rsa |
| 67 | synchronizer: true |
| 68 | - name: openstack |
| 69 | path: orchestration/xos_services/openstack |
| 70 | synchronizer: true |
| 71 | - name: onos |
| 72 | path: orchestration/xos_services/onos-service |
| 73 | keypair: onos_rsa |
| 74 | synchronizer: true |
| 75 | - name: fabric |
| 76 | path: orchestration/xos_services/fabric |
| 77 | synchronizer: true |
| 78 | # - name: vBBU |
| 79 | # path: orchestration/xos_services/vBBU |
| 80 | # keypair: mcord_rsa |
| 81 | # synchronizer: true |
Pingping Lin | ae42338 | 2017-06-09 17:44:02 -0700 | [diff] [blame] | 82 | - name: vmme |
| 83 | path: orchestration/xos_services/vmme |
| 84 | keypair: mcord_rsa |
| 85 | synchronizer: true |
mcord | 3e58914 | 2017-05-24 16:05:07 -0700 | [diff] [blame] | 86 | # - name: vSGW |
| 87 | # path: orchestration/xos_services/vSGW |
| 88 | # keypair: mcord_rsa |
| 89 | # synchronizer: true |
| 90 | # - name: vPGWC |
| 91 | # path: orchestration/xos_services/vPGWC |
| 92 | # keypair: mcord_rsa |
| 93 | # synchronizer: true |
| 94 | # needed onboarding synchronizer doesn't require service code to be present when started |
| 95 | - name: exampleservice |
| 96 | path: orchestration/xos_services/exampleservice |
| 97 | keypair: exampleservice_rsa |
| 98 | synchronizer: true |
| 99 | - name: monitoring |
| 100 | path: orchestration/xos_services/monitoring |
| 101 | keypair: monitoringservice_rsa |
| 102 | synchronizer: false |
| 103 | |
mcord | 3e58914 | 2017-05-24 16:05:07 -0700 | [diff] [blame] | 104 | # profile_library: "mcord" |
| 105 | |
mcord | 3e58914 | 2017-05-24 16:05:07 -0700 | [diff] [blame] | 106 | # SSL server certificate generation |
| 107 | server_certs: |
| 108 | - cn: "keystone.{{ site_suffix }}" |
| 109 | subj: "/C=US/ST=California/L=Menlo Park/O=ON.Lab/OU=Test Deployment/CN=keystone.{{ site_suffix }}" |
| 110 | altnames: |
| 111 | - "DNS:keystone.{{ site_suffix }}" |
| 112 | - "DNS:keystone" |
| 113 | - cn: "xos-core.{{ site_suffix }}" |
| 114 | subj: "/C=US/ST=California/L=Menlo Park/O=ON.Lab/OU=Test Deployment/CN=xos-core.{{ site_suffix }}" |
| 115 | altnames: |
| 116 | - "DNS:xos-core.{{ site_suffix }}" |
| 117 | |
Zack Williams | 3eca647 | 2017-06-22 18:18:38 -0700 | [diff] [blame] | 118 | # Network/DNS settings |
Zack Williams | bf43d75 | 2017-07-01 15:27:11 -0700 | [diff] [blame] | 119 | headnode: head1 |
| 120 | |
Zack Williams | 3eca647 | 2017-06-22 18:18:38 -0700 | [diff] [blame] | 121 | dns_search: |
| 122 | - "{{ site_suffix }}" |
| 123 | |
| 124 | mgmt_ipv4_first_octets: "192.168.200" |
| 125 | |
| 126 | dns_servers: |
| 127 | - "{{ mgmt_ipv4_first_octets }}.1" |
| 128 | |
| 129 | # DNS settings for NSD/Unbound |
mcord | 3e58914 | 2017-05-24 16:05:07 -0700 | [diff] [blame] | 130 | nsd_zones: |
| 131 | - name: "{{ site_suffix }}" |
Zack Williams | 3eca647 | 2017-06-22 18:18:38 -0700 | [diff] [blame] | 132 | ipv4_first_octets: "{{ mgmt_ipv4_first_octets }}" |
mcord | 3e58914 | 2017-05-24 16:05:07 -0700 | [diff] [blame] | 133 | name_reverse_unbound: "168.192.in-addr.arpa" |
| 134 | soa: ns1 |
| 135 | ns: |
| 136 | - { name: ns1 } |
Zack Williams | 3eca647 | 2017-06-22 18:18:38 -0700 | [diff] [blame] | 137 | nodelists: |
| 138 | - head_lxd_list |
Zack Williams | bf43d75 | 2017-07-01 15:27:11 -0700 | [diff] [blame] | 139 | - physical_node_list |
mcord | 3e58914 | 2017-05-24 16:05:07 -0700 | [diff] [blame] | 140 | aliases: |
Zack Williams | bf43d75 | 2017-07-01 15:27:11 -0700 | [diff] [blame] | 141 | - { name: "apt-cache", dest: "{{ headnode }}" } |
| 142 | - { name: "cordloghost", dest: "{{ headnode }}" } |
| 143 | - { name: "docker", dest: "{{ headnode }}" } |
| 144 | - { name: "ns", dest: "{{ headnode }}" } |
| 145 | - { name: "ns1", dest: "{{ headnode }}" } |
| 146 | - { name: "onos-cord", dest: "{{ headnode }}" } |
| 147 | - { name: "xos", dest: "{{ headnode }}" } |
| 148 | - { name: "xos-chameleon", dest: "{{ headnode }}" } |
| 149 | - { name: "xos-rest-gw", dest: "{{ headnode }}" } |
| 150 | - { name: "xos-gui", dest: "{{ headnode }}" } |
mcord | 3e58914 | 2017-05-24 16:05:07 -0700 | [diff] [blame] | 151 | |
Zack Williams | 3eca647 | 2017-06-22 18:18:38 -0700 | [diff] [blame] | 152 | unbound_listen_all: True |
| 153 | |
| 154 | unbound_interfaces: |
| 155 | - "{{ mgmt_ipv4_first_octets }}.1/24" |
mcord | 3e58914 | 2017-05-24 16:05:07 -0700 | [diff] [blame] | 156 | |
Zack Williams | bf43d75 | 2017-07-01 15:27:11 -0700 | [diff] [blame] | 157 | physical_node_list: |
| 158 | - name: head1 |
| 159 | ipv4_last_octet: 1 |
| 160 | aliases: |
| 161 | - head |
| 162 | |
mcord | 3e58914 | 2017-05-24 16:05:07 -0700 | [diff] [blame] | 163 | # VTN network configuration |
| 164 | management_network_cidr: 172.27.0.0/24 |
| 165 | management_network_ip: 172.27.0.1/24 |
| 166 | data_plane_ip: 10.168.0.253/24 |
| 167 | |
Zack Williams | 3eca647 | 2017-06-22 18:18:38 -0700 | [diff] [blame] | 168 | # Juju config |
mcord | 3e58914 | 2017-05-24 16:05:07 -0700 | [diff] [blame] | 169 | charm_versions: |
| 170 | ceilometer: "cs:trusty/ceilometer-17" |
| 171 | ceilometer-agent: "cs:trusty/ceilometer-agent-13" |
| 172 | glance: "cs:trusty/glance-28" |
Kailash Khalasi | eea72cf | 2017-08-31 09:42:40 -0700 | [diff] [blame] | 173 | keystone: "cs:trusty/keystone-267" |
mcord | 3e58914 | 2017-05-24 16:05:07 -0700 | [diff] [blame] | 174 | mongodb: "cs:trusty/mongodb-33" |
| 175 | percona-cluster: "cs:trusty/percona-cluster-31" |
| 176 | nagios: "cs:trusty/nagios-10" |
Andy Bavier | 9b3e00c | 2017-07-27 14:45:17 -0700 | [diff] [blame] | 177 | neutron-api: "cs:~cordteam/trusty/neutron-api-6" |
mcord | 3e58914 | 2017-05-24 16:05:07 -0700 | [diff] [blame] | 178 | nova-cloud-controller: "cs:trusty/nova-cloud-controller-64" |
Andy Bavier | 7bf1b37 | 2017-08-08 12:37:33 -0700 | [diff] [blame] | 179 | nova-compute: "cs:~cordteam/trusty/nova-compute-3" |
mcord | 3e58914 | 2017-05-24 16:05:07 -0700 | [diff] [blame] | 180 | nrpe: "cs:trusty/nrpe-4" |
| 181 | ntp: "cs:trusty/ntp-14" |
| 182 | openstack-dashboard: "cs:trusty/openstack-dashboard-19" |
| 183 | rabbitmq-server: "cs:trusty/rabbitmq-server-42" |
| 184 | |
mcord | 3e58914 | 2017-05-24 16:05:07 -0700 | [diff] [blame] | 185 | head_lxd_list: |
| 186 | - name: "juju-1" |
| 187 | service: "juju" |
| 188 | aliases: |
| 189 | - "juju" |
| 190 | ipv4_last_octet: 10 |
| 191 | |
| 192 | - name: "ceilometer-1" |
| 193 | service: "ceilometer" |
| 194 | aliases: |
| 195 | - "ceilometer" |
| 196 | ipv4_last_octet: 20 |
| 197 | forwarded_ports: |
| 198 | - { ext: 8777, int: 8777 } |
| 199 | |
| 200 | - name: "glance-1" |
| 201 | service: "glance" |
| 202 | aliases: |
| 203 | - "glance" |
| 204 | ipv4_last_octet: 30 |
| 205 | forwarded_ports: |
| 206 | - { ext: 9292, int: 9292 } |
| 207 | |
| 208 | - name: "keystone-1" |
| 209 | service: "keystone" |
| 210 | aliases: |
| 211 | - "keystone" |
| 212 | ipv4_last_octet: 40 |
| 213 | forwarded_ports: |
| 214 | - { ext: 35357, int: 35357 } |
| 215 | - { ext: 4990, int: 4990 } |
| 216 | - { ext: 5000, int: 5000 } |
| 217 | |
| 218 | - name: "percona-cluster-1" |
| 219 | service: "percona-cluster" |
| 220 | aliases: |
| 221 | - "percona-cluster" |
| 222 | ipv4_last_octet: 50 |
| 223 | |
| 224 | - name: "nagios-1" |
| 225 | service: "nagios" |
| 226 | aliases: |
| 227 | - "nagios" |
| 228 | ipv4_last_octet: 60 |
| 229 | forwarded_ports: |
| 230 | - { ext: 3128, int: 80 } |
| 231 | |
| 232 | - name: "neutron-api-1" |
| 233 | service: "neutron-api" |
| 234 | aliases: |
| 235 | - "neutron-api" |
| 236 | ipv4_last_octet: 70 |
| 237 | forwarded_ports: |
| 238 | - { ext: 9696, int: 9696 } |
| 239 | |
| 240 | - name: "nova-cloud-controller-1" |
| 241 | service: "nova-cloud-controller" |
| 242 | aliases: |
| 243 | - "nova-cloud-controller" |
| 244 | ipv4_last_octet: 80 |
| 245 | forwarded_ports: |
| 246 | - { ext: 8774, int: 8774 } |
| 247 | |
| 248 | - name: "openstack-dashboard-1" |
| 249 | service: "openstack-dashboard" |
| 250 | aliases: |
| 251 | - "openstack-dashboard" |
| 252 | ipv4_last_octet: 90 |
| 253 | forwarded_ports: |
| 254 | - { ext: 8080, int: 80 } |
| 255 | |
| 256 | - name: "rabbitmq-server-1" |
| 257 | service: "rabbitmq-server" |
| 258 | aliases: |
| 259 | - "rabbitmq-server" |
| 260 | ipv4_last_octet: 100 |
| 261 | |
| 262 | - name: "mongodb-1" |
| 263 | service: "mongodb" |
| 264 | aliases: |
| 265 | - "mongodb" |
| 266 | ipv4_last_octet: 110 |
| 267 | |
| 268 | lxd_service_list: |
| 269 | - ceilometer |
| 270 | - glance |
| 271 | - keystone |
| 272 | - mongodb |
| 273 | - nagios |
| 274 | - neutron-api |
| 275 | - nova-cloud-controller |
| 276 | - openstack-dashboard |
| 277 | - percona-cluster |
| 278 | - rabbitmq-server |
| 279 | |
| 280 | standalone_service_list: |
| 281 | - ntp |
| 282 | - nrpe |
| 283 | - ceilometer-agent |
| 284 | |
| 285 | |
| 286 | service_relations: |
| 287 | - name: keystone |
| 288 | relations: [ "percona-cluster", "nrpe", ] |
| 289 | |
| 290 | - name: nova-cloud-controller |
| 291 | relations: [ "percona-cluster", "rabbitmq-server", "glance", "keystone", "nrpe", ] |
| 292 | |
| 293 | - name: glance |
| 294 | relations: [ "percona-cluster", "keystone", "nrpe", ] |
| 295 | |
| 296 | - name: neutron-api |
| 297 | relations: [ "keystone", "percona-cluster", "rabbitmq-server", "nova-cloud-controller", "nrpe", ] |
| 298 | |
| 299 | - name: openstack-dashboard |
| 300 | relations: [ "keystone", "nrpe", ] |
| 301 | |
| 302 | - name: nagios |
| 303 | relations: [ "nrpe", ] |
| 304 | |
| 305 | - name: "percona-cluster:juju-info" |
| 306 | relations: [ "nrpe:general-info", ] |
| 307 | |
| 308 | - name: rabbitmq-server |
| 309 | relations: [ "nrpe", ] |
| 310 | |
| 311 | - name: ceilometer |
| 312 | relations: [ "mongodb", "rabbitmq-server", "nagios", "nrpe", ] |
| 313 | |
| 314 | - name: "ceilometer:identity-service" |
| 315 | relations: [ "keystone:identity-service", ] |
| 316 | |
| 317 | - name: "ceilometer:ceilometer-service" |
| 318 | relations: [ "ceilometer-agent:ceilometer-service", ] |
| 319 | |
| 320 | |
| 321 | compute_relations: |
| 322 | - name: nova-compute |
| 323 | relations: [ "ceilometer-agent", "glance", "nova-cloud-controller", "nagios", "nrpe", ] |
| 324 | |
| 325 | - name: "nova-compute:shared-db" |
| 326 | relations: [ "percona-cluster:shared-db", ] |
| 327 | |
| 328 | - name: "nova-compute:amqp" |
| 329 | relations: [ "rabbitmq-server:amqp", ] |
| 330 | |
| 331 | - name: ntp |
| 332 | relations: [ "nova-compute", ] |
| 333 | |
| 334 | |
| 335 | xos_images: |
| 336 | - name: "trusty-server-multi-nic" |
| 337 | url: "http://www.vicci.org/opencloud/trusty-server-cloudimg-amd64-disk1.img.20170201" |
| 338 | checksum: "sha256:ebf007ba3ec1043b7cd011fc6668e2a1d1d4c69c41071e8513ab355df7a057cb" |
| 339 | |
| 340 | - name: "vsg-1.1" |
| 341 | url: "http://www.vicci.org/cord/vsg-1.1.img" |
| 342 | checksum: "sha256:16b0beb6778aed0f5feecb05f8d5750e6c262f98e6011e99ddadf7d46a177b6f" |
| 343 | |
| 344 | - name: "ceilometer-trusty-server-multi-nic" |
| 345 | url: "http://www.vicci.org/cord/ceilometer-trusty-server-multi-nic.compressed.qcow2" |
| 346 | checksum: "sha256:b77ef8d692b640568dea13df99fe1dfcb1f4bb4ac05408db9ff77399b34f754f" |
| 347 | |
| 348 | - name: "ceilometer-service-trusty-server-multi-nic" |
| 349 | url: "http://www.vicci.org/cord/ceilometer-service-trusty-server-multi-nic.compressed.qcow2.20170131" |
| 350 | checksum: "sha256:f0341e283f0f2cb8f70cd1a6347e0081c9c8492ef34eb6397c657ef824800d4f" |