Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 1 | --- |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 2 | # profile_manifests/opencloud.yml |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 3 | # Generic OpenCloud Site |
| 4 | |
| 5 | # site configuration |
| 6 | site_name: generic_opencloud |
| 7 | site_humanname: "Generic OpenCloud" |
| 8 | deployment_type: campus |
| 9 | |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 10 | xos_admin_user: "xosadmin@opencord.org" |
| 11 | xos_admin_pass: "{{ lookup('password', credentials_dir ~ '/xosadmin@opencord.org chars=ascii_letters,digits') }}" |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 12 | xos_admin_first: XOS |
| 13 | xos_admin_last: Admin |
| 14 | |
| 15 | xos_users: [] |
| 16 | |
| 17 | use_vtn: True |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 18 | use_openstack: True |
| 19 | use_fabric: False |
| 20 | |
| 21 | headnode_name: head1 |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 22 | |
| 23 | xos_tosca_config_templates: |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 24 | - vtn-service.yaml |
| 25 | - management-net.yaml |
| 26 | |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 27 | build_xos_base_image: True |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 28 | |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 29 | # GUI Branding |
| 30 | # Not neeeded, default is OpenCloud |
| 31 | |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 32 | # GUI Config [new GUI], used in app.config.js.j2 and style.config.js.j2 |
| 33 | gui_project_name: "OpenCloud" |
| 34 | gui_favicon: "opencloud-favicon.png" |
| 35 | gui_background: "opencloud-bg.jpg" |
| 36 | gui_payoff: "A Value-Added Cloud for the Internet2 Community" |
| 37 | gui_logo: "opencloud-logo.png" |
| 38 | |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 39 | # paths defined in manifest/default.xml |
| 40 | xos_services: |
| 41 | - name: vtn |
| 42 | path: onos-apps/apps/vtn |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 43 | keypair: vsg_rsa |
| 44 | - name: openstack |
| 45 | path: orchestration/xos_services/openstack |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 46 | - name: onos |
| 47 | path: orchestration/xos_services/onos-service |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 48 | keypair: onos_rsa |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 49 | - name: vrouter |
| 50 | path: orchestration/xos_services/vrouter |
| 51 | |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 52 | profile_library: "rcord" |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 53 | |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 54 | # SSL certificate generation |
| 55 | ssl_cert_subj_prefix: "/C=US/ST=California/L=Menlo Park/O=ON.Lab/OU={{ site_humanname }} Deployment" |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 56 | |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 57 | server_certs: |
| 58 | - cn: "keystone.{{ site_suffix }}" |
| 59 | subj: "{{ ssl_cert_subj_prefix }}/CN=keystone.{{ site_suffix }}" |
| 60 | altnames: |
| 61 | - "DNS:keystone.{{ site_suffix }}" |
| 62 | - "DNS:keystone" |
| 63 | - cn: "xos-core.{{ site_suffix }}" |
| 64 | subj: "{{ ssl_cert_subj_prefix }}/CN=xos-core.{{ site_suffix }}" |
| 65 | altnames: |
| 66 | - "DNS:xos-core.{{ site_suffix }}" |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 67 | |
| 68 | # docker registry users |
| 69 | docker_registry_users: |
| 70 | - name: "{{ xos_admin_user }}" |
| 71 | password: "{{ xos_admin_pass }}" |
| 72 | |
| 73 | # Network/DNS settings |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 74 | site_suffix: generic.infra.opencloud.us |
| 75 | |
| 76 | dns_search: |
| 77 | - "{{ site_suffix }}" |
| 78 | |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 79 | mgmt_ipv4_first_octets: "192.168.200" |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 80 | |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 81 | dns_servers: |
| 82 | - "{{ mgmt_ipv4_first_octets }}.1" |
| 83 | |
| 84 | headnode_user: vagrant |
| 85 | |
| 86 | # DNS settings for NSD/Unbound |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 87 | nsd_zones: |
| 88 | - name: "{{ site_suffix }}" |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 89 | ipv4_first_octets: "{{ mgmt_ipv4_first_octets }}" |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 90 | name_reverse_unbound: "168.192.in-addr.arpa" |
| 91 | soa: ns1 |
| 92 | ns: |
| 93 | - { name: ns1 } |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 94 | nodelists: |
| 95 | - head_lxd_list |
| 96 | - physical_node_list |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 97 | aliases: |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 98 | - { name: "apt-cache", dest: "head1" } |
| 99 | - { name: "cordloghost", dest: "head1" } |
| 100 | - { name: "docker", dest: "head1" } |
| 101 | - { name: "ns", dest: "head1" } |
| 102 | - { name: "ns1", dest: "head1" } |
| 103 | - { name: "onos-cord", dest: "head1" } |
| 104 | - { name: "xos", dest: "head1" } |
| 105 | - { name: "xos-chameleon", dest: "head1" } |
| 106 | - { name: "xos-rest-gw", dest: "head1" } |
| 107 | - { name: "xos-spa-gui", dest: "head1" } |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 108 | |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 109 | unbound_listen_all: True |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 110 | |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 111 | unbound_interfaces: |
| 112 | - "{{ mgmt_ipv4_first_octets }}.1/24" |
| 113 | |
| 114 | dhcpd_subnets: |
| 115 | - interface: mgmtbr |
| 116 | cidr: "{{ mgmt_ipv4_first_octets }}.1/24" |
| 117 | dhcp_first: 129 |
| 118 | dhcp_last: 254 |
| 119 | other_static: |
| 120 | - physical_node_list |
| 121 | - head_lxd_list |
| 122 | |
| 123 | # network interface setup |
| 124 | mgmt_interface: eth1 |
| 125 | |
| 126 | physical_node_list: |
| 127 | - name: head1 |
| 128 | ipv4_last_octet: 1 |
| 129 | aliases: |
| 130 | - head |
| 131 | - name: compute1 |
| 132 | ipv4_last_octet: 20 |
| 133 | - name: compute2 |
| 134 | ipv4_last_octet: 21 |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 135 | |
| 136 | # VTN network configuration |
| 137 | management_network_cidr: 172.27.0.0/24 |
| 138 | management_network_ip: 172.27.0.1/24 |
| 139 | data_plane_ip: 10.168.0.253/24 |
| 140 | |
Zack Williams | 1396aa3 | 2017-06-06 10:28:29 -0700 | [diff] [blame] | 141 | # External interface name on compute nodes |
| 142 | compute_external_interface: eth0 |
| 143 | |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 144 | # ONOS version |
Zack Williams | 1396aa3 | 2017-06-06 10:28:29 -0700 | [diff] [blame] | 145 | onos_docker_image: "onosproject/onos:1.8.7" |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 146 | |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 147 | on_maas: False |
| 148 | on_cloudlab: False |
| 149 | |
| 150 | run_dist_upgrade: False |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 151 | |
| 152 | openstack_version: kilo |
| 153 | |
| 154 | juju_config_name: opencloud |
| 155 | juju_config_path: /usr/local/src/juju_config.yml |
| 156 | |
| 157 | keystone_admin_password: "{{ lookup('password', 'credentials/generic_opencloud_keystone_admin chars=ascii_letters,digits') }}" |
| 158 | |
| 159 | deployment_flavors: |
| 160 | - m1.small |
| 161 | - m1.medium |
| 162 | - m1.large |
| 163 | - m1.xlarge |
| 164 | |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 165 | charm_versions: |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 166 | ceilometer-agent: "cs:trusty/ceilometer-agent-13" |
| 167 | ceilometer: "cs:trusty/ceilometer-17" |
| 168 | glance: "cs:trusty/glance-28" |
| 169 | keystone: "cs:trusty/keystone-33" |
| 170 | mongodb: "cs:trusty/mongodb-33" |
| 171 | neutron-api: "cs:~cordteam/trusty/neutron-api-5" |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 172 | nova-compute: "cs:~cordteam/trusty/nova-compute-2" |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 173 | ntp: "cs:trusty/ntp-14" |
| 174 | openstack-dashboard: "cs:trusty/openstack-dashboard-19" |
| 175 | percona-cluster: "cs:trusty/percona-cluster-31" |
| 176 | rabbitmq-server: "cs:trusty/rabbitmq-server-42" |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 177 | |
| 178 | head_lxd_list: |
| 179 | - name: "juju-1" |
| 180 | service: "juju" |
| 181 | aliases: |
| 182 | - "juju" |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 183 | ipv4_last_octet: 50 |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 184 | |
| 185 | - name: "ceilometer-1" |
| 186 | service: "ceilometer" |
| 187 | aliases: |
| 188 | - "ceilometer" |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 189 | ipv4_last_octet: 51 |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 190 | forwarded_ports: |
| 191 | - { ext: 8777, int: 8777 } |
| 192 | |
| 193 | - name: "glance-1" |
| 194 | service: "glance" |
| 195 | aliases: |
| 196 | - "glance" |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 197 | ipv4_last_octet: 52 |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 198 | forwarded_ports: |
| 199 | - { ext: 9292, int: 9292 } |
| 200 | |
| 201 | - name: "keystone-1" |
| 202 | service: "keystone" |
| 203 | aliases: |
| 204 | - "keystone" |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 205 | ipv4_last_octet: 53 |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 206 | forwarded_ports: |
| 207 | - { ext: 35357, int: 35357 } |
| 208 | - { ext: 4990, int: 4990 } |
| 209 | - { ext: 5000, int: 5000 } |
| 210 | |
| 211 | - name: "percona-cluster-1" |
| 212 | service: "percona-cluster" |
| 213 | aliases: |
| 214 | - "percona-cluster" |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 215 | ipv4_last_octet: 54 |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 216 | |
| 217 | - name: "neutron-api-1" |
| 218 | service: "neutron-api" |
| 219 | aliases: |
| 220 | - "neutron-api" |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 221 | ipv4_last_octet: 55 |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 222 | forwarded_ports: |
| 223 | - { ext: 9696, int: 9696 } |
| 224 | |
| 225 | - name: "nova-cloud-controller-1" |
| 226 | service: "nova-cloud-controller" |
| 227 | aliases: |
| 228 | - "nova-cloud-controller" |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 229 | ipv4_last_octet: 56 |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 230 | forwarded_ports: |
| 231 | - { ext: 8774, int: 8774 } |
| 232 | |
| 233 | - name: "openstack-dashboard-1" |
| 234 | service: "openstack-dashboard" |
| 235 | aliases: |
| 236 | - "openstack-dashboard" |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 237 | ipv4_last_octet: 57 |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 238 | forwarded_ports: |
| 239 | - { ext: 8080, int: 80 } |
| 240 | |
| 241 | - name: "rabbitmq-server-1" |
| 242 | service: "rabbitmq-server" |
| 243 | aliases: |
| 244 | - "rabbitmq-server" |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 245 | ipv4_last_octet: 58 |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 246 | |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 247 | - name: "mongodb-1" |
| 248 | service: "mongodb" |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 249 | aliases: |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 250 | - "mongodb" |
| 251 | ipv4_last_octet: 59 |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 252 | |
| 253 | lxd_service_list: |
| 254 | - ceilometer |
| 255 | - glance |
| 256 | - keystone |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 257 | - mongodb |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 258 | - neutron-api |
| 259 | - nova-cloud-controller |
| 260 | - openstack-dashboard |
| 261 | - percona-cluster |
| 262 | - rabbitmq-server |
| 263 | |
| 264 | standalone_service_list: |
| 265 | - ceilometer-agent |
| 266 | - ntp |
| 267 | |
| 268 | service_relations: |
| 269 | - name: keystone |
| 270 | relations: [ "percona-cluster", ] |
| 271 | |
| 272 | - name: nova-cloud-controller |
| 273 | relations: [ "percona-cluster", "rabbitmq-server", "glance", "keystone", ] |
| 274 | |
| 275 | - name: glance |
| 276 | relations: [ "percona-cluster", "keystone", ] |
| 277 | |
| 278 | - name: neutron-api |
| 279 | relations: [ "keystone", "percona-cluster", "rabbitmq-server", "nova-cloud-controller", ] |
| 280 | |
| 281 | - name: openstack-dashboard |
| 282 | relations: [ "keystone", ] |
| 283 | |
| 284 | - name: ceilometer |
| 285 | relations: [ "mongodb", "rabbitmq-server" ] |
| 286 | |
| 287 | - name: "ceilometer:identity-service" |
| 288 | relations: [ "keystone:identity-service", ] |
| 289 | |
| 290 | - name: "ceilometer:ceilometer-service" |
| 291 | relations: [ "ceilometer-agent:ceilometer-service", ] |
| 292 | |
| 293 | |
| 294 | compute_relations: |
| 295 | - name: nova-compute |
| 296 | relations: [ "ceilometer-agent", "glance", "nova-cloud-controller", ] |
| 297 | |
| 298 | - name: "nova-compute:shared-db" |
| 299 | relations: [ "percona-cluster:shared-db", ] |
| 300 | |
| 301 | - name: "nova-compute:amqp" |
| 302 | relations: [ "rabbitmq-server:amqp", ] |
| 303 | |
| 304 | - name: ntp |
| 305 | relations: [ "nova-compute", ] |
| 306 | |
| 307 | |
| 308 | xos_images: |
| 309 | - name: "trusty-server-multi-nic" |
| 310 | url: "http://www.vicci.org/opencloud/trusty-server-cloudimg-amd64-disk1.img" |
| 311 | checksum: "sha256:c2d0ffc937aeb96016164881052a496658efeb98959dc68e73d9895c5d9920f7" |
| 312 | |