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