Zack Williams | afd04a8 | 2017-09-13 10:11:55 -0700 | [diff] [blame] | 1 | --- |
Matteo Scandolo | 3896c47 | 2017-08-01 13:31:42 -0700 | [diff] [blame] | 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 | |
Zack Williams | 3eca647 | 2017-06-22 18:18:38 -0700 | [diff] [blame] | 17 | # profile_manifests/mcord.yml |
mcord | 3e58914 | 2017-05-24 16:05:07 -0700 | [diff] [blame] | 18 | # Configures an M-CORD pod |
| 19 | |
| 20 | # site configuration |
| 21 | site_name: mysite |
| 22 | site_humanname: MySite |
Zack Williams | 3eca647 | 2017-06-22 18:18:38 -0700 | [diff] [blame] | 23 | site_suffix: "{{ site_name }}.opencord.org" |
mcord | 3e58914 | 2017-05-24 16:05:07 -0700 | [diff] [blame] | 24 | deployment_type: MyDeployment |
| 25 | |
Zack Williams | 3eca647 | 2017-06-22 18:18:38 -0700 | [diff] [blame] | 26 | # Feature toggles |
Zack Williams | fe284a1 | 2017-07-01 11:00:04 -0700 | [diff] [blame] | 27 | use_maas: True |
| 28 | use_apt_cache: True |
mcord | 3e58914 | 2017-05-24 16:05:07 -0700 | [diff] [blame] | 29 | |
Zack Williams | 3eca647 | 2017-06-22 18:18:38 -0700 | [diff] [blame] | 30 | # XOS config |
mcord | 3e58914 | 2017-05-24 16:05:07 -0700 | [diff] [blame] | 31 | xos_tosca_config_templates: |
mcord | 3e58914 | 2017-05-24 16:05:07 -0700 | [diff] [blame] | 32 | - vtn-service.yaml |
| 33 | - fabric-service.yaml |
| 34 | - management-net.yaml |
Matteo Scandolo | ae45a2f | 2017-06-27 14:14:19 -0700 | [diff] [blame] | 35 | - xos-gui-extensions.yml |
mcord | 3e58914 | 2017-05-24 16:05:07 -0700 | [diff] [blame] | 36 | |
| 37 | xos_other_templates: |
| 38 | - fabric-network-cfg.json |
| 39 | |
Yunpeng Zhang | 07a007b | 2017-06-11 22:59:16 -0400 | [diff] [blame] | 40 | # GUI Config [new GUI] |
| 41 | gui_project_name: "M-CORD" |
| 42 | gui_background: "cord-bg.jpg" # TODO find mcord image |
| 43 | |
mcord | 3e58914 | 2017-05-24 16:05:07 -0700 | [diff] [blame] | 44 | enabled_gui_extensions: [] |
mcord | 3e58914 | 2017-05-24 16:05:07 -0700 | [diff] [blame] | 45 | |
| 46 | # paths defined in manifest/default.xml |
| 47 | xos_services: |
| 48 | - name: vtn |
Andy Bavier | a4638cb | 2017-08-30 16:02:49 -0700 | [diff] [blame] | 49 | path: orchestration/xos_services/vtn-service |
mcord | 3e58914 | 2017-05-24 16:05:07 -0700 | [diff] [blame] | 50 | keypair: vsg_rsa |
| 51 | synchronizer: true |
| 52 | - name: openstack |
| 53 | path: orchestration/xos_services/openstack |
| 54 | synchronizer: true |
| 55 | - name: onos |
| 56 | path: orchestration/xos_services/onos-service |
| 57 | keypair: onos_rsa |
| 58 | synchronizer: true |
| 59 | - name: fabric |
| 60 | path: orchestration/xos_services/fabric |
| 61 | synchronizer: true |
Pingping Lin | ae42338 | 2017-06-09 17:44:02 -0700 | [diff] [blame] | 62 | - name: vmme |
| 63 | path: orchestration/xos_services/vmme |
| 64 | keypair: mcord_rsa |
| 65 | synchronizer: true |
mcord | 3e58914 | 2017-05-24 16:05:07 -0700 | [diff] [blame] | 66 | - name: exampleservice |
| 67 | path: orchestration/xos_services/exampleservice |
| 68 | keypair: exampleservice_rsa |
| 69 | synchronizer: true |
| 70 | - name: monitoring |
| 71 | path: orchestration/xos_services/monitoring |
| 72 | keypair: monitoringservice_rsa |
| 73 | synchronizer: false |
| 74 | |
mcord | 3e58914 | 2017-05-24 16:05:07 -0700 | [diff] [blame] | 75 | # SSL server certificate generation |
| 76 | server_certs: |
| 77 | - cn: "keystone.{{ site_suffix }}" |
| 78 | subj: "/C=US/ST=California/L=Menlo Park/O=ON.Lab/OU=Test Deployment/CN=keystone.{{ site_suffix }}" |
| 79 | altnames: |
| 80 | - "DNS:keystone.{{ site_suffix }}" |
| 81 | - "DNS:keystone" |
| 82 | - cn: "xos-core.{{ site_suffix }}" |
| 83 | subj: "/C=US/ST=California/L=Menlo Park/O=ON.Lab/OU=Test Deployment/CN=xos-core.{{ site_suffix }}" |
| 84 | altnames: |
| 85 | - "DNS:xos-core.{{ site_suffix }}" |
| 86 | |
Zack Williams | 3eca647 | 2017-06-22 18:18:38 -0700 | [diff] [blame] | 87 | # Network/DNS settings |
Zack Williams | bf43d75 | 2017-07-01 15:27:11 -0700 | [diff] [blame] | 88 | headnode: head1 |
| 89 | |
Zack Williams | 3eca647 | 2017-06-22 18:18:38 -0700 | [diff] [blame] | 90 | dns_search: |
| 91 | - "{{ site_suffix }}" |
| 92 | |
| 93 | mgmt_ipv4_first_octets: "192.168.200" |
| 94 | |
| 95 | dns_servers: |
| 96 | - "{{ mgmt_ipv4_first_octets }}.1" |
| 97 | |
| 98 | # DNS settings for NSD/Unbound |
mcord | 3e58914 | 2017-05-24 16:05:07 -0700 | [diff] [blame] | 99 | nsd_zones: |
| 100 | - name: "{{ site_suffix }}" |
Zack Williams | 3eca647 | 2017-06-22 18:18:38 -0700 | [diff] [blame] | 101 | ipv4_first_octets: "{{ mgmt_ipv4_first_octets }}" |
mcord | 3e58914 | 2017-05-24 16:05:07 -0700 | [diff] [blame] | 102 | name_reverse_unbound: "168.192.in-addr.arpa" |
| 103 | soa: ns1 |
| 104 | ns: |
| 105 | - { name: ns1 } |
Zack Williams | 3eca647 | 2017-06-22 18:18:38 -0700 | [diff] [blame] | 106 | nodelists: |
| 107 | - head_lxd_list |
Zack Williams | bf43d75 | 2017-07-01 15:27:11 -0700 | [diff] [blame] | 108 | - physical_node_list |
mcord | 3e58914 | 2017-05-24 16:05:07 -0700 | [diff] [blame] | 109 | aliases: |
Zack Williams | bf43d75 | 2017-07-01 15:27:11 -0700 | [diff] [blame] | 110 | - { name: "apt-cache", dest: "{{ headnode }}" } |
| 111 | - { name: "cordloghost", dest: "{{ headnode }}" } |
| 112 | - { name: "docker", dest: "{{ headnode }}" } |
| 113 | - { name: "ns", dest: "{{ headnode }}" } |
| 114 | - { name: "ns1", dest: "{{ headnode }}" } |
| 115 | - { name: "onos-cord", dest: "{{ headnode }}" } |
| 116 | - { name: "xos", dest: "{{ headnode }}" } |
| 117 | - { name: "xos-chameleon", dest: "{{ headnode }}" } |
| 118 | - { name: "xos-rest-gw", dest: "{{ headnode }}" } |
| 119 | - { name: "xos-gui", dest: "{{ headnode }}" } |
mcord | 3e58914 | 2017-05-24 16:05:07 -0700 | [diff] [blame] | 120 | |
Zack Williams | 3eca647 | 2017-06-22 18:18:38 -0700 | [diff] [blame] | 121 | unbound_listen_all: True |
| 122 | |
| 123 | unbound_interfaces: |
| 124 | - "{{ mgmt_ipv4_first_octets }}.1/24" |
mcord | 3e58914 | 2017-05-24 16:05:07 -0700 | [diff] [blame] | 125 | |
Zack Williams | bf43d75 | 2017-07-01 15:27:11 -0700 | [diff] [blame] | 126 | physical_node_list: |
| 127 | - name: head1 |
| 128 | ipv4_last_octet: 1 |
| 129 | aliases: |
| 130 | - head |
| 131 | |
mcord | 3e58914 | 2017-05-24 16:05:07 -0700 | [diff] [blame] | 132 | # VTN network configuration |
| 133 | management_network_cidr: 172.27.0.0/24 |
| 134 | management_network_ip: 172.27.0.1/24 |
| 135 | data_plane_ip: 10.168.0.253/24 |
| 136 | |
Zack Williams | 3eca647 | 2017-06-22 18:18:38 -0700 | [diff] [blame] | 137 | # Juju config |
mcord | 3e58914 | 2017-05-24 16:05:07 -0700 | [diff] [blame] | 138 | charm_versions: |
| 139 | ceilometer: "cs:trusty/ceilometer-17" |
| 140 | ceilometer-agent: "cs:trusty/ceilometer-agent-13" |
| 141 | glance: "cs:trusty/glance-28" |
Kailash Khalasi | c725e06 | 2017-08-31 09:42:40 -0700 | [diff] [blame] | 142 | keystone: "cs:trusty/keystone-267" |
mcord | 3e58914 | 2017-05-24 16:05:07 -0700 | [diff] [blame] | 143 | mongodb: "cs:trusty/mongodb-33" |
| 144 | percona-cluster: "cs:trusty/percona-cluster-31" |
| 145 | nagios: "cs:trusty/nagios-10" |
Andy Bavier | 9b3e00c | 2017-07-27 14:45:17 -0700 | [diff] [blame] | 146 | neutron-api: "cs:~cordteam/trusty/neutron-api-6" |
mcord | 3e58914 | 2017-05-24 16:05:07 -0700 | [diff] [blame] | 147 | nova-cloud-controller: "cs:trusty/nova-cloud-controller-64" |
Andy Bavier | 7bf1b37 | 2017-08-08 12:37:33 -0700 | [diff] [blame] | 148 | nova-compute: "cs:~cordteam/trusty/nova-compute-3" |
mcord | 3e58914 | 2017-05-24 16:05:07 -0700 | [diff] [blame] | 149 | nrpe: "cs:trusty/nrpe-4" |
| 150 | ntp: "cs:trusty/ntp-14" |
| 151 | openstack-dashboard: "cs:trusty/openstack-dashboard-19" |
| 152 | rabbitmq-server: "cs:trusty/rabbitmq-server-42" |
| 153 | |
mcord | 3e58914 | 2017-05-24 16:05:07 -0700 | [diff] [blame] | 154 | head_lxd_list: |
| 155 | - name: "juju-1" |
| 156 | service: "juju" |
| 157 | aliases: |
| 158 | - "juju" |
| 159 | ipv4_last_octet: 10 |
| 160 | |
| 161 | - name: "ceilometer-1" |
| 162 | service: "ceilometer" |
| 163 | aliases: |
| 164 | - "ceilometer" |
| 165 | ipv4_last_octet: 20 |
| 166 | forwarded_ports: |
| 167 | - { ext: 8777, int: 8777 } |
| 168 | |
| 169 | - name: "glance-1" |
| 170 | service: "glance" |
| 171 | aliases: |
| 172 | - "glance" |
| 173 | ipv4_last_octet: 30 |
| 174 | forwarded_ports: |
| 175 | - { ext: 9292, int: 9292 } |
| 176 | |
| 177 | - name: "keystone-1" |
| 178 | service: "keystone" |
| 179 | aliases: |
| 180 | - "keystone" |
| 181 | ipv4_last_octet: 40 |
| 182 | forwarded_ports: |
| 183 | - { ext: 35357, int: 35357 } |
| 184 | - { ext: 4990, int: 4990 } |
| 185 | - { ext: 5000, int: 5000 } |
| 186 | |
| 187 | - name: "percona-cluster-1" |
| 188 | service: "percona-cluster" |
| 189 | aliases: |
| 190 | - "percona-cluster" |
| 191 | ipv4_last_octet: 50 |
| 192 | |
| 193 | - name: "nagios-1" |
| 194 | service: "nagios" |
| 195 | aliases: |
| 196 | - "nagios" |
| 197 | ipv4_last_octet: 60 |
| 198 | forwarded_ports: |
| 199 | - { ext: 3128, int: 80 } |
| 200 | |
| 201 | - name: "neutron-api-1" |
| 202 | service: "neutron-api" |
| 203 | aliases: |
| 204 | - "neutron-api" |
| 205 | ipv4_last_octet: 70 |
| 206 | forwarded_ports: |
| 207 | - { ext: 9696, int: 9696 } |
| 208 | |
| 209 | - name: "nova-cloud-controller-1" |
| 210 | service: "nova-cloud-controller" |
| 211 | aliases: |
| 212 | - "nova-cloud-controller" |
| 213 | ipv4_last_octet: 80 |
| 214 | forwarded_ports: |
| 215 | - { ext: 8774, int: 8774 } |
| 216 | |
| 217 | - name: "openstack-dashboard-1" |
| 218 | service: "openstack-dashboard" |
| 219 | aliases: |
| 220 | - "openstack-dashboard" |
| 221 | ipv4_last_octet: 90 |
| 222 | forwarded_ports: |
| 223 | - { ext: 8080, int: 80 } |
| 224 | |
| 225 | - name: "rabbitmq-server-1" |
| 226 | service: "rabbitmq-server" |
| 227 | aliases: |
| 228 | - "rabbitmq-server" |
| 229 | ipv4_last_octet: 100 |
| 230 | |
| 231 | - name: "mongodb-1" |
| 232 | service: "mongodb" |
| 233 | aliases: |
| 234 | - "mongodb" |
| 235 | ipv4_last_octet: 110 |
| 236 | |
| 237 | lxd_service_list: |
| 238 | - ceilometer |
| 239 | - glance |
| 240 | - keystone |
| 241 | - mongodb |
| 242 | - nagios |
| 243 | - neutron-api |
| 244 | - nova-cloud-controller |
| 245 | - openstack-dashboard |
| 246 | - percona-cluster |
| 247 | - rabbitmq-server |
| 248 | |
| 249 | standalone_service_list: |
| 250 | - ntp |
| 251 | - nrpe |
| 252 | - ceilometer-agent |
| 253 | |
| 254 | |
| 255 | service_relations: |
| 256 | - name: keystone |
| 257 | relations: [ "percona-cluster", "nrpe", ] |
| 258 | |
| 259 | - name: nova-cloud-controller |
| 260 | relations: [ "percona-cluster", "rabbitmq-server", "glance", "keystone", "nrpe", ] |
| 261 | |
| 262 | - name: glance |
| 263 | relations: [ "percona-cluster", "keystone", "nrpe", ] |
| 264 | |
| 265 | - name: neutron-api |
| 266 | relations: [ "keystone", "percona-cluster", "rabbitmq-server", "nova-cloud-controller", "nrpe", ] |
| 267 | |
| 268 | - name: openstack-dashboard |
| 269 | relations: [ "keystone", "nrpe", ] |
| 270 | |
| 271 | - name: nagios |
| 272 | relations: [ "nrpe", ] |
| 273 | |
| 274 | - name: "percona-cluster:juju-info" |
| 275 | relations: [ "nrpe:general-info", ] |
| 276 | |
| 277 | - name: rabbitmq-server |
| 278 | relations: [ "nrpe", ] |
| 279 | |
| 280 | - name: ceilometer |
| 281 | relations: [ "mongodb", "rabbitmq-server", "nagios", "nrpe", ] |
| 282 | |
| 283 | - name: "ceilometer:identity-service" |
| 284 | relations: [ "keystone:identity-service", ] |
| 285 | |
| 286 | - name: "ceilometer:ceilometer-service" |
| 287 | relations: [ "ceilometer-agent:ceilometer-service", ] |
| 288 | |
| 289 | |
| 290 | compute_relations: |
| 291 | - name: nova-compute |
| 292 | relations: [ "ceilometer-agent", "glance", "nova-cloud-controller", "nagios", "nrpe", ] |
| 293 | |
| 294 | - name: "nova-compute:shared-db" |
| 295 | relations: [ "percona-cluster:shared-db", ] |
| 296 | |
| 297 | - name: "nova-compute:amqp" |
| 298 | relations: [ "rabbitmq-server:amqp", ] |
| 299 | |
| 300 | - name: ntp |
| 301 | relations: [ "nova-compute", ] |
| 302 | |
| 303 | |
| 304 | xos_images: |
| 305 | - name: "trusty-server-multi-nic" |
| 306 | url: "http://www.vicci.org/opencloud/trusty-server-cloudimg-amd64-disk1.img.20170201" |
| 307 | checksum: "sha256:ebf007ba3ec1043b7cd011fc6668e2a1d1d4c69c41071e8513ab355df7a057cb" |
| 308 | |
| 309 | - name: "vsg-1.1" |
| 310 | url: "http://www.vicci.org/cord/vsg-1.1.img" |
| 311 | checksum: "sha256:16b0beb6778aed0f5feecb05f8d5750e6c262f98e6011e99ddadf7d46a177b6f" |
| 312 | |
| 313 | - name: "ceilometer-trusty-server-multi-nic" |
| 314 | url: "http://www.vicci.org/cord/ceilometer-trusty-server-multi-nic.compressed.qcow2" |
| 315 | checksum: "sha256:b77ef8d692b640568dea13df99fe1dfcb1f4bb4ac05408db9ff77399b34f754f" |
| 316 | |
| 317 | - name: "ceilometer-service-trusty-server-multi-nic" |
| 318 | url: "http://www.vicci.org/cord/ceilometer-service-trusty-server-multi-nic.compressed.qcow2.20170131" |
| 319 | checksum: "sha256:f0341e283f0f2cb8f70cd1a6347e0081c9c8492ef34eb6397c657ef824800d4f" |