Matteo Scandolo | 60b640f | 2017-08-08 13:05:22 -0700 | [diff] [blame] | 1 | |
| 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 | |
| 16 | |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 17 | --- |
| 18 | # opencloud Scenario |
| 19 | # For a virtual install, physical does not use VMs |
| 20 | |
| 21 | # opencloud profile config |
| 22 | frontend_only: False |
| 23 | |
| 24 | # create a cord_profile dir next to the cord checkout |
| 25 | config_cord_dir: "{{ ( playbook_dir ~ '/../..' ) | realpath }}" |
| 26 | config_cord_profile_dir: "{{ ( playbook_dir ~ '/../../../cord_profile' ) | realpath }}" |
| 27 | |
| 28 | build_cord_dir: /opt/cord |
| 29 | |
| 30 | buildnode: head1 |
| 31 | headnode: head1 |
| 32 | |
Zack Williams | 0a7ef16 | 2017-07-18 18:15:26 -0700 | [diff] [blame] | 33 | # Make build config |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 34 | build_targets: |
Zack Williams | a5fcefd | 2017-07-27 22:06:33 -0700 | [diff] [blame] | 35 | - onos-debug |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 36 | - onboard-openstack |
| 37 | |
| 38 | vagrant_up_prereqs: |
| 39 | - prereqs-check |
| 40 | |
Zack Williams | 0a7ef16 | 2017-07-18 18:15:26 -0700 | [diff] [blame] | 41 | # Copy cord and config to physical/virtual nodes |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 42 | cord_config_prereqs: |
| 43 | - copy-cord |
| 44 | |
| 45 | copy_config_prereqs: |
| 46 | - cord-config |
| 47 | |
| 48 | prep_buildnode_prereqs: |
| 49 | - copy-cord |
| 50 | - copy-config |
| 51 | |
Zack Williams | 0a7ef16 | 2017-07-18 18:15:26 -0700 | [diff] [blame] | 52 | # Run build prep before head prep, when build == head |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 53 | prep_headnode_prereqs: |
| 54 | - prep-buildnode |
| 55 | |
Zack Williams | a5fcefd | 2017-07-27 22:06:33 -0700 | [diff] [blame] | 56 | # Wait until headnode prepped before building containers, for consistent DNS |
| 57 | docker_images_prereqs: |
| 58 | - prep-headnode |
| 59 | |
Zack Williams | 0a7ef16 | 2017-07-18 18:15:26 -0700 | [diff] [blame] | 60 | # Start elasticstack before XOS/ONOS, which log to it |
| 61 | start_xos_prereqs: |
| 62 | - deploy-elasticstack |
| 63 | |
| 64 | deploy_onos_prereqs: |
| 65 | - deploy-elasticstack |
| 66 | |
| 67 | # node topology, used to bring up management interfaces |
| 68 | physical_node_list: |
| 69 | - name: head1 |
| 70 | ipv4_last_octet: 1 |
| 71 | aliases: |
| 72 | - head |
| 73 | - name: compute1 |
Zack Williams | a5fcefd | 2017-07-27 22:06:33 -0700 | [diff] [blame] | 74 | ipv4_last_octet: 250 |
Zack Williams | 0a7ef16 | 2017-07-18 18:15:26 -0700 | [diff] [blame] | 75 | - name: compute2 |
Zack Williams | a5fcefd | 2017-07-27 22:06:33 -0700 | [diff] [blame] | 76 | ipv4_last_octet: 251 |
Zack Williams | 0a7ef16 | 2017-07-18 18:15:26 -0700 | [diff] [blame] | 77 | |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 78 | # Vagrant VM configuration |
| 79 | vagrant_vms: |
| 80 | - head1 |
| 81 | - compute1 |
Zack Williams | a5fcefd | 2017-07-27 22:06:33 -0700 | [diff] [blame] | 82 | - compute2 |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 83 | |
Zack Williams | 2f56eee | 2017-07-17 09:59:16 -0700 | [diff] [blame] | 84 | head_vm_mem: 16384 |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 85 | head_vm_cpu: 8 |
| 86 | |
| 87 | compute_vm_mem: 16384 |
| 88 | compute_vm_cpu: 8 |
| 89 | |
Zack Williams | 0a7ef16 | 2017-07-18 18:15:26 -0700 | [diff] [blame] | 90 | vm_management_network_name: cordmgmt |
| 91 | vm_public_network_name: cordpub |
| 92 | vm_public_network_cidr: "10.230.100.0/24" |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 93 | |
| 94 | # images for imagebuilder to build/pull (tagged elsewhere) |
| 95 | docker_image_whitelist: |
| 96 | - "xosproject/xos-base" |
| 97 | - "xosproject/xos" |
| 98 | - "xosproject/xos-client" |
| 99 | - "xosproject/xos-corebuilder" |
| 100 | - "xosproject/xos-gui" |
| 101 | - "xosproject/xos-gui-extension-builder" |
Zack Williams | eeeb6dd | 2017-07-13 10:50:28 -0700 | [diff] [blame] | 102 | - "xosproject/xos-libraries" |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 103 | - "xosproject/xos-postgres" |
Zack Williams | eeeb6dd | 2017-07-13 10:50:28 -0700 | [diff] [blame] | 104 | - "xosproject/xos-tosca" |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 105 | - "xosproject/xos-ws" |
| 106 | - "xosproject/chameleon" |
| 107 | - "xosproject/gui-extension-rcord" |
| 108 | - "xosproject/gui-extension-sample" |
| 109 | - "xosproject/gui-extension-vtr" |
Zack Williams | 0a7ef16 | 2017-07-18 18:15:26 -0700 | [diff] [blame] | 110 | - "xosproject/xos-synchronizer-base" |
Scott Baker | 3033386 | 2017-09-08 13:51:55 -0700 | [diff] [blame] | 111 | - "xosproject/addressmanager-synchronizer" |
Zack Williams | 0a7ef16 | 2017-07-18 18:15:26 -0700 | [diff] [blame] | 112 | - "xosproject/exampleservice-synchronizer" |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 113 | - "xosproject/onos-synchronizer" |
| 114 | - "xosproject/openstack-synchronizer" |
| 115 | - "xosproject/vrouter-synchronizer" |
| 116 | - "xosproject/vtn-synchronizer" |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 117 | - "gliderlabs/consul-server" |
| 118 | - "gliderlabs/registrator" |
| 119 | - "nginx" |
| 120 | - "onosproject/onos" |
| 121 | - "redis" |
Andy Bavier | 56b12b5 | 2017-08-03 11:46:42 -0700 | [diff] [blame] | 122 | - "node" |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 123 | |
Zack Williams | 0a7ef16 | 2017-07-18 18:15:26 -0700 | [diff] [blame] | 124 | |
| 125 | |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 126 | # Ansible Inventory |
| 127 | inventory_groups: |
| 128 | |
| 129 | config: |
| 130 | localhost: |
| 131 | ansible_connection: local |
| 132 | |
| 133 | build: |
| 134 | head1: |
| 135 | |
| 136 | head: |
| 137 | head1: |
| 138 | |
| 139 | compute: |
| 140 | compute1: |
Zack Williams | a5fcefd | 2017-07-27 22:06:33 -0700 | [diff] [blame] | 141 | compute2: |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 142 | |