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