Zack Williams | 58e4157 | 2017-09-29 07:57:14 -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 | 58e4157 | 2017-09-29 07:57:14 -0700 | [diff] [blame] | 16 | # single node scenario (head-node only) |
Zack Williams | 0a7ef16 | 2017-07-18 18:15:26 -0700 | [diff] [blame] | 17 | # Brings up a VM with synchronizers, for more complicated testing without OpenStack |
Zack Williams | 58e4157 | 2017-09-29 07:57:14 -0700 | [diff] [blame] | 18 | # Can be used with ONOS and ElasticStack, see: |
| 19 | # https://guide.opencord.org/xos/dev/workflow_mock_single.html |
Zack Williams | 0a7ef16 | 2017-07-18 18:15:26 -0700 | [diff] [blame] | 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 | # Vagrant VM configuration |
Zack Williams | 82f24ca | 2017-12-30 13:53:46 -0700 | [diff] [blame] | 28 | vagrant_box: "ubuntu/trusty64" |
Sapan Bhatia | 377bd10 | 2017-12-12 13:55:45 -0500 | [diff] [blame] | 29 | head_vm_mem: 8192 |
Zack Williams | 0a7ef16 | 2017-07-18 18:15:26 -0700 | [diff] [blame] | 30 | head_vm_cpu: 8 |
| 31 | head_vm_ip: "192.168.46.100" |
| 32 | |
Zack Williams | 0a7ef16 | 2017-07-18 18:15:26 -0700 | [diff] [blame] | 33 | physical_node_list: |
Zack Williams | b0fa24a | 2017-10-23 22:46:19 -0700 | [diff] [blame] | 34 | - name: head1 |
Zack Williams | 0a7ef16 | 2017-07-18 18:15:26 -0700 | [diff] [blame] | 35 | ipv4_last_octet: 1 |
| 36 | aliases: |
| 37 | - head |
| 38 | |
| 39 | # make targets |
| 40 | build_targets: |
| 41 | - onboard-profile |
| 42 | |
Zack Williams | f87ef6e | 2017-10-16 22:30:00 -0700 | [diff] [blame] | 43 | cord_config_prereqs: |
| 44 | - vagrant-ssh-install |
| 45 | |
Zack Williams | 0a7ef16 | 2017-07-18 18:15:26 -0700 | [diff] [blame] | 46 | prep_headnode_prereqs: |
| 47 | - prep-buildnode |
| 48 | |
Zack Williams | a5fcefd | 2017-07-27 22:06:33 -0700 | [diff] [blame] | 49 | docker_images_prereqs: |
| 50 | - prep-headnode |
| 51 | |
Zack Williams | 0a7ef16 | 2017-07-18 18:15:26 -0700 | [diff] [blame] | 52 | # single scenario configuration |
| 53 | frontend_only: False |
| 54 | use_maas: False |
| 55 | use_apt_cache: False |
| 56 | use_openstack: False |
Zack Williams | a5fcefd | 2017-07-27 22:06:33 -0700 | [diff] [blame] | 57 | create_configdirs_become: False |
Zack Williams | 0a7ef16 | 2017-07-18 18:15:26 -0700 | [diff] [blame] | 58 | xos_images: [] |
| 59 | |
Sapan Bhatia | 377bd10 | 2017-12-12 13:55:45 -0500 | [diff] [blame] | 60 | # used in platform-install / roles/cord-profile/templates/docker-compose.yml.j2 |
| 61 | use_elasticstack: True |
| 62 | |
Zack Williams | 0a7ef16 | 2017-07-18 18:15:26 -0700 | [diff] [blame] | 63 | # whitelist of images for imagebuilder to build/pull (tagged elsewhere) |
| 64 | docker_image_whitelist: |
| 65 | - "xosproject/xos-base" |
| 66 | - "xosproject/xos" |
| 67 | - "xosproject/xos-client" |
| 68 | - "xosproject/xos-corebuilder" |
| 69 | - "xosproject/xos-gui" |
Matteo Scandolo | 9acc16b | 2017-11-16 10:13:55 -0800 | [diff] [blame] | 70 | - "xosproject/xos-gui-builder" |
Zack Williams | 0a7ef16 | 2017-07-18 18:15:26 -0700 | [diff] [blame] | 71 | - "xosproject/xos-libraries" |
| 72 | - "xosproject/xos-postgres" |
| 73 | - "xosproject/xos-tosca" |
| 74 | - "xosproject/xos-ws" |
| 75 | - "xosproject/chameleon" |
Zack Williams | 0a7ef16 | 2017-07-18 18:15:26 -0700 | [diff] [blame] | 76 | - "xosproject/xos-synchronizer-base" |
Zack Williams | 0a7ef16 | 2017-07-18 18:15:26 -0700 | [diff] [blame] | 77 | - "gliderlabs/consul-server" |
| 78 | - "gliderlabs/registrator" |
| 79 | - "nginx" |
| 80 | - "onosproject/onos" |
Zack Williams | 5e039f0 | 2017-11-16 09:50:09 -0700 | [diff] [blame] | 81 | - "opencord/mavenrepo" |
Zack Williams | 0a7ef16 | 2017-07-18 18:15:26 -0700 | [diff] [blame] | 82 | - "redis" |
Andy Bavier | 56b12b5 | 2017-08-03 11:46:42 -0700 | [diff] [blame] | 83 | - "node" |
Sapan Bhatia | 377bd10 | 2017-12-12 13:55:45 -0500 | [diff] [blame] | 84 | - "sebp/elk" |
Zack Williams | 0a7ef16 | 2017-07-18 18:15:26 -0700 | [diff] [blame] | 85 | |
| 86 | # Ansible Inventory |
| 87 | inventory_groups: |
| 88 | |
| 89 | config: |
| 90 | localhost: |
| 91 | ansible_connection: local |
| 92 | |
| 93 | build: |
Zack Williams | b0fa24a | 2017-10-23 22:46:19 -0700 | [diff] [blame] | 94 | head1: |
Zack Williams | 0a7ef16 | 2017-07-18 18:15:26 -0700 | [diff] [blame] | 95 | |
| 96 | head: |
Zack Williams | b0fa24a | 2017-10-23 22:46:19 -0700 | [diff] [blame] | 97 | head1: |
Zack Williams | 0a7ef16 | 2017-07-18 18:15:26 -0700 | [diff] [blame] | 98 | |
| 99 | compute: |
| 100 | |