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