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 | 3eca647 | 2017-06-22 18:18:38 -0700 | [diff] [blame] | 3 | # OpenCloud Profile Manifest |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 4 | |
Zack Williams | 3eca647 | 2017-06-22 18:18:38 -0700 | [diff] [blame] | 5 | # Site configuration |
| 6 | site_name: generic-opencloud |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 7 | site_humanname: "Generic OpenCloud" |
Zack Williams | 3eca647 | 2017-06-22 18:18:38 -0700 | [diff] [blame] | 8 | site_suffix: "{{ site_name }}.opencloud.us" |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 9 | deployment_type: campus |
| 10 | |
Zack Williams | 3eca647 | 2017-06-22 18:18:38 -0700 | [diff] [blame] | 11 | # Feature toggles |
Zack Williams | bf43d75 | 2017-07-01 15:27:11 -0700 | [diff] [blame] | 12 | use_maas: False |
| 13 | use_apt_cache: True |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 14 | |
Zack Williams | 3eca647 | 2017-06-22 18:18:38 -0700 | [diff] [blame] | 15 | # XOS config |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 16 | xos_tosca_config_templates: |
Matteo Scandolo | ae45a2f | 2017-06-27 14:14:19 -0700 | [diff] [blame] | 17 | - xos-gui-extensions.yml |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 18 | - vtn-service.yaml |
| 19 | - management-net.yaml |
| 20 | |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 21 | # GUI Config [new GUI], used in app.config.js.j2 and style.config.js.j2 |
| 22 | gui_project_name: "OpenCloud" |
| 23 | gui_favicon: "opencloud-favicon.png" |
| 24 | gui_background: "opencloud-bg.jpg" |
| 25 | gui_payoff: "A Value-Added Cloud for the Internet2 Community" |
| 26 | gui_logo: "opencloud-logo.png" |
| 27 | |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 28 | # paths defined in manifest/default.xml |
| 29 | xos_services: |
| 30 | - name: vtn |
| 31 | path: onos-apps/apps/vtn |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 32 | keypair: vsg_rsa |
| 33 | - name: openstack |
| 34 | path: orchestration/xos_services/openstack |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 35 | - name: onos |
| 36 | path: orchestration/xos_services/onos-service |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 37 | keypair: onos_rsa |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 38 | - name: vrouter |
| 39 | path: orchestration/xos_services/vrouter |
| 40 | |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 41 | # SSL certificate generation |
| 42 | 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] | 43 | |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 44 | server_certs: |
| 45 | - cn: "keystone.{{ site_suffix }}" |
| 46 | subj: "{{ ssl_cert_subj_prefix }}/CN=keystone.{{ site_suffix }}" |
| 47 | altnames: |
| 48 | - "DNS:keystone.{{ site_suffix }}" |
| 49 | - "DNS:keystone" |
| 50 | - cn: "xos-core.{{ site_suffix }}" |
| 51 | subj: "{{ ssl_cert_subj_prefix }}/CN=xos-core.{{ site_suffix }}" |
| 52 | altnames: |
| 53 | - "DNS:xos-core.{{ site_suffix }}" |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 54 | |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 55 | # Network/DNS settings |
Zack Williams | bf43d75 | 2017-07-01 15:27:11 -0700 | [diff] [blame] | 56 | headnode: head1 |
| 57 | |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 58 | dns_search: |
| 59 | - "{{ site_suffix }}" |
| 60 | |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 61 | mgmt_ipv4_first_octets: "192.168.200" |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 62 | |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 63 | dns_servers: |
| 64 | - "{{ mgmt_ipv4_first_octets }}.1" |
| 65 | |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 66 | # DNS settings for NSD/Unbound |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 67 | nsd_zones: |
| 68 | - name: "{{ site_suffix }}" |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 69 | ipv4_first_octets: "{{ mgmt_ipv4_first_octets }}" |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 70 | name_reverse_unbound: "168.192.in-addr.arpa" |
| 71 | soa: ns1 |
| 72 | ns: |
| 73 | - { name: ns1 } |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 74 | nodelists: |
| 75 | - head_lxd_list |
| 76 | - physical_node_list |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 77 | aliases: |
Zack Williams | bf43d75 | 2017-07-01 15:27:11 -0700 | [diff] [blame] | 78 | - { name: "apt-cache", dest: "{{ headnode }}" } |
| 79 | - { name: "cordloghost", dest: "{{ headnode }}" } |
| 80 | - { name: "docker", dest: "{{ headnode }}" } |
| 81 | - { name: "ns", dest: "{{ headnode }}" } |
| 82 | - { name: "ns1", dest: "{{ headnode }}" } |
| 83 | - { name: "onos-cord", dest: "{{ headnode }}" } |
| 84 | - { name: "xos", dest: "{{ headnode }}" } |
| 85 | - { name: "xos-chameleon", dest: "{{ headnode }}" } |
| 86 | - { name: "xos-rest-gw", dest: "{{ headnode }}" } |
| 87 | - { name: "xos-gui", dest: "{{ headnode }}" } |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 88 | |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 89 | unbound_listen_all: True |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 90 | |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 91 | unbound_interfaces: |
| 92 | - "{{ mgmt_ipv4_first_octets }}.1/24" |
| 93 | |
| 94 | dhcpd_subnets: |
| 95 | - interface: mgmtbr |
| 96 | cidr: "{{ mgmt_ipv4_first_octets }}.1/24" |
| 97 | dhcp_first: 129 |
| 98 | dhcp_last: 254 |
| 99 | other_static: |
| 100 | - physical_node_list |
| 101 | - head_lxd_list |
| 102 | |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 103 | physical_node_list: |
| 104 | - name: head1 |
| 105 | ipv4_last_octet: 1 |
| 106 | aliases: |
| 107 | - head |
| 108 | - name: compute1 |
| 109 | ipv4_last_octet: 20 |
| 110 | - name: compute2 |
| 111 | ipv4_last_octet: 21 |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 112 | |
Zack Williams | 3eca647 | 2017-06-22 18:18:38 -0700 | [diff] [blame] | 113 | # External interface name on compute nodes |
| 114 | compute_external_interface: eth0 |
| 115 | |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 116 | # VTN network configuration |
| 117 | management_network_cidr: 172.27.0.0/24 |
| 118 | management_network_ip: 172.27.0.1/24 |
| 119 | data_plane_ip: 10.168.0.253/24 |
| 120 | |
Zack Williams | 3eca647 | 2017-06-22 18:18:38 -0700 | [diff] [blame] | 121 | # Juju setup |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 122 | charm_versions: |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 123 | ceilometer-agent: "cs:trusty/ceilometer-agent-13" |
| 124 | ceilometer: "cs:trusty/ceilometer-17" |
| 125 | glance: "cs:trusty/glance-28" |
| 126 | keystone: "cs:trusty/keystone-33" |
| 127 | mongodb: "cs:trusty/mongodb-33" |
| 128 | neutron-api: "cs:~cordteam/trusty/neutron-api-5" |
Zack Williams | 7928696 | 2017-07-10 12:24:37 -0700 | [diff] [blame] | 129 | nova-cloud-controller: "cs:trusty/nova-cloud-controller-64" |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 130 | nova-compute: "cs:~cordteam/trusty/nova-compute-2" |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 131 | ntp: "cs:trusty/ntp-14" |
| 132 | openstack-dashboard: "cs:trusty/openstack-dashboard-19" |
| 133 | percona-cluster: "cs:trusty/percona-cluster-31" |
| 134 | rabbitmq-server: "cs:trusty/rabbitmq-server-42" |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 135 | |
| 136 | head_lxd_list: |
| 137 | - name: "juju-1" |
| 138 | service: "juju" |
| 139 | aliases: |
| 140 | - "juju" |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 141 | ipv4_last_octet: 50 |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 142 | |
| 143 | - name: "ceilometer-1" |
| 144 | service: "ceilometer" |
| 145 | aliases: |
| 146 | - "ceilometer" |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 147 | ipv4_last_octet: 51 |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 148 | forwarded_ports: |
| 149 | - { ext: 8777, int: 8777 } |
| 150 | |
| 151 | - name: "glance-1" |
| 152 | service: "glance" |
| 153 | aliases: |
| 154 | - "glance" |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 155 | ipv4_last_octet: 52 |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 156 | forwarded_ports: |
| 157 | - { ext: 9292, int: 9292 } |
| 158 | |
| 159 | - name: "keystone-1" |
| 160 | service: "keystone" |
| 161 | aliases: |
| 162 | - "keystone" |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 163 | ipv4_last_octet: 53 |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 164 | forwarded_ports: |
| 165 | - { ext: 35357, int: 35357 } |
| 166 | - { ext: 4990, int: 4990 } |
| 167 | - { ext: 5000, int: 5000 } |
| 168 | |
| 169 | - name: "percona-cluster-1" |
| 170 | service: "percona-cluster" |
| 171 | aliases: |
| 172 | - "percona-cluster" |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 173 | ipv4_last_octet: 54 |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 174 | |
| 175 | - name: "neutron-api-1" |
| 176 | service: "neutron-api" |
| 177 | aliases: |
| 178 | - "neutron-api" |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 179 | ipv4_last_octet: 55 |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 180 | forwarded_ports: |
| 181 | - { ext: 9696, int: 9696 } |
| 182 | |
| 183 | - name: "nova-cloud-controller-1" |
| 184 | service: "nova-cloud-controller" |
| 185 | aliases: |
| 186 | - "nova-cloud-controller" |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 187 | ipv4_last_octet: 56 |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 188 | forwarded_ports: |
| 189 | - { ext: 8774, int: 8774 } |
| 190 | |
| 191 | - name: "openstack-dashboard-1" |
| 192 | service: "openstack-dashboard" |
| 193 | aliases: |
| 194 | - "openstack-dashboard" |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 195 | ipv4_last_octet: 57 |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 196 | forwarded_ports: |
| 197 | - { ext: 8080, int: 80 } |
| 198 | |
| 199 | - name: "rabbitmq-server-1" |
| 200 | service: "rabbitmq-server" |
| 201 | aliases: |
| 202 | - "rabbitmq-server" |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 203 | ipv4_last_octet: 58 |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 204 | |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 205 | - name: "mongodb-1" |
| 206 | service: "mongodb" |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 207 | aliases: |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 208 | - "mongodb" |
| 209 | ipv4_last_octet: 59 |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 210 | |
| 211 | lxd_service_list: |
| 212 | - ceilometer |
| 213 | - glance |
| 214 | - keystone |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 215 | - mongodb |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 216 | - neutron-api |
| 217 | - nova-cloud-controller |
| 218 | - openstack-dashboard |
| 219 | - percona-cluster |
| 220 | - rabbitmq-server |
| 221 | |
| 222 | standalone_service_list: |
| 223 | - ceilometer-agent |
| 224 | - ntp |
| 225 | |
| 226 | service_relations: |
| 227 | - name: keystone |
| 228 | relations: [ "percona-cluster", ] |
| 229 | |
| 230 | - name: nova-cloud-controller |
| 231 | relations: [ "percona-cluster", "rabbitmq-server", "glance", "keystone", ] |
| 232 | |
| 233 | - name: glance |
| 234 | relations: [ "percona-cluster", "keystone", ] |
| 235 | |
| 236 | - name: neutron-api |
| 237 | relations: [ "keystone", "percona-cluster", "rabbitmq-server", "nova-cloud-controller", ] |
| 238 | |
| 239 | - name: openstack-dashboard |
| 240 | relations: [ "keystone", ] |
| 241 | |
| 242 | - name: ceilometer |
| 243 | relations: [ "mongodb", "rabbitmq-server" ] |
| 244 | |
| 245 | - name: "ceilometer:identity-service" |
| 246 | relations: [ "keystone:identity-service", ] |
| 247 | |
| 248 | - name: "ceilometer:ceilometer-service" |
| 249 | relations: [ "ceilometer-agent:ceilometer-service", ] |
| 250 | |
| 251 | |
| 252 | compute_relations: |
| 253 | - name: nova-compute |
| 254 | relations: [ "ceilometer-agent", "glance", "nova-cloud-controller", ] |
| 255 | |
| 256 | - name: "nova-compute:shared-db" |
| 257 | relations: [ "percona-cluster:shared-db", ] |
| 258 | |
| 259 | - name: "nova-compute:amqp" |
| 260 | relations: [ "rabbitmq-server:amqp", ] |
| 261 | |
| 262 | - name: ntp |
| 263 | relations: [ "nova-compute", ] |
| 264 | |
| 265 | |
| 266 | xos_images: |
| 267 | - name: "trusty-server-multi-nic" |
| 268 | url: "http://www.vicci.org/opencloud/trusty-server-cloudimg-amd64-disk1.img" |
| 269 | checksum: "sha256:c2d0ffc937aeb96016164881052a496658efeb98959dc68e73d9895c5d9920f7" |
| 270 | |