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 | |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 10 | credentials_dir: "{{ playbook_dir }}/credentials" |
| 11 | xos_admin_user: "xosadmin@opencord.org" |
| 12 | xos_admin_pass: "{{ lookup('password', credentials_dir ~ '/xosadmin@opencord.org chars=ascii_letters,digits') }}" |
Andrea Campanella | bcfb2d6 | 2017-02-15 09:37:35 -0800 | [diff] [blame] | 13 | xos_admin_first: XOS |
| 14 | xos_admin_last: Admin |
| 15 | |
| 16 | xos_users: [] |
| 17 | |
Andrea Campanella | 4ef4839 | 2017-05-16 10:07:05 -0700 | [diff] [blame] | 18 | use_vtn: True |
Andrea Campanella | bcfb2d6 | 2017-02-15 09:37:35 -0800 | [diff] [blame] | 19 | |
| 20 | xos_tosca_config_templates: |
| 21 | - openstack.yaml |
Andrea Campanella | 4ef4839 | 2017-05-16 10:07:05 -0700 | [diff] [blame] | 22 | - vtn-service.yaml |
| 23 | - fabric-service.yaml |
Andrea Campanella | 4f155c0 | 2017-05-02 17:44:10 -0700 | [diff] [blame] | 24 | - vnodglobal-service.yaml |
Andrea Campanella | bcfb2d6 | 2017-02-15 09:37:35 -0800 | [diff] [blame] | 25 | |
Andrea Campanella | 4ef4839 | 2017-05-16 10:07:05 -0700 | [diff] [blame] | 26 | xos_other_templates: |
| 27 | - fabric-network-cfg.json |
| 28 | |
Andrea Campanella | 4f155c0 | 2017-05-02 17:44:10 -0700 | [diff] [blame] | 29 | # GUI Config [new GUI] |
| 30 | gui_project_name: "E-CORD" |
| 31 | gui_background: "cord-bg.jpg" # TODO find ecord image |
| 32 | gui_payoff: "Your Enterprise VNF orchestrator" |
| 33 | |
Andrea Campanella | bcfb2d6 | 2017-02-15 09:37:35 -0800 | [diff] [blame] | 34 | # GUI branding |
| 35 | gui_branding_name: "ECORD" |
| 36 | gui_branding_icon: "/static/cord-logo.png" |
| 37 | gui_branding_favicon: "/static/cord-favicon.png" |
| 38 | gui_branding_bg: "/static/cord-bg.jpg" |
| 39 | |
Andrea Campanella | 4f155c0 | 2017-05-02 17:44:10 -0700 | [diff] [blame] | 40 | enabled_gui_extensions: [] |
| 41 | |
Andrea Campanella | bcfb2d6 | 2017-02-15 09:37:35 -0800 | [diff] [blame] | 42 | # paths defined in manifest/default.xml |
| 43 | xos_services: |
| 44 | - name: vtn |
| 45 | path: onos-apps/apps/vtn |
| 46 | - name: openstack |
| 47 | path: orchestration/xos_services/openstack |
Andrea Campanella | 4ef4839 | 2017-05-16 10:07:05 -0700 | [diff] [blame] | 48 | - name: fabric |
| 49 | path: orchestration/xos_services/fabric |
Andrea Campanella | bcfb2d6 | 2017-02-15 09:37:35 -0800 | [diff] [blame] | 50 | - name: onos |
| 51 | path: orchestration/xos_services/onos-service |
Andrea Campanella | bcfb2d6 | 2017-02-15 09:37:35 -0800 | [diff] [blame] | 52 | - name: metronetwork |
| 53 | path: orchestration/xos_services/metro-net |
| 54 | |
| 55 | xos_service_sshkeys: |
| 56 | - name: onos_rsa |
| 57 | source_path: "~/.ssh/id_rsa" |
| 58 | - name: onos_rsa.pub |
| 59 | source_path: "~/.ssh/id_rsa.pub" |
Andrea Campanella | bcfb2d6 | 2017-02-15 09:37:35 -0800 | [diff] [blame] | 60 | |
| 61 | # VM networks/bridges on head |
| 62 | virt_nets: |
| 63 | - name: mgmtbr |
| 64 | ipv4_prefix: 192.168.122 |
| 65 | head_vms: true |
| 66 | |
| 67 | # site domain suffix |
| 68 | site_suffix: cord.lab |
| 69 | |
| 70 | # resolv.conf settings |
| 71 | dns_search: |
| 72 | - "{{ site_suffix }}" |
| 73 | |
| 74 | # SSL server certificate generation |
| 75 | server_certs: |
| 76 | - cn: "keystone.{{ site_suffix }}" |
| 77 | subj: "/C=US/ST=California/L=Menlo Park/O=ON.Lab/OU=Test Deployment/CN=keystone.{{ site_suffix }}" |
| 78 | altnames: |
| 79 | - "DNS:keystone.{{ site_suffix }}" |
| 80 | - "DNS:keystone" |
| 81 | - cn: "xos-core.{{ site_suffix }}" |
| 82 | subj: "/C=US/ST=California/L=Menlo Park/O=ON.Lab/OU=Test Deployment/CN=xos-core.{{ site_suffix }}" |
| 83 | altnames: |
| 84 | - "DNS:xos-core.{{ site_suffix }}" |
| 85 | |
| 86 | # NSD/Unbound settings |
| 87 | nsd_zones: |
| 88 | - name: "{{ site_suffix }}" |
| 89 | ipv4_first_octets: 192.168.122 |
| 90 | name_reverse_unbound: "168.192.in-addr.arpa" |
| 91 | soa: ns1 |
| 92 | ns: |
| 93 | - { name: ns1 } |
| 94 | nodelist: head_vm_list |
| 95 | aliases: |
| 96 | - { name: "ns1" , dest: "head" } |
| 97 | - { name: "ns" , dest: "head" } |
| 98 | - { name: "apt-cache" , dest: "head" } |
| 99 | |
| 100 | name_on_public_interface: head |
| 101 | |
Andrea Campanella | 4ef4839 | 2017-05-16 10:07:05 -0700 | [diff] [blame] | 102 | # VTN network configuration |
| 103 | management_network_cidr: 172.27.0.0/24 |
| 104 | management_network_ip: 172.27.0.1/24 |
| 105 | data_plane_ip: 10.168.0.253/24 |
| 106 | |
Andrea Campanella | bcfb2d6 | 2017-02-15 09:37:35 -0800 | [diff] [blame] | 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 | |
Andrea Campanella | bcfb2d6 | 2017-02-15 09:37:35 -0800 | [diff] [blame] | 130 | keystone_admin_password: "{{ lookup('password', 'credentials/cord_keystone_admin chars=ascii_letters,digits') }}" |
| 131 | |
| 132 | deployment_flavors: |
| 133 | - m1.small |
| 134 | - m1.medium |
| 135 | - m1.large |
| 136 | - m1.xlarge |
| 137 | |
Andrea Campanella | bcfb2d6 | 2017-02-15 09:37:35 -0800 | [diff] [blame] | 138 | charm_versions: |
| 139 | ceilometer: "cs:trusty/ceilometer-17" |
| 140 | ceilometer-agent: "cs:trusty/ceilometer-agent-13" |
| 141 | glance: "cs:trusty/glance-28" |
| 142 | keystone: "cs:trusty/keystone-33" |
| 143 | mongodb: "cs:trusty/mongodb-33" |
| 144 | percona-cluster: "cs:trusty/percona-cluster-31" |
| 145 | nagios: "cs:trusty/nagios-10" |
Andy Bavier | fd16969 | 2017-04-14 16:32:08 -0400 | [diff] [blame] | 146 | neutron-api: "cs:~cordteam/trusty/neutron-api-5" |
Andrea Campanella | bcfb2d6 | 2017-02-15 09:37:35 -0800 | [diff] [blame] | 147 | nova-cloud-controller: "cs:trusty/nova-cloud-controller-64" |
| 148 | nova-compute: "cs:~cordteam/trusty/nova-compute-2" |
| 149 | nrpe: "cs:trusty/nrpe-4" |
| 150 | ntp: "cs:trusty/ntp-14" |
| 151 | openstack-dashboard: "cs:trusty/openstack-dashboard-19" |
| 152 | rabbitmq-server: "cs:trusty/rabbitmq-server-42" |
| 153 | |
| 154 | head_vm_list: [] |
| 155 | |
| 156 | head_lxd_list: |
| 157 | - name: "juju-1" |
| 158 | service: "juju" |
| 159 | aliases: |
| 160 | - "juju" |
| 161 | ipv4_last_octet: 10 |
| 162 | |
| 163 | - name: "ceilometer-1" |
| 164 | service: "ceilometer" |
| 165 | aliases: |
| 166 | - "ceilometer" |
| 167 | ipv4_last_octet: 20 |
| 168 | forwarded_ports: |
| 169 | - { ext: 8777, int: 8777 } |
| 170 | |
| 171 | - name: "glance-1" |
| 172 | service: "glance" |
| 173 | aliases: |
| 174 | - "glance" |
| 175 | ipv4_last_octet: 30 |
| 176 | forwarded_ports: |
| 177 | - { ext: 9292, int: 9292 } |
| 178 | |
| 179 | - name: "keystone-1" |
| 180 | service: "keystone" |
| 181 | aliases: |
| 182 | - "keystone" |
| 183 | ipv4_last_octet: 40 |
| 184 | forwarded_ports: |
| 185 | - { ext: 35357, int: 35357 } |
| 186 | - { ext: 4990, int: 4990 } |
| 187 | - { ext: 5000, int: 5000 } |
| 188 | |
| 189 | - name: "percona-cluster-1" |
| 190 | service: "percona-cluster" |
| 191 | aliases: |
| 192 | - "percona-cluster" |
| 193 | ipv4_last_octet: 50 |
| 194 | |
| 195 | - name: "nagios-1" |
| 196 | service: "nagios" |
| 197 | aliases: |
| 198 | - "nagios" |
| 199 | ipv4_last_octet: 60 |
| 200 | forwarded_ports: |
| 201 | - { ext: 3128, int: 80 } |
| 202 | |
| 203 | - name: "neutron-api-1" |
| 204 | service: "neutron-api" |
| 205 | aliases: |
| 206 | - "neutron-api" |
| 207 | ipv4_last_octet: 70 |
| 208 | forwarded_ports: |
| 209 | - { ext: 9696, int: 9696 } |
| 210 | |
| 211 | - name: "nova-cloud-controller-1" |
| 212 | service: "nova-cloud-controller" |
| 213 | aliases: |
| 214 | - "nova-cloud-controller" |
| 215 | ipv4_last_octet: 80 |
| 216 | forwarded_ports: |
| 217 | - { ext: 8774, int: 8774 } |
| 218 | |
| 219 | - name: "openstack-dashboard-1" |
| 220 | service: "openstack-dashboard" |
| 221 | aliases: |
| 222 | - "openstack-dashboard" |
| 223 | ipv4_last_octet: 90 |
| 224 | forwarded_ports: |
| 225 | - { ext: 8080, int: 80 } |
| 226 | |
| 227 | - name: "rabbitmq-server-1" |
| 228 | service: "rabbitmq-server" |
| 229 | aliases: |
| 230 | - "rabbitmq-server" |
| 231 | ipv4_last_octet: 100 |
| 232 | |
| 233 | - name: "mongodb-1" |
| 234 | service: "mongodb" |
| 235 | aliases: |
| 236 | - "mongodb" |
| 237 | ipv4_last_octet: 110 |
| 238 | |
| 239 | lxd_service_list: |
| 240 | - ceilometer |
| 241 | - glance |
| 242 | - keystone |
| 243 | - mongodb |
| 244 | - nagios |
| 245 | - neutron-api |
| 246 | - nova-cloud-controller |
| 247 | - openstack-dashboard |
| 248 | - percona-cluster |
| 249 | - rabbitmq-server |
| 250 | |
| 251 | standalone_service_list: |
| 252 | - ntp |
| 253 | - nrpe |
| 254 | - ceilometer-agent |
| 255 | |
| 256 | |
| 257 | service_relations: |
| 258 | - name: keystone |
| 259 | relations: [ "percona-cluster", "nrpe", ] |
| 260 | |
| 261 | - name: nova-cloud-controller |
| 262 | relations: [ "percona-cluster", "rabbitmq-server", "glance", "keystone", "nrpe", ] |
| 263 | |
| 264 | - name: glance |
| 265 | relations: [ "percona-cluster", "keystone", "nrpe", ] |
| 266 | |
| 267 | - name: neutron-api |
| 268 | relations: [ "keystone", "percona-cluster", "rabbitmq-server", "nova-cloud-controller", "nrpe", ] |
| 269 | |
| 270 | - name: openstack-dashboard |
| 271 | relations: [ "keystone", "nrpe", ] |
| 272 | |
| 273 | - name: nagios |
| 274 | relations: [ "nrpe", ] |
| 275 | |
| 276 | - name: "percona-cluster:juju-info" |
| 277 | relations: [ "nrpe:general-info", ] |
| 278 | |
| 279 | - name: rabbitmq-server |
| 280 | relations: [ "nrpe", ] |
| 281 | |
| 282 | - name: ceilometer |
| 283 | relations: [ "mongodb", "rabbitmq-server", "nagios", "nrpe", ] |
| 284 | |
| 285 | - name: "ceilometer:identity-service" |
| 286 | relations: [ "keystone:identity-service", ] |
| 287 | |
| 288 | - name: "ceilometer:ceilometer-service" |
| 289 | relations: [ "ceilometer-agent:ceilometer-service", ] |
| 290 | |
| 291 | |
| 292 | compute_relations: |
| 293 | - name: nova-compute |
| 294 | relations: [ "ceilometer-agent", "glance", "nova-cloud-controller", "nagios", "nrpe", ] |
| 295 | |
| 296 | - name: "nova-compute:shared-db" |
| 297 | relations: [ "percona-cluster:shared-db", ] |
| 298 | |
| 299 | - name: "nova-compute:amqp" |
| 300 | relations: [ "rabbitmq-server:amqp", ] |
| 301 | |
| 302 | - name: ntp |
| 303 | relations: [ "nova-compute", ] |
| 304 | |
| 305 | |
| 306 | xos_images: |
| 307 | - name: "trusty-server-multi-nic" |
| 308 | url: "http://www.vicci.org/opencloud/trusty-server-cloudimg-amd64-disk1.img.20170201" |
| 309 | checksum: "sha256:ebf007ba3ec1043b7cd011fc6668e2a1d1d4c69c41071e8513ab355df7a057cb" |
| 310 | |
Andrea Campanella | bcfb2d6 | 2017-02-15 09:37:35 -0800 | [diff] [blame] | 311 | - name: "ceilometer-trusty-server-multi-nic" |
| 312 | url: "http://www.vicci.org/cord/ceilometer-trusty-server-multi-nic.compressed.qcow2" |
| 313 | checksum: "sha256:b77ef8d692b640568dea13df99fe1dfcb1f4bb4ac05408db9ff77399b34f754f" |
| 314 | |
| 315 | - name: "ceilometer-service-trusty-server-multi-nic" |
| 316 | url: "http://www.vicci.org/cord/ceilometer-service-trusty-server-multi-nic.compressed.qcow2.20170131" |
| 317 | checksum: "sha256:f0341e283f0f2cb8f70cd1a6347e0081c9c8492ef34eb6397c657ef824800d4f" |