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