Zack Williams | f87ef6e | 2017-10-16 22:30:00 -0700 | [diff] [blame] | 1 | --- |
Matteo Scandolo | 60b640f | 2017-08-08 13:05:22 -0700 | [diff] [blame] | 2 | # Copyright 2017-present Open Networking Foundation |
| 3 | # |
| 4 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | # you may not use this file except in compliance with the License. |
| 6 | # You may obtain a copy of the License at |
| 7 | # |
| 8 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | # |
| 10 | # Unless required by applicable law or agreed to in writing, software |
| 11 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | # See the License for the specific language governing permissions and |
| 14 | # limitations under the License. |
| 15 | |
Zack Williams | 82f24ca | 2017-12-30 13:53:46 -0700 | [diff] [blame] | 16 | # preppedpod Scenario - install CORD on prepared systems with OS installed |
| 17 | # Only used with a virtual install, physical does not use VMs |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 18 | |
| 19 | # opencloud profile config |
| 20 | frontend_only: False |
| 21 | |
| 22 | # create a cord_profile dir next to the cord checkout |
| 23 | config_cord_dir: "{{ ( playbook_dir ~ '/../..' ) | realpath }}" |
| 24 | config_cord_profile_dir: "{{ ( playbook_dir ~ '/../../../cord_profile' ) | realpath }}" |
| 25 | |
| 26 | build_cord_dir: /opt/cord |
| 27 | |
| 28 | buildnode: head1 |
| 29 | headnode: head1 |
| 30 | |
Zack Williams | 0a7ef16 | 2017-07-18 18:15:26 -0700 | [diff] [blame] | 31 | # Make build config |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 32 | build_targets: |
Zack Williams | f87ef6e | 2017-10-16 22:30:00 -0700 | [diff] [blame] | 33 | - onos-debug |
| 34 | - onboard-openstack |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 35 | |
| 36 | vagrant_up_prereqs: |
| 37 | - prereqs-check |
| 38 | |
Zack Williams | 0a7ef16 | 2017-07-18 18:15:26 -0700 | [diff] [blame] | 39 | # Copy cord and config to physical/virtual nodes |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 40 | cord_config_prereqs: |
Zack Williams | f87ef6e | 2017-10-16 22:30:00 -0700 | [diff] [blame] | 41 | - vagrant-ssh-install |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 42 | - copy-cord |
| 43 | |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 44 | prep_buildnode_prereqs: |
| 45 | - copy-cord |
| 46 | - copy-config |
| 47 | |
Zack Williams | 0a7ef16 | 2017-07-18 18:15:26 -0700 | [diff] [blame] | 48 | # Run build prep before head prep, when build == head |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 49 | prep_headnode_prereqs: |
| 50 | - prep-buildnode |
| 51 | |
Zack Williams | a5fcefd | 2017-07-27 22:06:33 -0700 | [diff] [blame] | 52 | # Wait until headnode prepped before building containers, for consistent DNS |
| 53 | docker_images_prereqs: |
| 54 | - prep-headnode |
| 55 | |
Zack Williams | 0a7ef16 | 2017-07-18 18:15:26 -0700 | [diff] [blame] | 56 | # Start elasticstack before XOS/ONOS, which log to it |
Zack Williams | 82f24ca | 2017-12-30 13:53:46 -0700 | [diff] [blame] | 57 | #start_xos_prereqs: |
| 58 | # - deploy-elasticstack |
| 59 | # |
| 60 | #deploy_onos_prereqs: |
| 61 | # - deploy-elasticstack |
Zack Williams | 0a7ef16 | 2017-07-18 18:15:26 -0700 | [diff] [blame] | 62 | |
| 63 | # node topology, used to bring up management interfaces |
| 64 | physical_node_list: |
| 65 | - name: head1 |
| 66 | ipv4_last_octet: 1 |
| 67 | aliases: |
| 68 | - head |
| 69 | - name: compute1 |
Zack Williams | a5fcefd | 2017-07-27 22:06:33 -0700 | [diff] [blame] | 70 | ipv4_last_octet: 250 |
Zack Williams | 0a7ef16 | 2017-07-18 18:15:26 -0700 | [diff] [blame] | 71 | - name: compute2 |
Zack Williams | a5fcefd | 2017-07-27 22:06:33 -0700 | [diff] [blame] | 72 | ipv4_last_octet: 251 |
Zack Williams | 0a7ef16 | 2017-07-18 18:15:26 -0700 | [diff] [blame] | 73 | |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 74 | # Vagrant VM configuration |
| 75 | vagrant_vms: |
| 76 | - head1 |
| 77 | - compute1 |
Zack Williams | a5fcefd | 2017-07-27 22:06:33 -0700 | [diff] [blame] | 78 | - compute2 |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 79 | |
Zack Williams | 82f24ca | 2017-12-30 13:53:46 -0700 | [diff] [blame] | 80 | # Vagrant VM configuration |
| 81 | vagrant_box: "ubuntu/trusty64" |
Zack Williams | 2f56eee | 2017-07-17 09:59:16 -0700 | [diff] [blame] | 82 | head_vm_mem: 16384 |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 83 | head_vm_cpu: 8 |
| 84 | |
| 85 | compute_vm_mem: 16384 |
| 86 | compute_vm_cpu: 8 |
| 87 | |
Zack Williams | 0a7ef16 | 2017-07-18 18:15:26 -0700 | [diff] [blame] | 88 | vm_management_network_name: cordmgmt |
| 89 | vm_public_network_name: cordpub |
| 90 | vm_public_network_cidr: "10.230.100.0/24" |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 91 | |
| 92 | # images for imagebuilder to build/pull (tagged elsewhere) |
| 93 | docker_image_whitelist: |
| 94 | - "xosproject/xos-base" |
| 95 | - "xosproject/xos" |
| 96 | - "xosproject/xos-client" |
| 97 | - "xosproject/xos-corebuilder" |
| 98 | - "xosproject/xos-gui" |
Matteo Scandolo | 9acc16b | 2017-11-16 10:13:55 -0800 | [diff] [blame] | 99 | - "xosproject/xos-gui-builder" |
Zack Williams | eeeb6dd | 2017-07-13 10:50:28 -0700 | [diff] [blame] | 100 | - "xosproject/xos-libraries" |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 101 | - "xosproject/xos-postgres" |
Zack Williams | eeeb6dd | 2017-07-13 10:50:28 -0700 | [diff] [blame] | 102 | - "xosproject/xos-tosca" |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 103 | - "xosproject/xos-ws" |
| 104 | - "xosproject/chameleon" |
Zack Williams | 0a7ef16 | 2017-07-18 18:15:26 -0700 | [diff] [blame] | 105 | - "xosproject/xos-synchronizer-base" |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 106 | - "gliderlabs/consul-server" |
| 107 | - "gliderlabs/registrator" |
| 108 | - "nginx" |
| 109 | - "onosproject/onos" |
| 110 | - "redis" |
Andy Bavier | 56b12b5 | 2017-08-03 11:46:42 -0700 | [diff] [blame] | 111 | - "node" |
Sapan Bhatia | 377bd10 | 2017-12-12 13:55:45 -0500 | [diff] [blame] | 112 | - "sebp/elk" |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 113 | |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 114 | # Ansible Inventory |
| 115 | inventory_groups: |
| 116 | |
| 117 | config: |
| 118 | localhost: |
| 119 | ansible_connection: local |
| 120 | |
| 121 | build: |
| 122 | head1: |
| 123 | |
| 124 | head: |
| 125 | head1: |
| 126 | |
| 127 | compute: |
| 128 | compute1: |
Zack Williams | a5fcefd | 2017-07-27 22:06:33 -0700 | [diff] [blame] | 129 | compute2: |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 130 | |