Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 1 | --- |
| 2 | # vars/opencloud.yaml |
| 3 | # Generic OpenCloud Site |
| 4 | |
| 5 | # site configuration |
| 6 | site_name: generic_opencloud |
| 7 | site_humanname: "Generic OpenCloud" |
| 8 | deployment_type: campus |
| 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 | - nodes.yaml |
Matteo Scandolo | cfc65ea | 2017-06-27 14:14:19 -0700 | [diff] [blame] | 22 | - xos-gui-extensions.yml |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 23 | - vtn-service.yaml |
| 24 | - management-net.yaml |
Matteo Scandolo | 6f64e29 | 2017-08-01 11:02:18 -0700 | [diff] [blame] | 25 | - xos-gui-extensions.yml |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 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 | # Not neeeded, default is OpenCloud |
| 35 | |
| 36 | # paths defined in manifest/default.xml |
| 37 | xos_services: |
| 38 | - name: vtn |
| 39 | path: onos-apps/apps/vtn |
| 40 | - name: onos |
| 41 | path: orchestration/xos_services/onos-service |
| 42 | - name: vrouter |
| 43 | path: orchestration/xos_services/vrouter |
| 44 | |
| 45 | xos_service_sshkeys: |
| 46 | - name: onos_rsa |
| 47 | source_path: "~/.ssh/id_rsa" |
| 48 | - name: onos_rsa.pub |
| 49 | source_path: "~/.ssh/id_rsa.pub" |
| 50 | |
| 51 | |
| 52 | # IP prefix for VMs |
| 53 | virt_nets: |
| 54 | - name: mgmtbr |
| 55 | ipv4_prefix: 192.168.250 |
| 56 | head_vms: true |
| 57 | |
| 58 | # DNS/domain settings |
| 59 | site_suffix: generic.infra.opencloud.us |
| 60 | |
| 61 | dns_search: |
| 62 | - "{{ site_suffix }}" |
| 63 | |
| 64 | # SSL server certificate generation |
| 65 | server_certs: |
| 66 | - cn: "keystone.{{ site_suffix }}" |
| 67 | subj: "/C=US/ST=California/L=Menlo Park/O=ON.Lab/OU=Test Deployment/CN=keystone.{{ site_suffix }}" |
| 68 | altnames: |
| 69 | - "DNS:keystone.{{ site_suffix }}" |
| 70 | - "DNS:keystone" |
| 71 | - cn: "xos-core.{{ site_suffix }}" |
| 72 | subj: "/C=US/ST=California/L=Menlo Park/O=ON.Lab/OU=Test Deployment/CN=xos-core.{{ site_suffix }}" |
| 73 | altnames: |
| 74 | - "DNS:xos-core.{{ site_suffix }}" |
| 75 | |
| 76 | # NSD/Unbound settings |
| 77 | nsd_zones: |
| 78 | - name: "{{ site_suffix }}" |
| 79 | ipv4_first_octets: 192.168.250 |
| 80 | name_reverse_unbound: "168.192.in-addr.arpa" |
| 81 | soa: ns1 |
| 82 | ns: |
| 83 | - { name: ns1 } |
| 84 | nodelist: head_vm_list |
| 85 | aliases: |
| 86 | - { name: "ns1" , dest: "head" } |
| 87 | - { name: "ns" , dest: "head" } |
| 88 | - { name: "apt-cache" , dest: "head" } |
| 89 | |
| 90 | name_on_public_interface: head |
| 91 | |
| 92 | # If true, unbound listens on the head node's `ansible_default_ipv4` interface |
| 93 | unbound_listen_on_default: True |
| 94 | |
| 95 | # VTN network configuration |
| 96 | management_network_cidr: 172.27.0.0/24 |
| 97 | management_network_ip: 172.27.0.1/24 |
| 98 | data_plane_ip: 10.168.0.253/24 |
| 99 | |
| 100 | on_maas: False |
| 101 | |
| 102 | run_dist_upgrade: True |
| 103 | |
| 104 | openstack_version: kilo |
| 105 | |
| 106 | juju_config_name: opencloud |
| 107 | juju_config_path: /usr/local/src/juju_config.yml |
| 108 | |
| 109 | keystone_admin_password: "{{ lookup('password', 'credentials/generic_opencloud_keystone_admin chars=ascii_letters,digits') }}" |
| 110 | |
| 111 | deployment_flavors: |
| 112 | - m1.small |
| 113 | - m1.medium |
| 114 | - m1.large |
| 115 | - m1.xlarge |
| 116 | |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 117 | charm_versions: |
| 118 | neutron-api: "cs:~cordteam/trusty/neutron-api-3" |
| 119 | nova-compute: "cs:~cordteam/trusty/nova-compute-2" |
| 120 | |
| 121 | head_vm_list: [] |
| 122 | |
| 123 | head_lxd_list: |
| 124 | - name: "juju-1" |
| 125 | service: "juju" |
| 126 | aliases: |
| 127 | - "juju" |
| 128 | ipv4_last_octet: 10 |
| 129 | |
| 130 | - name: "ceilometer-1" |
| 131 | service: "ceilometer" |
| 132 | aliases: |
| 133 | - "ceilometer" |
| 134 | ipv4_last_octet: 20 |
| 135 | forwarded_ports: |
| 136 | - { ext: 8777, int: 8777 } |
| 137 | |
| 138 | - name: "glance-1" |
| 139 | service: "glance" |
| 140 | aliases: |
| 141 | - "glance" |
| 142 | ipv4_last_octet: 30 |
| 143 | forwarded_ports: |
| 144 | - { ext: 9292, int: 9292 } |
| 145 | |
| 146 | - name: "keystone-1" |
| 147 | service: "keystone" |
| 148 | aliases: |
| 149 | - "keystone" |
| 150 | ipv4_last_octet: 40 |
| 151 | forwarded_ports: |
| 152 | - { ext: 35357, int: 35357 } |
| 153 | - { ext: 4990, int: 4990 } |
| 154 | - { ext: 5000, int: 5000 } |
| 155 | |
| 156 | - name: "percona-cluster-1" |
| 157 | service: "percona-cluster" |
| 158 | aliases: |
| 159 | - "percona-cluster" |
| 160 | ipv4_last_octet: 50 |
| 161 | |
| 162 | - name: "neutron-api-1" |
| 163 | service: "neutron-api" |
| 164 | aliases: |
| 165 | - "neutron-api" |
| 166 | ipv4_last_octet: 70 |
| 167 | forwarded_ports: |
| 168 | - { ext: 9696, int: 9696 } |
| 169 | |
| 170 | - name: "nova-cloud-controller-1" |
| 171 | service: "nova-cloud-controller" |
| 172 | aliases: |
| 173 | - "nova-cloud-controller" |
| 174 | ipv4_last_octet: 90 |
| 175 | forwarded_ports: |
| 176 | - { ext: 8774, int: 8774 } |
| 177 | |
| 178 | - name: "openstack-dashboard-1" |
| 179 | service: "openstack-dashboard" |
| 180 | aliases: |
| 181 | - "openstack-dashboard" |
| 182 | ipv4_last_octet: 100 |
| 183 | forwarded_ports: |
| 184 | - { ext: 8080, int: 80 } |
| 185 | |
| 186 | - name: "rabbitmq-server-1" |
| 187 | service: "rabbitmq-server" |
| 188 | aliases: |
| 189 | - "rabbitmq-server" |
| 190 | ipv4_last_octet: 110 |
| 191 | |
| 192 | - name: "onos-cord-1" |
| 193 | aliases: |
| 194 | - "onos-cord" |
| 195 | ipv4_last_octet: 110 |
| 196 | docker_path: "cord" |
| 197 | |
| 198 | - name: "xos-1" |
| 199 | aliases: |
| 200 | - "xos" |
| 201 | ipv4_last_octet: 130 |
| 202 | docker_path: 'service-profile/opencloud' |
| 203 | |
| 204 | lxd_service_list: |
| 205 | - ceilometer |
| 206 | - glance |
| 207 | - keystone |
| 208 | - neutron-api |
| 209 | - nova-cloud-controller |
| 210 | - openstack-dashboard |
| 211 | - percona-cluster |
| 212 | - rabbitmq-server |
| 213 | |
| 214 | standalone_service_list: |
| 215 | - ceilometer-agent |
| 216 | - ntp |
| 217 | |
| 218 | service_relations: |
| 219 | - name: keystone |
| 220 | relations: [ "percona-cluster", ] |
| 221 | |
| 222 | - name: nova-cloud-controller |
| 223 | relations: [ "percona-cluster", "rabbitmq-server", "glance", "keystone", ] |
| 224 | |
| 225 | - name: glance |
| 226 | relations: [ "percona-cluster", "keystone", ] |
| 227 | |
| 228 | - name: neutron-api |
| 229 | relations: [ "keystone", "percona-cluster", "rabbitmq-server", "nova-cloud-controller", ] |
| 230 | |
| 231 | - name: openstack-dashboard |
| 232 | relations: [ "keystone", ] |
| 233 | |
| 234 | - name: ceilometer |
| 235 | relations: [ "mongodb", "rabbitmq-server" ] |
| 236 | |
| 237 | - name: "ceilometer:identity-service" |
| 238 | relations: [ "keystone:identity-service", ] |
| 239 | |
| 240 | - name: "ceilometer:ceilometer-service" |
| 241 | relations: [ "ceilometer-agent:ceilometer-service", ] |
| 242 | |
| 243 | |
| 244 | compute_relations: |
| 245 | - name: nova-compute |
| 246 | relations: [ "ceilometer-agent", "glance", "nova-cloud-controller", ] |
| 247 | |
| 248 | - name: "nova-compute:shared-db" |
| 249 | relations: [ "percona-cluster:shared-db", ] |
| 250 | |
| 251 | - name: "nova-compute:amqp" |
| 252 | relations: [ "rabbitmq-server:amqp", ] |
| 253 | |
| 254 | - name: ntp |
| 255 | relations: [ "nova-compute", ] |
| 256 | |
| 257 | |
| 258 | xos_images: |
| 259 | - name: "trusty-server-multi-nic" |
| 260 | url: "http://www.vicci.org/opencloud/trusty-server-cloudimg-amd64-disk1.img" |
| 261 | checksum: "sha256:c2d0ffc937aeb96016164881052a496658efeb98959dc68e73d9895c5d9920f7" |
| 262 | |