Zack Williams | 9f42b97 | 2018-01-10 15:05:35 -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 | # preppedkube Scenario - install CORD on kubernetes, on pre-prepared systems with OS installed |
| 17 | |
| 18 | frontend_only: False |
| 19 | use_k8s: True |
| 20 | use_maas: False |
| 21 | use_openstack: False |
| 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 | |
| 27 | create_configdirs_become: False |
| 28 | |
| 29 | build_cord_dir: /opt/cord |
| 30 | |
| 31 | # Vagrant VM configuration |
| 32 | vagrant_box: "bento/ubuntu-16.04" |
| 33 | |
| 34 | head_vm_mem: 16384 |
| 35 | head_vm_cpu: 8 |
| 36 | |
| 37 | compute_vm_mem: 16384 |
| 38 | compute_vm_cpu: 8 |
| 39 | |
| 40 | buildnode: head1 |
| 41 | headnode: head1 |
| 42 | |
| 43 | vagrant_vms: |
| 44 | - head1 |
| 45 | - compute1 |
| 46 | - compute2 |
| 47 | |
| 48 | # Make build config |
| 49 | build_targets: |
| 50 | - start-xos-helm |
| 51 | |
| 52 | vagrant_up_prereqs: |
| 53 | - prereqs-check |
| 54 | |
| 55 | config_ssh_key_prereqs: |
| 56 | - vagrant-ssh-install |
| 57 | |
| 58 | copy_cord_prereqs: |
| 59 | - vagrant-ssh-install |
| 60 | |
| 61 | cord_config_prereqs: |
| 62 | - vagrant-ssh-install |
| 63 | - copy-cord |
| 64 | |
| 65 | prep_buildnode_prereqs: |
| 66 | - copy-cord |
| 67 | - copy-config |
| 68 | |
| 69 | # Run build prep before head prep, when build == head |
| 70 | prep_headnode_prereqs: |
| 71 | - prep-buildnode |
| 72 | |
| 73 | # Wait until headnode prepped before building containers, for consistent DNS |
| 74 | docker_images_prereqs: |
| 75 | - prep-headnode |
| 76 | |
| 77 | # have kubespray skip docker installation |
| 78 | skipTags: |
| 79 | - docker |
| 80 | |
| 81 | # node topology, used to bring up management interfaces |
| 82 | physical_node_list: |
| 83 | - name: head1 |
| 84 | ipv4_last_octet: 1 |
| 85 | aliases: |
| 86 | - head |
| 87 | - name: compute1 |
| 88 | ipv4_last_octet: 17 |
| 89 | - name: compute2 |
| 90 | ipv4_last_octet: 18 |
| 91 | |
| 92 | management_net_bridge: "mgmtbridge" |
| 93 | |
| 94 | vm_management_network_name: cordmgmt |
| 95 | vm_public_network_name: cordpub |
| 96 | vm_public_network_cidr: "10.230.100.0/24" |
| 97 | |
| 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 | # images for imagebuilder to build/pull (tagged elsewhere) |
| 122 | docker_image_whitelist: |
| 123 | - "xosproject/xos-base" |
| 124 | - "xosproject/xos" |
| 125 | - "xosproject/xos-client" |
| 126 | - "xosproject/xos-corebuilder" |
| 127 | - "xosproject/xos-gui" |
| 128 | - "xosproject/xos-gui-builder" |
| 129 | - "xosproject/xos-libraries" |
| 130 | - "xosproject/xos-postgres" |
| 131 | - "xosproject/xos-tosca" |
| 132 | - "xosproject/xos-ws" |
| 133 | - "xosproject/chameleon" |
| 134 | - "xosproject/xos-synchronizer-base" |
Zack Williams | 9f42b97 | 2018-01-10 15:05:35 -0700 | [diff] [blame] | 135 | - "nginx" |
| 136 | - "onosproject/onos" |
| 137 | - "opencord/mavenrepo" |
| 138 | - "redis" |
| 139 | - "node" |
| 140 | - "sebp/elk" |
| 141 | |
| 142 | # Ansible Inventory |
| 143 | inventory_groups: |
| 144 | |
| 145 | config: |
| 146 | localhost: |
| 147 | ansible_connection: local |
| 148 | |
| 149 | build: |
| 150 | head1: |
| 151 | |
| 152 | head: |
| 153 | head1: |
| 154 | |
| 155 | compute: |
| 156 | compute1: |
| 157 | compute2: |
| 158 | |