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 | 7ec0e39 | 2018-01-24 17:38:56 -0700 | [diff] [blame] | 33 | buildnode: head1 |
| 34 | headnode: head1 |
| 35 | |
Zack Williams | 0a7ef16 | 2017-07-18 18:15:26 -0700 | [diff] [blame] | 36 | physical_node_list: |
Zack Williams | b0fa24a | 2017-10-23 22:46:19 -0700 | [diff] [blame] | 37 | - name: head1 |
Zack Williams | 0a7ef16 | 2017-07-18 18:15:26 -0700 | [diff] [blame] | 38 | ipv4_last_octet: 1 |
| 39 | aliases: |
| 40 | - head |
| 41 | |
| 42 | # make targets |
| 43 | build_targets: |
| 44 | - onboard-profile |
| 45 | |
Zack Williams | f87ef6e | 2017-10-16 22:30:00 -0700 | [diff] [blame] | 46 | cord_config_prereqs: |
| 47 | - vagrant-ssh-install |
| 48 | |
Zack Williams | 0a7ef16 | 2017-07-18 18:15:26 -0700 | [diff] [blame] | 49 | prep_headnode_prereqs: |
| 50 | - prep-buildnode |
| 51 | |
Zack Williams | a5fcefd | 2017-07-27 22:06:33 -0700 | [diff] [blame] | 52 | docker_images_prereqs: |
| 53 | - prep-headnode |
| 54 | |
Zack Williams | 0a7ef16 | 2017-07-18 18:15:26 -0700 | [diff] [blame] | 55 | # single scenario configuration |
| 56 | frontend_only: False |
| 57 | use_maas: False |
| 58 | use_apt_cache: False |
| 59 | use_openstack: False |
Zack Williams | a5fcefd | 2017-07-27 22:06:33 -0700 | [diff] [blame] | 60 | create_configdirs_become: False |
Zack Williams | 0a7ef16 | 2017-07-18 18:15:26 -0700 | [diff] [blame] | 61 | xos_images: [] |
| 62 | |
Sapan Bhatia | 377bd10 | 2017-12-12 13:55:45 -0500 | [diff] [blame] | 63 | # used in platform-install / roles/cord-profile/templates/docker-compose.yml.j2 |
| 64 | use_elasticstack: True |
| 65 | |
Zack Williams | 0a7ef16 | 2017-07-18 18:15:26 -0700 | [diff] [blame] | 66 | # whitelist of images for imagebuilder to build/pull (tagged elsewhere) |
| 67 | docker_image_whitelist: |
| 68 | - "xosproject/xos-base" |
Scott Baker | 3c3f06a | 2018-03-29 15:38:36 -0700 | [diff] [blame] | 69 | - "xosproject/xos-core" |
Zack Williams | 0a7ef16 | 2017-07-18 18:15:26 -0700 | [diff] [blame] | 70 | - "xosproject/xos-client" |
Zack Williams | 0a7ef16 | 2017-07-18 18:15:26 -0700 | [diff] [blame] | 71 | - "xosproject/xos-gui" |
Matteo Scandolo | 9acc16b | 2017-11-16 10:13:55 -0800 | [diff] [blame] | 72 | - "xosproject/xos-gui-builder" |
Zack Williams | 0a7ef16 | 2017-07-18 18:15:26 -0700 | [diff] [blame] | 73 | - "xosproject/xos-libraries" |
Zack Williams | 0a7ef16 | 2017-07-18 18:15:26 -0700 | [diff] [blame] | 74 | - "xosproject/xos-tosca" |
| 75 | - "xosproject/xos-ws" |
| 76 | - "xosproject/chameleon" |
Zack Williams | 0a7ef16 | 2017-07-18 18:15:26 -0700 | [diff] [blame] | 77 | - "xosproject/xos-synchronizer-base" |
Zack Williams | 0a7ef16 | 2017-07-18 18:15:26 -0700 | [diff] [blame] | 78 | - "nginx" |
Zack Williams | 9bb7e7b | 2018-04-02 13:31:29 -0700 | [diff] [blame] | 79 | - "node" |
Zack Williams | 0a7ef16 | 2017-07-18 18:15:26 -0700 | [diff] [blame] | 80 | - "onosproject/onos" |
Zack Williams | 5e039f0 | 2017-11-16 09:50:09 -0700 | [diff] [blame] | 81 | - "opencord/mavenrepo" |
Zack Williams | 9bb7e7b | 2018-04-02 13:31:29 -0700 | [diff] [blame] | 82 | - "postgres" |
Zack Williams | 0a7ef16 | 2017-07-18 18:15:26 -0700 | [diff] [blame] | 83 | - "redis" |
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 | |