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 | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 128 | nova-compute: "cs:~cordteam/trusty/nova-compute-2" |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 129 | ntp: "cs:trusty/ntp-14" |
| 130 | openstack-dashboard: "cs:trusty/openstack-dashboard-19" |
| 131 | percona-cluster: "cs:trusty/percona-cluster-31" |
| 132 | rabbitmq-server: "cs:trusty/rabbitmq-server-42" |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 133 | |
| 134 | head_lxd_list: |
| 135 | - name: "juju-1" |
| 136 | service: "juju" |
| 137 | aliases: |
| 138 | - "juju" |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 139 | ipv4_last_octet: 50 |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 140 | |
| 141 | - name: "ceilometer-1" |
| 142 | service: "ceilometer" |
| 143 | aliases: |
| 144 | - "ceilometer" |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 145 | ipv4_last_octet: 51 |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 146 | forwarded_ports: |
| 147 | - { ext: 8777, int: 8777 } |
| 148 | |
| 149 | - name: "glance-1" |
| 150 | service: "glance" |
| 151 | aliases: |
| 152 | - "glance" |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 153 | ipv4_last_octet: 52 |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 154 | forwarded_ports: |
| 155 | - { ext: 9292, int: 9292 } |
| 156 | |
| 157 | - name: "keystone-1" |
| 158 | service: "keystone" |
| 159 | aliases: |
| 160 | - "keystone" |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 161 | ipv4_last_octet: 53 |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 162 | forwarded_ports: |
| 163 | - { ext: 35357, int: 35357 } |
| 164 | - { ext: 4990, int: 4990 } |
| 165 | - { ext: 5000, int: 5000 } |
| 166 | |
| 167 | - name: "percona-cluster-1" |
| 168 | service: "percona-cluster" |
| 169 | aliases: |
| 170 | - "percona-cluster" |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 171 | ipv4_last_octet: 54 |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 172 | |
| 173 | - name: "neutron-api-1" |
| 174 | service: "neutron-api" |
| 175 | aliases: |
| 176 | - "neutron-api" |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 177 | ipv4_last_octet: 55 |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 178 | forwarded_ports: |
| 179 | - { ext: 9696, int: 9696 } |
| 180 | |
| 181 | - name: "nova-cloud-controller-1" |
| 182 | service: "nova-cloud-controller" |
| 183 | aliases: |
| 184 | - "nova-cloud-controller" |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 185 | ipv4_last_octet: 56 |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 186 | forwarded_ports: |
| 187 | - { ext: 8774, int: 8774 } |
| 188 | |
| 189 | - name: "openstack-dashboard-1" |
| 190 | service: "openstack-dashboard" |
| 191 | aliases: |
| 192 | - "openstack-dashboard" |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 193 | ipv4_last_octet: 57 |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 194 | forwarded_ports: |
| 195 | - { ext: 8080, int: 80 } |
| 196 | |
| 197 | - name: "rabbitmq-server-1" |
| 198 | service: "rabbitmq-server" |
| 199 | aliases: |
| 200 | - "rabbitmq-server" |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 201 | ipv4_last_octet: 58 |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 202 | |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 203 | - name: "mongodb-1" |
| 204 | service: "mongodb" |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 205 | aliases: |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 206 | - "mongodb" |
| 207 | ipv4_last_octet: 59 |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 208 | |
| 209 | lxd_service_list: |
| 210 | - ceilometer |
| 211 | - glance |
| 212 | - keystone |
Zack Williams | c989f26 | 2017-05-11 13:02:59 -0700 | [diff] [blame] | 213 | - mongodb |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 214 | - neutron-api |
| 215 | - nova-cloud-controller |
| 216 | - openstack-dashboard |
| 217 | - percona-cluster |
| 218 | - rabbitmq-server |
| 219 | |
| 220 | standalone_service_list: |
| 221 | - ceilometer-agent |
| 222 | - ntp |
| 223 | |
| 224 | service_relations: |
| 225 | - name: keystone |
| 226 | relations: [ "percona-cluster", ] |
| 227 | |
| 228 | - name: nova-cloud-controller |
| 229 | relations: [ "percona-cluster", "rabbitmq-server", "glance", "keystone", ] |
| 230 | |
| 231 | - name: glance |
| 232 | relations: [ "percona-cluster", "keystone", ] |
| 233 | |
| 234 | - name: neutron-api |
| 235 | relations: [ "keystone", "percona-cluster", "rabbitmq-server", "nova-cloud-controller", ] |
| 236 | |
| 237 | - name: openstack-dashboard |
| 238 | relations: [ "keystone", ] |
| 239 | |
| 240 | - name: ceilometer |
| 241 | relations: [ "mongodb", "rabbitmq-server" ] |
| 242 | |
| 243 | - name: "ceilometer:identity-service" |
| 244 | relations: [ "keystone:identity-service", ] |
| 245 | |
| 246 | - name: "ceilometer:ceilometer-service" |
| 247 | relations: [ "ceilometer-agent:ceilometer-service", ] |
| 248 | |
| 249 | |
| 250 | compute_relations: |
| 251 | - name: nova-compute |
| 252 | relations: [ "ceilometer-agent", "glance", "nova-cloud-controller", ] |
| 253 | |
| 254 | - name: "nova-compute:shared-db" |
| 255 | relations: [ "percona-cluster:shared-db", ] |
| 256 | |
| 257 | - name: "nova-compute:amqp" |
| 258 | relations: [ "rabbitmq-server:amqp", ] |
| 259 | |
| 260 | - name: ntp |
| 261 | relations: [ "nova-compute", ] |
| 262 | |
| 263 | |
| 264 | xos_images: |
| 265 | - name: "trusty-server-multi-nic" |
| 266 | url: "http://www.vicci.org/opencloud/trusty-server-cloudimg-amd64-disk1.img" |
| 267 | checksum: "sha256:c2d0ffc937aeb96016164881052a496658efeb98959dc68e73d9895c5d9920f7" |
| 268 | |