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