Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 1 | --- |
| 2 | # vars/cord-pod.yaml |
| 3 | # Configures an R-CORD pod |
| 4 | |
| 5 | # site configuration |
| 6 | site_name: mysite |
| 7 | site_humanname: MySite |
| 8 | deployment_type: MyDeployment |
| 9 | |
| 10 | xos_admin_user: xosadmin@opencord.org |
| 11 | xos_admin_pass: "{{ lookup('password', 'credentials/xosadmin@opencord.org chars=ascii_letters,digits') }}" |
| 12 | xos_admin_first: XOS |
| 13 | xos_admin_last: Admin |
| 14 | |
| 15 | xos_users: [] |
| 16 | |
| 17 | use_vtn: True |
| 18 | |
| 19 | xos_tosca_config_templates: |
| 20 | - openstack.yaml |
| 21 | - vtn-service.yaml |
| 22 | - fabric-service.yaml |
| 23 | - management-net.yaml |
| 24 | - cord-services.yaml # should unify this with services.yaml.j2 eventually |
| 25 | - public-net.yaml |
| 26 | - volt-devices.yaml |
| 27 | - vrouter.yaml |
| 28 | |
| 29 | xos_other_templates: |
| 30 | - fabric-network-cfg.json |
| 31 | |
| 32 | cord_profile_dir: "{{ ansible_user_dir + '/cord_profile' }}" |
| 33 | |
| 34 | xos_docker_volumes: |
| 35 | - host: "{{ cord_profile_dir }}/images" |
| 36 | container: /opt/xos/images |
| 37 | |
Matteo Scandolo | 40e10d5 | 2017-03-08 08:04:37 -0800 | [diff] [blame] | 38 | # GUI branding [OLD GUI to be removed] |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 39 | gui_branding_name: "CORD" |
| 40 | gui_branding_icon: "/static/cord-logo.png" |
| 41 | gui_branding_favicon: "/static/cord-favicon.png" |
| 42 | gui_branding_bg: "/static/cord-bg.jpg" |
| 43 | |
Matteo Scandolo | 40e10d5 | 2017-03-08 08:04:37 -0800 | [diff] [blame] | 44 | enabled_gui_extensions: |
| 45 | - name: vtr |
| 46 | path: orchestration/xos_services/vtr/xos/gui |
Matteo Scandolo | 4b3d768 | 2017-03-27 10:34:24 -0700 | [diff] [blame] | 47 | - name: rcord |
| 48 | path: orchestration/profiles/rcord/xos/gui |
Matteo Scandolo | 40e10d5 | 2017-03-08 08:04:37 -0800 | [diff] [blame] | 49 | |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 50 | # paths defined in manifest/default.xml |
| 51 | xos_services: |
| 52 | - name: volt |
| 53 | path: onos-apps/apps/olt |
Andy Bavier | 9e7d54a | 2017-04-17 11:37:02 -0400 | [diff] [blame] | 54 | keypair: volt_rsa |
| 55 | synchronizer: false |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 56 | - name: vtn |
| 57 | path: onos-apps/apps/vtn |
Andy Bavier | 9e7d54a | 2017-04-17 11:37:02 -0400 | [diff] [blame] | 58 | keypair: vsg_rsa |
| 59 | synchronizer: true |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 60 | - name: openstack |
| 61 | path: orchestration/xos_services/openstack |
Andy Bavier | 9e7d54a | 2017-04-17 11:37:02 -0400 | [diff] [blame] | 62 | synchronizer: true |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 63 | - name: onos |
| 64 | path: orchestration/xos_services/onos-service |
Andy Bavier | 9e7d54a | 2017-04-17 11:37:02 -0400 | [diff] [blame] | 65 | keypair: onos_rsa |
| 66 | synchronizer: true |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 67 | - name: vrouter |
| 68 | path: orchestration/xos_services/vrouter |
Andy Bavier | 9e7d54a | 2017-04-17 11:37:02 -0400 | [diff] [blame] | 69 | synchronizer: true |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 70 | - name: vsg |
| 71 | path: orchestration/xos_services/vsg |
Andy Bavier | 9e7d54a | 2017-04-17 11:37:02 -0400 | [diff] [blame] | 72 | keypair: vsg_rsa |
| 73 | synchronizer: true |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 74 | - name: vtr |
| 75 | path: orchestration/xos_services/vtr |
Andy Bavier | 9e7d54a | 2017-04-17 11:37:02 -0400 | [diff] [blame] | 76 | keypair: vsg_rsa |
| 77 | synchronizer: true |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 78 | - name: fabric |
| 79 | path: orchestration/xos_services/fabric |
Andy Bavier | 9e7d54a | 2017-04-17 11:37:02 -0400 | [diff] [blame] | 80 | synchronizer: true |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 81 | # needed onboarding synchronizer doesn't require service code to be present when started |
| 82 | - name: exampleservice |
| 83 | path: orchestration/xos_services/exampleservice |
Andy Bavier | 9e7d54a | 2017-04-17 11:37:02 -0400 | [diff] [blame] | 84 | keypair: exampleservice_rsa |
| 85 | synchronizer: true |
Srikanth Vavilapalli | a7ae651 | 2017-02-13 02:29:21 +0000 | [diff] [blame] | 86 | - name: monitoring |
| 87 | path: orchestration/xos_services/monitoring |
Andy Bavier | 9e7d54a | 2017-04-17 11:37:02 -0400 | [diff] [blame] | 88 | keypair: monitoringservice_rsa |
| 89 | synchronizer: false |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 90 | |
| 91 | xos_service_sshkeys: |
| 92 | - name: onos_rsa |
| 93 | source_path: "~/.ssh/id_rsa" |
| 94 | - name: onos_rsa.pub |
| 95 | source_path: "~/.ssh/id_rsa.pub" |
| 96 | - name: volt_rsa |
| 97 | source_path: "~/.ssh/id_rsa" |
| 98 | - name: volt_rsa.pub |
| 99 | source_path: "~/.ssh/id_rsa.pub" |
| 100 | - name: vsg_rsa |
| 101 | source_path: "~/.ssh/id_rsa" |
| 102 | - name: vsg_rsa.pub |
| 103 | source_path: "~/.ssh/id_rsa.pub" |
| 104 | # needed onboarding synchronizer doesn't require service code to be present when started |
| 105 | - name: exampleservice_rsa |
| 106 | source_path: "~/.ssh/id_rsa" |
| 107 | - name: exampleservice_rsa.pub |
| 108 | source_path: "~/.ssh/id_rsa.pub" |
Srikanth Vavilapalli | a7ae651 | 2017-02-13 02:29:21 +0000 | [diff] [blame] | 109 | - name: monitoringservice_rsa |
| 110 | source_path: "~/.ssh/id_rsa" |
| 111 | - name: monitoringservice_rsa.pub |
| 112 | source_path: "~/.ssh/id_rsa.pub" |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 113 | |
Scott Baker | 463e5f9 | 2017-04-20 15:27:41 -0700 | [diff] [blame] | 114 | profile_library: "rcord" |
| 115 | |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 116 | # VM networks/bridges on head |
| 117 | virt_nets: |
| 118 | - name: mgmtbr |
| 119 | ipv4_prefix: 192.168.122 |
| 120 | head_vms: true |
| 121 | |
| 122 | # site domain suffix |
| 123 | site_suffix: cord.lab |
| 124 | |
| 125 | # resolv.conf settings |
| 126 | dns_search: |
| 127 | - "{{ site_suffix }}" |
| 128 | |
| 129 | # SSL server certificate generation |
| 130 | server_certs: |
| 131 | - cn: "keystone.{{ site_suffix }}" |
| 132 | subj: "/C=US/ST=California/L=Menlo Park/O=ON.Lab/OU=Test Deployment/CN=keystone.{{ site_suffix }}" |
| 133 | altnames: |
| 134 | - "DNS:keystone.{{ site_suffix }}" |
| 135 | - "DNS:keystone" |
| 136 | - cn: "xos-core.{{ site_suffix }}" |
| 137 | subj: "/C=US/ST=California/L=Menlo Park/O=ON.Lab/OU=Test Deployment/CN=xos-core.{{ site_suffix }}" |
| 138 | altnames: |
| 139 | - "DNS:xos-core.{{ site_suffix }}" |
| 140 | |
| 141 | # NSD/Unbound settings |
| 142 | nsd_zones: |
| 143 | - name: "{{ site_suffix }}" |
| 144 | ipv4_first_octets: 192.168.122 |
| 145 | name_reverse_unbound: "168.192.in-addr.arpa" |
| 146 | soa: ns1 |
| 147 | ns: |
| 148 | - { name: ns1 } |
| 149 | nodelist: head_vm_list |
| 150 | aliases: |
| 151 | - { name: "ns1" , dest: "head" } |
| 152 | - { name: "ns" , dest: "head" } |
| 153 | - { name: "apt-cache" , dest: "head" } |
| 154 | |
| 155 | name_on_public_interface: head |
| 156 | |
| 157 | # VTN network configuration |
| 158 | management_network_cidr: 172.27.0.0/24 |
| 159 | management_network_ip: 172.27.0.1/24 |
| 160 | data_plane_ip: 10.168.0.253/24 |
| 161 | |
| 162 | # CORD ONOS app version |
| 163 | cord_app_version: 1.2-SNAPSHOT |
| 164 | |
| 165 | # If true, unbound listens on the head node's `ansible_default_ipv4` interface |
| 166 | unbound_listen_on_default: True |
| 167 | |
| 168 | # turn this on, or override it when running the playbook with --extra-vars="on_cloudlab=True" |
| 169 | on_cloudlab: False |
| 170 | |
| 171 | # turn this off, or override when running playbook with --extra-vars="on_maas=False" |
| 172 | on_maas: True |
| 173 | |
| 174 | run_dist_upgrade: False |
| 175 | |
| 176 | maas_node_key: /etc/maas/ansible/id_rsa |
| 177 | |
| 178 | openstack_version: kilo |
| 179 | |
| 180 | juju_config_name: cord |
| 181 | |
| 182 | juju_config_path: /usr/local/src/juju_config.yml |
| 183 | |
| 184 | # Pull ONOS from local Docker registry rather than Docker Hub |
| 185 | onos_docker_image: "docker-registry:5000/opencord/onos:candidate" |
| 186 | |
Scott Baker | 71954ac | 2017-04-10 21:41:31 -0700 | [diff] [blame] | 187 | # Pull XOS from local Docker registry |
| 188 | xos_docker_image: "docker-registry:5000/xosproject/xos:candidate" |
| 189 | |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 190 | keystone_admin_password: "{{ lookup('password', 'credentials/cord_keystone_admin chars=ascii_letters,digits') }}" |
| 191 | |
| 192 | deployment_flavors: |
| 193 | - m1.small |
| 194 | - m1.medium |
| 195 | - m1.large |
| 196 | - m1.xlarge |
| 197 | |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 198 | charm_versions: |
| 199 | ceilometer: "cs:trusty/ceilometer-17" |
| 200 | ceilometer-agent: "cs:trusty/ceilometer-agent-13" |
| 201 | glance: "cs:trusty/glance-28" |
| 202 | keystone: "cs:trusty/keystone-33" |
| 203 | mongodb: "cs:trusty/mongodb-33" |
| 204 | percona-cluster: "cs:trusty/percona-cluster-31" |
| 205 | nagios: "cs:trusty/nagios-10" |
Andy Bavier | fd16969 | 2017-04-14 16:32:08 -0400 | [diff] [blame] | 206 | neutron-api: "cs:~cordteam/trusty/neutron-api-5" |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 207 | nova-cloud-controller: "cs:trusty/nova-cloud-controller-64" |
| 208 | nova-compute: "cs:~cordteam/trusty/nova-compute-2" |
| 209 | nrpe: "cs:trusty/nrpe-4" |
| 210 | ntp: "cs:trusty/ntp-14" |
| 211 | openstack-dashboard: "cs:trusty/openstack-dashboard-19" |
| 212 | rabbitmq-server: "cs:trusty/rabbitmq-server-42" |
| 213 | |
| 214 | head_vm_list: [] |
| 215 | |
| 216 | head_lxd_list: |
| 217 | - name: "juju-1" |
| 218 | service: "juju" |
| 219 | aliases: |
| 220 | - "juju" |
| 221 | ipv4_last_octet: 10 |
| 222 | |
| 223 | - name: "ceilometer-1" |
| 224 | service: "ceilometer" |
| 225 | aliases: |
| 226 | - "ceilometer" |
| 227 | ipv4_last_octet: 20 |
| 228 | forwarded_ports: |
| 229 | - { ext: 8777, int: 8777 } |
| 230 | |
| 231 | - name: "glance-1" |
| 232 | service: "glance" |
| 233 | aliases: |
| 234 | - "glance" |
| 235 | ipv4_last_octet: 30 |
| 236 | forwarded_ports: |
| 237 | - { ext: 9292, int: 9292 } |
| 238 | |
| 239 | - name: "keystone-1" |
| 240 | service: "keystone" |
| 241 | aliases: |
| 242 | - "keystone" |
| 243 | ipv4_last_octet: 40 |
| 244 | forwarded_ports: |
| 245 | - { ext: 35357, int: 35357 } |
| 246 | - { ext: 4990, int: 4990 } |
| 247 | - { ext: 5000, int: 5000 } |
| 248 | |
| 249 | - name: "percona-cluster-1" |
| 250 | service: "percona-cluster" |
| 251 | aliases: |
| 252 | - "percona-cluster" |
| 253 | ipv4_last_octet: 50 |
| 254 | |
| 255 | - name: "nagios-1" |
| 256 | service: "nagios" |
| 257 | aliases: |
| 258 | - "nagios" |
| 259 | ipv4_last_octet: 60 |
| 260 | forwarded_ports: |
| 261 | - { ext: 3128, int: 80 } |
| 262 | |
| 263 | - name: "neutron-api-1" |
| 264 | service: "neutron-api" |
| 265 | aliases: |
| 266 | - "neutron-api" |
| 267 | ipv4_last_octet: 70 |
| 268 | forwarded_ports: |
| 269 | - { ext: 9696, int: 9696 } |
| 270 | |
| 271 | - name: "nova-cloud-controller-1" |
| 272 | service: "nova-cloud-controller" |
| 273 | aliases: |
| 274 | - "nova-cloud-controller" |
| 275 | ipv4_last_octet: 80 |
| 276 | forwarded_ports: |
| 277 | - { ext: 8774, int: 8774 } |
| 278 | |
| 279 | - name: "openstack-dashboard-1" |
| 280 | service: "openstack-dashboard" |
| 281 | aliases: |
| 282 | - "openstack-dashboard" |
| 283 | ipv4_last_octet: 90 |
| 284 | forwarded_ports: |
| 285 | - { ext: 8080, int: 80 } |
| 286 | |
| 287 | - name: "rabbitmq-server-1" |
| 288 | service: "rabbitmq-server" |
| 289 | aliases: |
| 290 | - "rabbitmq-server" |
| 291 | ipv4_last_octet: 100 |
| 292 | |
| 293 | - name: "mongodb-1" |
| 294 | service: "mongodb" |
| 295 | aliases: |
| 296 | - "mongodb" |
| 297 | ipv4_last_octet: 110 |
| 298 | |
| 299 | lxd_service_list: |
| 300 | - ceilometer |
| 301 | - glance |
| 302 | - keystone |
| 303 | - mongodb |
| 304 | - nagios |
| 305 | - neutron-api |
| 306 | - nova-cloud-controller |
| 307 | - openstack-dashboard |
| 308 | - percona-cluster |
| 309 | - rabbitmq-server |
| 310 | |
| 311 | standalone_service_list: |
| 312 | - ntp |
| 313 | - nrpe |
| 314 | - ceilometer-agent |
| 315 | |
| 316 | |
| 317 | service_relations: |
| 318 | - name: keystone |
| 319 | relations: [ "percona-cluster", "nrpe", ] |
| 320 | |
| 321 | - name: nova-cloud-controller |
| 322 | relations: [ "percona-cluster", "rabbitmq-server", "glance", "keystone", "nrpe", ] |
| 323 | |
| 324 | - name: glance |
| 325 | relations: [ "percona-cluster", "keystone", "nrpe", ] |
| 326 | |
| 327 | - name: neutron-api |
| 328 | relations: [ "keystone", "percona-cluster", "rabbitmq-server", "nova-cloud-controller", "nrpe", ] |
| 329 | |
| 330 | - name: openstack-dashboard |
| 331 | relations: [ "keystone", "nrpe", ] |
| 332 | |
| 333 | - name: nagios |
| 334 | relations: [ "nrpe", ] |
| 335 | |
| 336 | - name: "percona-cluster:juju-info" |
| 337 | relations: [ "nrpe:general-info", ] |
| 338 | |
| 339 | - name: rabbitmq-server |
| 340 | relations: [ "nrpe", ] |
| 341 | |
| 342 | - name: ceilometer |
| 343 | relations: [ "mongodb", "rabbitmq-server", "nagios", "nrpe", ] |
| 344 | |
| 345 | - name: "ceilometer:identity-service" |
| 346 | relations: [ "keystone:identity-service", ] |
| 347 | |
| 348 | - name: "ceilometer:ceilometer-service" |
| 349 | relations: [ "ceilometer-agent:ceilometer-service", ] |
| 350 | |
| 351 | |
| 352 | compute_relations: |
| 353 | - name: nova-compute |
| 354 | relations: [ "ceilometer-agent", "glance", "nova-cloud-controller", "nagios", "nrpe", ] |
| 355 | |
| 356 | - name: "nova-compute:shared-db" |
| 357 | relations: [ "percona-cluster:shared-db", ] |
| 358 | |
| 359 | - name: "nova-compute:amqp" |
| 360 | relations: [ "rabbitmq-server:amqp", ] |
| 361 | |
| 362 | - name: ntp |
| 363 | relations: [ "nova-compute", ] |
| 364 | |
| 365 | |
| 366 | xos_images: |
| 367 | - name: "trusty-server-multi-nic" |
| 368 | url: "http://www.vicci.org/opencloud/trusty-server-cloudimg-amd64-disk1.img.20170201" |
| 369 | checksum: "sha256:ebf007ba3ec1043b7cd011fc6668e2a1d1d4c69c41071e8513ab355df7a057cb" |
| 370 | |
| 371 | - name: "vsg-1.1" |
| 372 | url: "http://www.vicci.org/cord/vsg-1.1.img" |
| 373 | checksum: "sha256:16b0beb6778aed0f5feecb05f8d5750e6c262f98e6011e99ddadf7d46a177b6f" |
| 374 | |
| 375 | - name: "ceilometer-trusty-server-multi-nic" |
| 376 | url: "http://www.vicci.org/cord/ceilometer-trusty-server-multi-nic.compressed.qcow2" |
| 377 | checksum: "sha256:b77ef8d692b640568dea13df99fe1dfcb1f4bb4ac05408db9ff77399b34f754f" |
| 378 | |
| 379 | - name: "ceilometer-service-trusty-server-multi-nic" |
| 380 | url: "http://www.vicci.org/cord/ceilometer-service-trusty-server-multi-nic.compressed.qcow2.20170131" |
| 381 | checksum: "sha256:f0341e283f0f2cb8f70cd1a6347e0081c9c8492ef34eb6397c657ef824800d4f" |