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