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