Zack Williams | a7104e3 | 2018-01-03 10:55:26 -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 | # controlkube Scenario - installs XOS/ONOS on kubernetes, similar to controlpod |
| 17 | |
| 18 | frontend_only: False |
| 19 | use_maas: False |
| 20 | |
| 21 | # create a cord_profile dir next to the cord checkout |
| 22 | config_cord_dir: "{{ ( playbook_dir ~ '/../..' ) | realpath }}" |
| 23 | config_cord_profile_dir: "{{ ( playbook_dir ~ '/../../../cord_profile' ) | realpath }}" |
| 24 | |
| 25 | build_cord_dir: /opt/cord |
| 26 | |
| 27 | buildnode: head1 |
| 28 | headnode: head1 |
| 29 | |
| 30 | # Make build config |
| 31 | build_targets: |
| 32 | - deploy-kubespray |
| 33 | # - prep-computenode |
| 34 | # - prep-headnode |
| 35 | # - core-image |
| 36 | |
| 37 | config_ssh_key_prereqs: |
| 38 | - vagrant-ssh-install |
| 39 | |
| 40 | copy_cord_prereqs: |
| 41 | - vagrant-ssh-install |
| 42 | |
| 43 | cord_config_prereqs: |
| 44 | - vagrant-ssh-install |
| 45 | - copy-cord |
| 46 | |
| 47 | prep_buildnode_prereqs: |
| 48 | - copy-cord |
| 49 | - copy-config |
| 50 | |
| 51 | # Run build prep before head prep, when build == head |
| 52 | prep_headnode_prereqs: |
| 53 | - prep-buildnode |
| 54 | |
| 55 | # Wait until headnode prepped before building containers, for consistent DNS |
| 56 | docker_images_prereqs: |
| 57 | - prep-headnode |
| 58 | |
| 59 | # node topology, used to bring up management interfaces |
| 60 | physical_node_list: |
| 61 | - name: head1 |
| 62 | ipv4_last_octet: 1 |
| 63 | aliases: |
| 64 | - head |
| 65 | - name: compute1 |
| 66 | ipv4_last_octet: 17 |
| 67 | - name: compute2 |
| 68 | ipv4_last_octet: 18 |
| 69 | |
| 70 | # Vagrant VM configuration |
| 71 | vagrant_vms: |
| 72 | - head1 |
| 73 | - compute1 |
| 74 | - compute2 |
| 75 | |
| 76 | # Vagrant VM configuration |
| 77 | vagrant_box: "bento/ubuntu-16.04" |
| 78 | |
| 79 | head_vm_mem: 2048 |
| 80 | head_vm_cpu: 4 |
| 81 | |
| 82 | compute_vm_mem: 2048 |
| 83 | compute_vm_cpu: 4 |
| 84 | |
| 85 | vm_management_network_name: cordmgmt |
| 86 | vm_public_network_name: cordpub |
| 87 | vm_public_network_cidr: "10.230.100.0/24" |
| 88 | |
| 89 | # images for imagebuilder to build/pull (tagged elsewhere) |
| 90 | docker_image_whitelist: |
| 91 | - "xosproject/xos-base" |
| 92 | - "xosproject/xos" |
| 93 | - "xosproject/xos-client" |
| 94 | - "xosproject/xos-corebuilder" |
| 95 | - "xosproject/xos-gui" |
| 96 | - "xosproject/xos-gui-builder" |
| 97 | - "xosproject/xos-libraries" |
| 98 | - "xosproject/xos-postgres" |
| 99 | - "xosproject/xos-tosca" |
| 100 | - "xosproject/xos-ws" |
| 101 | - "xosproject/chameleon" |
| 102 | - "xosproject/xos-synchronizer-base" |
| 103 | - "gliderlabs/consul-server" |
| 104 | - "gliderlabs/registrator" |
| 105 | - "nginx" |
| 106 | - "onosproject/onos" |
| 107 | - "redis" |
| 108 | - "node" |
| 109 | - "sebp/elk" |
| 110 | |
| 111 | # Ansible Inventory |
| 112 | inventory_groups: |
| 113 | |
| 114 | config: |
| 115 | localhost: |
| 116 | ansible_connection: local |
| 117 | |
| 118 | build: |
| 119 | head1: |
| 120 | |
| 121 | head: |
| 122 | head1: |
| 123 | |
| 124 | compute: |
| 125 | compute1: |
| 126 | compute2: |
| 127 | |