Zack Williams | 3aa32f0 | 2017-12-13 19:58:19 -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 | # controlpod scenario |
| 17 | # Brings up XOS with synchronizers and ONOS |
| 18 | |
| 19 | # create a cord_profile dir next to the cord checkout |
| 20 | config_cord_dir: "{{ ( playbook_dir ~ '/../..') | realpath }}" |
| 21 | config_cord_profile_dir: "{{ ( playbook_dir ~ '/../../../cord_profile' ) | realpath }}" |
| 22 | |
| 23 | build_cord_dir: /opt/cord |
| 24 | |
| 25 | # Vagrant VM configuration |
Zack Williams | 82f24ca | 2017-12-30 13:53:46 -0700 | [diff] [blame] | 26 | vagrant_box: "bento/ubuntu-16.04" |
Zack Williams | 3aa32f0 | 2017-12-13 19:58:19 -0700 | [diff] [blame] | 27 | head_vm_mem: 4096 |
| 28 | head_vm_cpu: 8 |
| 29 | head_vm_ip: "192.168.46.100" |
| 30 | |
| 31 | physical_node_list: |
| 32 | - name: head1 |
| 33 | ipv4_last_octet: 1 |
| 34 | aliases: |
| 35 | - head |
| 36 | |
| 37 | # make targets |
| 38 | build_targets: |
| 39 | - onboard-profile |
| 40 | |
| 41 | cord_config_prereqs: |
| 42 | - vagrant-ssh-install |
| 43 | |
| 44 | prep_headnode_prereqs: |
| 45 | - prep-buildnode |
| 46 | |
| 47 | docker_images_prereqs: |
| 48 | - prep-headnode |
| 49 | |
| 50 | start_xos_prereqs: |
| 51 | - deploy-onos |
| 52 | |
| 53 | # controlpod scenario configuration |
| 54 | frontend_only: False |
| 55 | use_maas: False |
| 56 | use_apt_cache: False |
| 57 | use_openstack: False |
| 58 | create_configdirs_become: False |
| 59 | xos_images: [] |
| 60 | |
| 61 | # whitelist of images for imagebuilder to build/pull (tagged elsewhere) |
| 62 | docker_image_whitelist: |
| 63 | - "xosproject/xos-base" |
| 64 | - "xosproject/xos" |
| 65 | - "xosproject/xos-client" |
| 66 | - "xosproject/xos-corebuilder" |
| 67 | - "xosproject/xos-gui" |
| 68 | - "xosproject/xos-gui-builder" |
| 69 | - "xosproject/xos-libraries" |
| 70 | - "xosproject/xos-postgres" |
| 71 | - "xosproject/xos-tosca" |
| 72 | - "xosproject/xos-ws" |
| 73 | - "xosproject/chameleon" |
| 74 | - "xosproject/xos-synchronizer-base" |
| 75 | - "gliderlabs/consul-server" |
| 76 | - "gliderlabs/registrator" |
| 77 | - "nginx" |
| 78 | - "onosproject/onos" |
| 79 | - "opencord/mavenrepo" |
| 80 | - "redis" |
| 81 | - "node" |
| 82 | |
| 83 | # Ansible Inventory |
| 84 | inventory_groups: |
| 85 | |
| 86 | config: |
| 87 | localhost: |
| 88 | ansible_connection: local |
| 89 | |
| 90 | build: |
| 91 | head1: |
| 92 | |
| 93 | head: |
| 94 | head1: |
| 95 | |
| 96 | compute: |
| 97 | |