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 | |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 19 | frontend_only: False |
Zack Williams | a7104e3 | 2018-01-03 10:55:26 -0700 | [diff] [blame] | 20 | use_maas: False |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 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 | - onboard-openstack |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 34 | |
| 35 | vagrant_up_prereqs: |
| 36 | - prereqs-check |
| 37 | |
Zack Williams | a7104e3 | 2018-01-03 10:55:26 -0700 | [diff] [blame] | 38 | config_ssh_key_prereqs: |
| 39 | - vagrant-ssh-install |
| 40 | |
| 41 | copy_cord_prereqs: |
| 42 | - vagrant-ssh-install |
| 43 | |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 44 | cord_config_prereqs: |
Zack Williams | f87ef6e | 2017-10-16 22:30:00 -0700 | [diff] [blame] | 45 | - vagrant-ssh-install |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 46 | - copy-cord |
| 47 | |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 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 | ba3e246 | 2018-01-19 11:52:31 -0700 | [diff] [blame] | 60 | # enable ONOS debug before configuring OpenStack w/VTN |
| 61 | onboard_openstack_prereqs: |
| 62 | - onos-debug |
| 63 | |
| 64 | testing_prereqs: |
| 65 | - collect-diag |
Zack Williams | 0a7ef16 | 2017-07-18 18:15:26 -0700 | [diff] [blame] | 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 | 9f42b97 | 2018-01-10 15:05:35 -0700 | [diff] [blame] | 74 | ipv4_last_octet: 17 |
Zack Williams | 0a7ef16 | 2017-07-18 18:15:26 -0700 | [diff] [blame] | 75 | - name: compute2 |
Zack Williams | 9f42b97 | 2018-01-10 15:05:35 -0700 | [diff] [blame] | 76 | ipv4_last_octet: 18 |
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 | 82f24ca | 2017-12-30 13:53:46 -0700 | [diff] [blame] | 84 | # Vagrant VM configuration |
| 85 | vagrant_box: "ubuntu/trusty64" |
Zack Williams | 2f56eee | 2017-07-17 09:59:16 -0700 | [diff] [blame] | 86 | head_vm_mem: 16384 |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 87 | head_vm_cpu: 8 |
| 88 | |
| 89 | compute_vm_mem: 16384 |
| 90 | compute_vm_cpu: 8 |
| 91 | |
Zack Williams | ba3e246 | 2018-01-19 11:52:31 -0700 | [diff] [blame] | 92 | management_net_bridge: "mgmtbridge" |
| 93 | |
Zack Williams | 0a7ef16 | 2017-07-18 18:15:26 -0700 | [diff] [blame] | 94 | vm_management_network_name: cordmgmt |
| 95 | vm_public_network_name: cordpub |
| 96 | vm_public_network_cidr: "10.230.100.0/24" |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 97 | |
Zack Williams | 9f42b97 | 2018-01-10 15:05:35 -0700 | [diff] [blame] | 98 | # which network interfaces belong to which bond on nodes |
| 99 | management_net_interfaces: |
| 100 | - eth1 |
| 101 | |
| 102 | fabric_net_interfaces: |
| 103 | - eth2 |
| 104 | |
| 105 | # veth pair connected between a linux and integration bridge are described here |
| 106 | # https://wiki.opencord.org/display/CORD/VTN+Manual+Tests#VTNManualTests-Testenvironmentsetup |
| 107 | # but may not work? |
| 108 | # vtn_integration_bridge_interface: vethfabric1 |
| 109 | |
| 110 | vtn_integration_bridge_interface: fabricbond |
| 111 | |
| 112 | headnode_fabric_bridge: fabricbridge |
| 113 | |
| 114 | use_vtn_net_management_host: False |
| 115 | |
| 116 | vtn_net_management_host_interface: vethmgmt1 |
| 117 | |
| 118 | use_addresspool_vsg: True |
| 119 | use_addresspool_public: True |
| 120 | |
| 121 | |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 122 | # images for imagebuilder to build/pull (tagged elsewhere) |
| 123 | docker_image_whitelist: |
| 124 | - "xosproject/xos-base" |
| 125 | - "xosproject/xos" |
| 126 | - "xosproject/xos-client" |
| 127 | - "xosproject/xos-corebuilder" |
| 128 | - "xosproject/xos-gui" |
Matteo Scandolo | 9acc16b | 2017-11-16 10:13:55 -0800 | [diff] [blame] | 129 | - "xosproject/xos-gui-builder" |
Zack Williams | eeeb6dd | 2017-07-13 10:50:28 -0700 | [diff] [blame] | 130 | - "xosproject/xos-libraries" |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 131 | - "xosproject/xos-postgres" |
Zack Williams | eeeb6dd | 2017-07-13 10:50:28 -0700 | [diff] [blame] | 132 | - "xosproject/xos-tosca" |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 133 | - "xosproject/xos-ws" |
| 134 | - "xosproject/chameleon" |
Zack Williams | 0a7ef16 | 2017-07-18 18:15:26 -0700 | [diff] [blame] | 135 | - "xosproject/xos-synchronizer-base" |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 136 | - "gliderlabs/consul-server" |
| 137 | - "gliderlabs/registrator" |
| 138 | - "nginx" |
| 139 | - "onosproject/onos" |
Zack Williams | ba3e246 | 2018-01-19 11:52:31 -0700 | [diff] [blame] | 140 | - "opencord/mavenrepo" |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 141 | - "redis" |
Andy Bavier | 56b12b5 | 2017-08-03 11:46:42 -0700 | [diff] [blame] | 142 | - "node" |
Sapan Bhatia | 377bd10 | 2017-12-12 13:55:45 -0500 | [diff] [blame] | 143 | - "sebp/elk" |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 144 | |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 145 | # Ansible Inventory |
| 146 | inventory_groups: |
| 147 | |
| 148 | config: |
| 149 | localhost: |
| 150 | ansible_connection: local |
| 151 | |
| 152 | build: |
| 153 | head1: |
| 154 | |
| 155 | head: |
| 156 | head1: |
| 157 | |
| 158 | compute: |
| 159 | compute1: |
Zack Williams | a5fcefd | 2017-07-27 22:06:33 -0700 | [diff] [blame] | 160 | compute2: |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 161 | |