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