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 | |
| 114 | # VM networks/bridges on head |
| 115 | virt_nets: |
| 116 | - name: mgmtbr |
| 117 | ipv4_prefix: 192.168.122 |
| 118 | head_vms: true |
| 119 | |
| 120 | # site domain suffix |
| 121 | site_suffix: cord.lab |
| 122 | |
| 123 | # resolv.conf settings |
| 124 | dns_search: |
| 125 | - "{{ site_suffix }}" |
| 126 | |
| 127 | # SSL server certificate generation |
| 128 | server_certs: |
| 129 | - cn: "keystone.{{ site_suffix }}" |
| 130 | subj: "/C=US/ST=California/L=Menlo Park/O=ON.Lab/OU=Test Deployment/CN=keystone.{{ site_suffix }}" |
| 131 | altnames: |
| 132 | - "DNS:keystone.{{ site_suffix }}" |
| 133 | - "DNS:keystone" |
| 134 | - cn: "xos-core.{{ site_suffix }}" |
| 135 | subj: "/C=US/ST=California/L=Menlo Park/O=ON.Lab/OU=Test Deployment/CN=xos-core.{{ site_suffix }}" |
| 136 | altnames: |
| 137 | - "DNS:xos-core.{{ site_suffix }}" |
| 138 | |
| 139 | # NSD/Unbound settings |
| 140 | nsd_zones: |
| 141 | - name: "{{ site_suffix }}" |
| 142 | ipv4_first_octets: 192.168.122 |
| 143 | name_reverse_unbound: "168.192.in-addr.arpa" |
| 144 | soa: ns1 |
| 145 | ns: |
| 146 | - { name: ns1 } |
| 147 | nodelist: head_vm_list |
| 148 | aliases: |
| 149 | - { name: "ns1" , dest: "head" } |
| 150 | - { name: "ns" , dest: "head" } |
| 151 | - { name: "apt-cache" , dest: "head" } |
| 152 | |
| 153 | name_on_public_interface: head |
| 154 | |
| 155 | # VTN network configuration |
| 156 | management_network_cidr: 172.27.0.0/24 |
| 157 | management_network_ip: 172.27.0.1/24 |
| 158 | data_plane_ip: 10.168.0.253/24 |
| 159 | |
| 160 | # CORD ONOS app version |
| 161 | cord_app_version: 1.2-SNAPSHOT |
| 162 | |
| 163 | # If true, unbound listens on the head node's `ansible_default_ipv4` interface |
| 164 | unbound_listen_on_default: True |
| 165 | |
| 166 | # turn this on, or override it when running the playbook with --extra-vars="on_cloudlab=True" |
| 167 | on_cloudlab: False |
| 168 | |
| 169 | # turn this off, or override when running playbook with --extra-vars="on_maas=False" |
| 170 | on_maas: True |
| 171 | |
| 172 | run_dist_upgrade: False |
| 173 | |
| 174 | maas_node_key: /etc/maas/ansible/id_rsa |
| 175 | |
| 176 | openstack_version: kilo |
| 177 | |
| 178 | juju_config_name: cord |
| 179 | |
| 180 | juju_config_path: /usr/local/src/juju_config.yml |
| 181 | |
| 182 | # Pull ONOS from local Docker registry rather than Docker Hub |
| 183 | onos_docker_image: "docker-registry:5000/opencord/onos:candidate" |
| 184 | |
Scott Baker | 71954ac | 2017-04-10 21:41:31 -0700 | [diff] [blame] | 185 | # Pull XOS from local Docker registry |
| 186 | xos_docker_image: "docker-registry:5000/xosproject/xos:candidate" |
| 187 | |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 188 | keystone_admin_password: "{{ lookup('password', 'credentials/cord_keystone_admin chars=ascii_letters,digits') }}" |
| 189 | |
| 190 | deployment_flavors: |
| 191 | - m1.small |
| 192 | - m1.medium |
| 193 | - m1.large |
| 194 | - m1.xlarge |
| 195 | |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 196 | charm_versions: |
| 197 | ceilometer: "cs:trusty/ceilometer-17" |
| 198 | ceilometer-agent: "cs:trusty/ceilometer-agent-13" |
| 199 | glance: "cs:trusty/glance-28" |
| 200 | keystone: "cs:trusty/keystone-33" |
| 201 | mongodb: "cs:trusty/mongodb-33" |
| 202 | percona-cluster: "cs:trusty/percona-cluster-31" |
| 203 | nagios: "cs:trusty/nagios-10" |
Andy Bavier | fd16969 | 2017-04-14 16:32:08 -0400 | [diff] [blame] | 204 | neutron-api: "cs:~cordteam/trusty/neutron-api-5" |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 205 | nova-cloud-controller: "cs:trusty/nova-cloud-controller-64" |
| 206 | nova-compute: "cs:~cordteam/trusty/nova-compute-2" |
| 207 | nrpe: "cs:trusty/nrpe-4" |
| 208 | ntp: "cs:trusty/ntp-14" |
| 209 | openstack-dashboard: "cs:trusty/openstack-dashboard-19" |
| 210 | rabbitmq-server: "cs:trusty/rabbitmq-server-42" |
| 211 | |
| 212 | head_vm_list: [] |
| 213 | |
| 214 | head_lxd_list: |
| 215 | - name: "juju-1" |
| 216 | service: "juju" |
| 217 | aliases: |
| 218 | - "juju" |
| 219 | ipv4_last_octet: 10 |
| 220 | |
| 221 | - name: "ceilometer-1" |
| 222 | service: "ceilometer" |
| 223 | aliases: |
| 224 | - "ceilometer" |
| 225 | ipv4_last_octet: 20 |
| 226 | forwarded_ports: |
| 227 | - { ext: 8777, int: 8777 } |
| 228 | |
| 229 | - name: "glance-1" |
| 230 | service: "glance" |
| 231 | aliases: |
| 232 | - "glance" |
| 233 | ipv4_last_octet: 30 |
| 234 | forwarded_ports: |
| 235 | - { ext: 9292, int: 9292 } |
| 236 | |
| 237 | - name: "keystone-1" |
| 238 | service: "keystone" |
| 239 | aliases: |
| 240 | - "keystone" |
| 241 | ipv4_last_octet: 40 |
| 242 | forwarded_ports: |
| 243 | - { ext: 35357, int: 35357 } |
| 244 | - { ext: 4990, int: 4990 } |
| 245 | - { ext: 5000, int: 5000 } |
| 246 | |
| 247 | - name: "percona-cluster-1" |
| 248 | service: "percona-cluster" |
| 249 | aliases: |
| 250 | - "percona-cluster" |
| 251 | ipv4_last_octet: 50 |
| 252 | |
| 253 | - name: "nagios-1" |
| 254 | service: "nagios" |
| 255 | aliases: |
| 256 | - "nagios" |
| 257 | ipv4_last_octet: 60 |
| 258 | forwarded_ports: |
| 259 | - { ext: 3128, int: 80 } |
| 260 | |
| 261 | - name: "neutron-api-1" |
| 262 | service: "neutron-api" |
| 263 | aliases: |
| 264 | - "neutron-api" |
| 265 | ipv4_last_octet: 70 |
| 266 | forwarded_ports: |
| 267 | - { ext: 9696, int: 9696 } |
| 268 | |
| 269 | - name: "nova-cloud-controller-1" |
| 270 | service: "nova-cloud-controller" |
| 271 | aliases: |
| 272 | - "nova-cloud-controller" |
| 273 | ipv4_last_octet: 80 |
| 274 | forwarded_ports: |
| 275 | - { ext: 8774, int: 8774 } |
| 276 | |
| 277 | - name: "openstack-dashboard-1" |
| 278 | service: "openstack-dashboard" |
| 279 | aliases: |
| 280 | - "openstack-dashboard" |
| 281 | ipv4_last_octet: 90 |
| 282 | forwarded_ports: |
| 283 | - { ext: 8080, int: 80 } |
| 284 | |
| 285 | - name: "rabbitmq-server-1" |
| 286 | service: "rabbitmq-server" |
| 287 | aliases: |
| 288 | - "rabbitmq-server" |
| 289 | ipv4_last_octet: 100 |
| 290 | |
| 291 | - name: "mongodb-1" |
| 292 | service: "mongodb" |
| 293 | aliases: |
| 294 | - "mongodb" |
| 295 | ipv4_last_octet: 110 |
| 296 | |
| 297 | lxd_service_list: |
| 298 | - ceilometer |
| 299 | - glance |
| 300 | - keystone |
| 301 | - mongodb |
| 302 | - nagios |
| 303 | - neutron-api |
| 304 | - nova-cloud-controller |
| 305 | - openstack-dashboard |
| 306 | - percona-cluster |
| 307 | - rabbitmq-server |
| 308 | |
| 309 | standalone_service_list: |
| 310 | - ntp |
| 311 | - nrpe |
| 312 | - ceilometer-agent |
| 313 | |
| 314 | |
| 315 | service_relations: |
| 316 | - name: keystone |
| 317 | relations: [ "percona-cluster", "nrpe", ] |
| 318 | |
| 319 | - name: nova-cloud-controller |
| 320 | relations: [ "percona-cluster", "rabbitmq-server", "glance", "keystone", "nrpe", ] |
| 321 | |
| 322 | - name: glance |
| 323 | relations: [ "percona-cluster", "keystone", "nrpe", ] |
| 324 | |
| 325 | - name: neutron-api |
| 326 | relations: [ "keystone", "percona-cluster", "rabbitmq-server", "nova-cloud-controller", "nrpe", ] |
| 327 | |
| 328 | - name: openstack-dashboard |
| 329 | relations: [ "keystone", "nrpe", ] |
| 330 | |
| 331 | - name: nagios |
| 332 | relations: [ "nrpe", ] |
| 333 | |
| 334 | - name: "percona-cluster:juju-info" |
| 335 | relations: [ "nrpe:general-info", ] |
| 336 | |
| 337 | - name: rabbitmq-server |
| 338 | relations: [ "nrpe", ] |
| 339 | |
| 340 | - name: ceilometer |
| 341 | relations: [ "mongodb", "rabbitmq-server", "nagios", "nrpe", ] |
| 342 | |
| 343 | - name: "ceilometer:identity-service" |
| 344 | relations: [ "keystone:identity-service", ] |
| 345 | |
| 346 | - name: "ceilometer:ceilometer-service" |
| 347 | relations: [ "ceilometer-agent:ceilometer-service", ] |
| 348 | |
| 349 | |
| 350 | compute_relations: |
| 351 | - name: nova-compute |
| 352 | relations: [ "ceilometer-agent", "glance", "nova-cloud-controller", "nagios", "nrpe", ] |
| 353 | |
| 354 | - name: "nova-compute:shared-db" |
| 355 | relations: [ "percona-cluster:shared-db", ] |
| 356 | |
| 357 | - name: "nova-compute:amqp" |
| 358 | relations: [ "rabbitmq-server:amqp", ] |
| 359 | |
| 360 | - name: ntp |
| 361 | relations: [ "nova-compute", ] |
| 362 | |
| 363 | |
| 364 | xos_images: |
| 365 | - name: "trusty-server-multi-nic" |
| 366 | url: "http://www.vicci.org/opencloud/trusty-server-cloudimg-amd64-disk1.img.20170201" |
| 367 | checksum: "sha256:ebf007ba3ec1043b7cd011fc6668e2a1d1d4c69c41071e8513ab355df7a057cb" |
| 368 | |
| 369 | - name: "vsg-1.1" |
| 370 | url: "http://www.vicci.org/cord/vsg-1.1.img" |
| 371 | checksum: "sha256:16b0beb6778aed0f5feecb05f8d5750e6c262f98e6011e99ddadf7d46a177b6f" |
| 372 | |
| 373 | - name: "ceilometer-trusty-server-multi-nic" |
| 374 | url: "http://www.vicci.org/cord/ceilometer-trusty-server-multi-nic.compressed.qcow2" |
| 375 | checksum: "sha256:b77ef8d692b640568dea13df99fe1dfcb1f4bb4ac05408db9ff77399b34f754f" |
| 376 | |
| 377 | - name: "ceilometer-service-trusty-server-multi-nic" |
| 378 | url: "http://www.vicci.org/cord/ceilometer-service-trusty-server-multi-nic.compressed.qcow2.20170131" |
| 379 | checksum: "sha256:f0341e283f0f2cb8f70cd1a6347e0081c9c8492ef34eb6397c657ef824800d4f" |