mcord | 3e58914 | 2017-05-24 16:05:07 -0700 | [diff] [blame] | 1 | --- |
Zack Williams | 3eca647 | 2017-06-22 18:18:38 -0700 | [diff] [blame] | 2 | # profile_manifests/mcord.yml |
mcord | 3e58914 | 2017-05-24 16:05:07 -0700 | [diff] [blame] | 3 | # Configures an M-CORD pod |
| 4 | |
| 5 | # site configuration |
| 6 | site_name: mysite |
| 7 | site_humanname: MySite |
Zack Williams | 3eca647 | 2017-06-22 18:18:38 -0700 | [diff] [blame] | 8 | site_suffix: "{{ site_name }}.opencord.org" |
mcord | 3e58914 | 2017-05-24 16:05:07 -0700 | [diff] [blame] | 9 | deployment_type: MyDeployment |
| 10 | |
Zack Williams | 3eca647 | 2017-06-22 18:18:38 -0700 | [diff] [blame] | 11 | # Feature toggles |
Zack Williams | fe284a1 | 2017-07-01 11:00:04 -0700 | [diff] [blame] | 12 | use_maas: True |
| 13 | use_apt_cache: True |
mcord | 3e58914 | 2017-05-24 16:05:07 -0700 | [diff] [blame] | 14 | |
Zack Williams | 3eca647 | 2017-06-22 18:18:38 -0700 | [diff] [blame] | 15 | # XOS config |
mcord | 3e58914 | 2017-05-24 16:05:07 -0700 | [diff] [blame] | 16 | xos_tosca_config_templates: |
mcord | 3e58914 | 2017-05-24 16:05:07 -0700 | [diff] [blame] | 17 | - vtn-service.yaml |
| 18 | - fabric-service.yaml |
| 19 | - management-net.yaml |
Matteo Scandolo | ae45a2f | 2017-06-27 14:14:19 -0700 | [diff] [blame] | 20 | - xos-gui-extensions.yml |
mcord | 3e58914 | 2017-05-24 16:05:07 -0700 | [diff] [blame] | 21 | # - mcord-services.yaml # should unify this with services.yaml.j2 eventually |
| 22 | # - public-net.yaml |
| 23 | # - volt-devices.yaml |
| 24 | # - vrouter.yaml |
| 25 | |
| 26 | xos_other_templates: |
| 27 | - fabric-network-cfg.json |
| 28 | |
Yunpeng Zhang | 07a007b | 2017-06-11 22:59:16 -0400 | [diff] [blame] | 29 | # GUI Config [new GUI] |
| 30 | gui_project_name: "M-CORD" |
| 31 | gui_background: "cord-bg.jpg" # TODO find mcord image |
| 32 | |
mcord | 3e58914 | 2017-05-24 16:05:07 -0700 | [diff] [blame] | 33 | # GUI branding [OLD GUI to be removed] |
| 34 | gui_branding_name: "MCORD" |
| 35 | gui_branding_icon: "/static/mcord-logo.png" |
| 36 | gui_branding_favicon: "/static/mcord-favicon.png" |
| 37 | gui_branding_bg: "/static/mcord-bg.jpg" |
| 38 | |
| 39 | enabled_gui_extensions: [] |
| 40 | #enabled_gui_extensions: |
| 41 | # - name: vtr |
| 42 | # path: orchestration/xos_services/vtr/xos/gui |
| 43 | # - name: rcord |
| 44 | # path: orchestration/profiles/rcord/xos/gui |
| 45 | |
| 46 | # paths defined in manifest/default.xml |
| 47 | xos_services: |
| 48 | - name: vtn |
| 49 | path: onos-apps/apps/vtn |
| 50 | keypair: vsg_rsa |
| 51 | synchronizer: true |
| 52 | - name: openstack |
| 53 | path: orchestration/xos_services/openstack |
| 54 | synchronizer: true |
| 55 | - name: onos |
| 56 | path: orchestration/xos_services/onos-service |
| 57 | keypair: onos_rsa |
| 58 | synchronizer: true |
| 59 | - name: fabric |
| 60 | path: orchestration/xos_services/fabric |
| 61 | synchronizer: true |
| 62 | # - name: vBBU |
| 63 | # path: orchestration/xos_services/vBBU |
| 64 | # keypair: mcord_rsa |
| 65 | # synchronizer: true |
Pingping Lin | ae42338 | 2017-06-09 17:44:02 -0700 | [diff] [blame] | 66 | - name: vmme |
| 67 | path: orchestration/xos_services/vmme |
| 68 | keypair: mcord_rsa |
| 69 | synchronizer: true |
mcord | 3e58914 | 2017-05-24 16:05:07 -0700 | [diff] [blame] | 70 | # - name: vSGW |
| 71 | # path: orchestration/xos_services/vSGW |
| 72 | # keypair: mcord_rsa |
| 73 | # synchronizer: true |
| 74 | # - name: vPGWC |
| 75 | # path: orchestration/xos_services/vPGWC |
| 76 | # keypair: mcord_rsa |
| 77 | # synchronizer: true |
| 78 | # needed onboarding synchronizer doesn't require service code to be present when started |
| 79 | - name: exampleservice |
| 80 | path: orchestration/xos_services/exampleservice |
| 81 | keypair: exampleservice_rsa |
| 82 | synchronizer: true |
| 83 | - name: monitoring |
| 84 | path: orchestration/xos_services/monitoring |
| 85 | keypair: monitoringservice_rsa |
| 86 | synchronizer: false |
| 87 | |
mcord | 3e58914 | 2017-05-24 16:05:07 -0700 | [diff] [blame] | 88 | # profile_library: "mcord" |
| 89 | |
mcord | 3e58914 | 2017-05-24 16:05:07 -0700 | [diff] [blame] | 90 | # SSL server certificate generation |
| 91 | server_certs: |
| 92 | - cn: "keystone.{{ site_suffix }}" |
| 93 | subj: "/C=US/ST=California/L=Menlo Park/O=ON.Lab/OU=Test Deployment/CN=keystone.{{ site_suffix }}" |
| 94 | altnames: |
| 95 | - "DNS:keystone.{{ site_suffix }}" |
| 96 | - "DNS:keystone" |
| 97 | - cn: "xos-core.{{ site_suffix }}" |
| 98 | subj: "/C=US/ST=California/L=Menlo Park/O=ON.Lab/OU=Test Deployment/CN=xos-core.{{ site_suffix }}" |
| 99 | altnames: |
| 100 | - "DNS:xos-core.{{ site_suffix }}" |
| 101 | |
Zack Williams | 3eca647 | 2017-06-22 18:18:38 -0700 | [diff] [blame] | 102 | # Network/DNS settings |
Zack Williams | bf43d75 | 2017-07-01 15:27:11 -0700 | [diff] [blame] | 103 | headnode: head1 |
| 104 | |
Zack Williams | 3eca647 | 2017-06-22 18:18:38 -0700 | [diff] [blame] | 105 | dns_search: |
| 106 | - "{{ site_suffix }}" |
| 107 | |
| 108 | mgmt_ipv4_first_octets: "192.168.200" |
| 109 | |
| 110 | dns_servers: |
| 111 | - "{{ mgmt_ipv4_first_octets }}.1" |
| 112 | |
| 113 | # DNS settings for NSD/Unbound |
mcord | 3e58914 | 2017-05-24 16:05:07 -0700 | [diff] [blame] | 114 | nsd_zones: |
| 115 | - name: "{{ site_suffix }}" |
Zack Williams | 3eca647 | 2017-06-22 18:18:38 -0700 | [diff] [blame] | 116 | ipv4_first_octets: "{{ mgmt_ipv4_first_octets }}" |
mcord | 3e58914 | 2017-05-24 16:05:07 -0700 | [diff] [blame] | 117 | name_reverse_unbound: "168.192.in-addr.arpa" |
| 118 | soa: ns1 |
| 119 | ns: |
| 120 | - { name: ns1 } |
Zack Williams | 3eca647 | 2017-06-22 18:18:38 -0700 | [diff] [blame] | 121 | nodelists: |
| 122 | - head_lxd_list |
Zack Williams | bf43d75 | 2017-07-01 15:27:11 -0700 | [diff] [blame] | 123 | - physical_node_list |
mcord | 3e58914 | 2017-05-24 16:05:07 -0700 | [diff] [blame] | 124 | aliases: |
Zack Williams | bf43d75 | 2017-07-01 15:27:11 -0700 | [diff] [blame] | 125 | - { name: "apt-cache", dest: "{{ headnode }}" } |
| 126 | - { name: "cordloghost", dest: "{{ headnode }}" } |
| 127 | - { name: "docker", dest: "{{ headnode }}" } |
| 128 | - { name: "ns", dest: "{{ headnode }}" } |
| 129 | - { name: "ns1", dest: "{{ headnode }}" } |
| 130 | - { name: "onos-cord", dest: "{{ headnode }}" } |
| 131 | - { name: "xos", dest: "{{ headnode }}" } |
| 132 | - { name: "xos-chameleon", dest: "{{ headnode }}" } |
| 133 | - { name: "xos-rest-gw", dest: "{{ headnode }}" } |
| 134 | - { name: "xos-gui", dest: "{{ headnode }}" } |
mcord | 3e58914 | 2017-05-24 16:05:07 -0700 | [diff] [blame] | 135 | |
Zack Williams | 3eca647 | 2017-06-22 18:18:38 -0700 | [diff] [blame] | 136 | unbound_listen_all: True |
| 137 | |
| 138 | unbound_interfaces: |
| 139 | - "{{ mgmt_ipv4_first_octets }}.1/24" |
mcord | 3e58914 | 2017-05-24 16:05:07 -0700 | [diff] [blame] | 140 | |
Zack Williams | bf43d75 | 2017-07-01 15:27:11 -0700 | [diff] [blame] | 141 | physical_node_list: |
| 142 | - name: head1 |
| 143 | ipv4_last_octet: 1 |
| 144 | aliases: |
| 145 | - head |
| 146 | |
mcord | 3e58914 | 2017-05-24 16:05:07 -0700 | [diff] [blame] | 147 | # VTN network configuration |
| 148 | management_network_cidr: 172.27.0.0/24 |
| 149 | management_network_ip: 172.27.0.1/24 |
| 150 | data_plane_ip: 10.168.0.253/24 |
| 151 | |
Zack Williams | 3eca647 | 2017-06-22 18:18:38 -0700 | [diff] [blame] | 152 | # Juju config |
mcord | 3e58914 | 2017-05-24 16:05:07 -0700 | [diff] [blame] | 153 | charm_versions: |
| 154 | ceilometer: "cs:trusty/ceilometer-17" |
| 155 | ceilometer-agent: "cs:trusty/ceilometer-agent-13" |
| 156 | glance: "cs:trusty/glance-28" |
| 157 | keystone: "cs:trusty/keystone-33" |
| 158 | mongodb: "cs:trusty/mongodb-33" |
| 159 | percona-cluster: "cs:trusty/percona-cluster-31" |
| 160 | nagios: "cs:trusty/nagios-10" |
Andy Bavier | 9b3e00c | 2017-07-27 14:45:17 -0700 | [diff] [blame] | 161 | neutron-api: "cs:~cordteam/trusty/neutron-api-6" |
mcord | 3e58914 | 2017-05-24 16:05:07 -0700 | [diff] [blame] | 162 | nova-cloud-controller: "cs:trusty/nova-cloud-controller-64" |
| 163 | nova-compute: "cs:~cordteam/trusty/nova-compute-2" |
| 164 | nrpe: "cs:trusty/nrpe-4" |
| 165 | ntp: "cs:trusty/ntp-14" |
| 166 | openstack-dashboard: "cs:trusty/openstack-dashboard-19" |
| 167 | rabbitmq-server: "cs:trusty/rabbitmq-server-42" |
| 168 | |
mcord | 3e58914 | 2017-05-24 16:05:07 -0700 | [diff] [blame] | 169 | head_lxd_list: |
| 170 | - name: "juju-1" |
| 171 | service: "juju" |
| 172 | aliases: |
| 173 | - "juju" |
| 174 | ipv4_last_octet: 10 |
| 175 | |
| 176 | - name: "ceilometer-1" |
| 177 | service: "ceilometer" |
| 178 | aliases: |
| 179 | - "ceilometer" |
| 180 | ipv4_last_octet: 20 |
| 181 | forwarded_ports: |
| 182 | - { ext: 8777, int: 8777 } |
| 183 | |
| 184 | - name: "glance-1" |
| 185 | service: "glance" |
| 186 | aliases: |
| 187 | - "glance" |
| 188 | ipv4_last_octet: 30 |
| 189 | forwarded_ports: |
| 190 | - { ext: 9292, int: 9292 } |
| 191 | |
| 192 | - name: "keystone-1" |
| 193 | service: "keystone" |
| 194 | aliases: |
| 195 | - "keystone" |
| 196 | ipv4_last_octet: 40 |
| 197 | forwarded_ports: |
| 198 | - { ext: 35357, int: 35357 } |
| 199 | - { ext: 4990, int: 4990 } |
| 200 | - { ext: 5000, int: 5000 } |
| 201 | |
| 202 | - name: "percona-cluster-1" |
| 203 | service: "percona-cluster" |
| 204 | aliases: |
| 205 | - "percona-cluster" |
| 206 | ipv4_last_octet: 50 |
| 207 | |
| 208 | - name: "nagios-1" |
| 209 | service: "nagios" |
| 210 | aliases: |
| 211 | - "nagios" |
| 212 | ipv4_last_octet: 60 |
| 213 | forwarded_ports: |
| 214 | - { ext: 3128, int: 80 } |
| 215 | |
| 216 | - name: "neutron-api-1" |
| 217 | service: "neutron-api" |
| 218 | aliases: |
| 219 | - "neutron-api" |
| 220 | ipv4_last_octet: 70 |
| 221 | forwarded_ports: |
| 222 | - { ext: 9696, int: 9696 } |
| 223 | |
| 224 | - name: "nova-cloud-controller-1" |
| 225 | service: "nova-cloud-controller" |
| 226 | aliases: |
| 227 | - "nova-cloud-controller" |
| 228 | ipv4_last_octet: 80 |
| 229 | forwarded_ports: |
| 230 | - { ext: 8774, int: 8774 } |
| 231 | |
| 232 | - name: "openstack-dashboard-1" |
| 233 | service: "openstack-dashboard" |
| 234 | aliases: |
| 235 | - "openstack-dashboard" |
| 236 | ipv4_last_octet: 90 |
| 237 | forwarded_ports: |
| 238 | - { ext: 8080, int: 80 } |
| 239 | |
| 240 | - name: "rabbitmq-server-1" |
| 241 | service: "rabbitmq-server" |
| 242 | aliases: |
| 243 | - "rabbitmq-server" |
| 244 | ipv4_last_octet: 100 |
| 245 | |
| 246 | - name: "mongodb-1" |
| 247 | service: "mongodb" |
| 248 | aliases: |
| 249 | - "mongodb" |
| 250 | ipv4_last_octet: 110 |
| 251 | |
| 252 | lxd_service_list: |
| 253 | - ceilometer |
| 254 | - glance |
| 255 | - keystone |
| 256 | - mongodb |
| 257 | - nagios |
| 258 | - neutron-api |
| 259 | - nova-cloud-controller |
| 260 | - openstack-dashboard |
| 261 | - percona-cluster |
| 262 | - rabbitmq-server |
| 263 | |
| 264 | standalone_service_list: |
| 265 | - ntp |
| 266 | - nrpe |
| 267 | - ceilometer-agent |
| 268 | |
| 269 | |
| 270 | service_relations: |
| 271 | - name: keystone |
| 272 | relations: [ "percona-cluster", "nrpe", ] |
| 273 | |
| 274 | - name: nova-cloud-controller |
| 275 | relations: [ "percona-cluster", "rabbitmq-server", "glance", "keystone", "nrpe", ] |
| 276 | |
| 277 | - name: glance |
| 278 | relations: [ "percona-cluster", "keystone", "nrpe", ] |
| 279 | |
| 280 | - name: neutron-api |
| 281 | relations: [ "keystone", "percona-cluster", "rabbitmq-server", "nova-cloud-controller", "nrpe", ] |
| 282 | |
| 283 | - name: openstack-dashboard |
| 284 | relations: [ "keystone", "nrpe", ] |
| 285 | |
| 286 | - name: nagios |
| 287 | relations: [ "nrpe", ] |
| 288 | |
| 289 | - name: "percona-cluster:juju-info" |
| 290 | relations: [ "nrpe:general-info", ] |
| 291 | |
| 292 | - name: rabbitmq-server |
| 293 | relations: [ "nrpe", ] |
| 294 | |
| 295 | - name: ceilometer |
| 296 | relations: [ "mongodb", "rabbitmq-server", "nagios", "nrpe", ] |
| 297 | |
| 298 | - name: "ceilometer:identity-service" |
| 299 | relations: [ "keystone:identity-service", ] |
| 300 | |
| 301 | - name: "ceilometer:ceilometer-service" |
| 302 | relations: [ "ceilometer-agent:ceilometer-service", ] |
| 303 | |
| 304 | |
| 305 | compute_relations: |
| 306 | - name: nova-compute |
| 307 | relations: [ "ceilometer-agent", "glance", "nova-cloud-controller", "nagios", "nrpe", ] |
| 308 | |
| 309 | - name: "nova-compute:shared-db" |
| 310 | relations: [ "percona-cluster:shared-db", ] |
| 311 | |
| 312 | - name: "nova-compute:amqp" |
| 313 | relations: [ "rabbitmq-server:amqp", ] |
| 314 | |
| 315 | - name: ntp |
| 316 | relations: [ "nova-compute", ] |
| 317 | |
| 318 | |
| 319 | xos_images: |
| 320 | - name: "trusty-server-multi-nic" |
| 321 | url: "http://www.vicci.org/opencloud/trusty-server-cloudimg-amd64-disk1.img.20170201" |
| 322 | checksum: "sha256:ebf007ba3ec1043b7cd011fc6668e2a1d1d4c69c41071e8513ab355df7a057cb" |
| 323 | |
| 324 | - name: "vsg-1.1" |
| 325 | url: "http://www.vicci.org/cord/vsg-1.1.img" |
| 326 | checksum: "sha256:16b0beb6778aed0f5feecb05f8d5750e6c262f98e6011e99ddadf7d46a177b6f" |
| 327 | |
| 328 | - name: "ceilometer-trusty-server-multi-nic" |
| 329 | url: "http://www.vicci.org/cord/ceilometer-trusty-server-multi-nic.compressed.qcow2" |
| 330 | checksum: "sha256:b77ef8d692b640568dea13df99fe1dfcb1f4bb4ac05408db9ff77399b34f754f" |
| 331 | |
| 332 | - name: "ceilometer-service-trusty-server-multi-nic" |
| 333 | url: "http://www.vicci.org/cord/ceilometer-service-trusty-server-multi-nic.compressed.qcow2.20170131" |
| 334 | checksum: "sha256:f0341e283f0f2cb8f70cd1a6347e0081c9c8492ef34eb6397c657ef824800d4f" |