Zack Williams | f87ef6e | 2017-10-16 22:30:00 -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 | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 16 | # mock ("mockup") scenario |
| 17 | # Brings up just core containers without synchronizers, for API tests and GUI dev |
| 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: "ubuntu/trusty64" |
Andy Bavier | 3316e60 | 2017-12-20 19:36:00 -0700 | [diff] [blame] | 27 | head_vm_mem: 2048 |
| 28 | head_vm_cpu: 1 |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 29 | head_vm_ip: "192.168.46.100" |
| 30 | |
Zack Williams | 7ec0e39 | 2018-01-24 17:38:56 -0700 | [diff] [blame] | 31 | buildnode: head1 |
| 32 | headnode: head1 |
| 33 | |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 34 | physical_node_list: |
Zack Williams | b0fa24a | 2017-10-23 22:46:19 -0700 | [diff] [blame] | 35 | - name: head1 |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 36 | ipv4_last_octet: 1 |
| 37 | aliases: |
| 38 | - head |
| 39 | |
| 40 | # make targets |
| 41 | build_targets: |
| 42 | - onboard-profile |
| 43 | |
Zack Williams | f87ef6e | 2017-10-16 22:30:00 -0700 | [diff] [blame] | 44 | cord_config_prereqs: |
| 45 | - vagrant-ssh-install |
| 46 | |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 47 | prep_headnode_prereqs: |
| 48 | - prep-buildnode |
| 49 | |
Zack Williams | a5fcefd | 2017-07-27 22:06:33 -0700 | [diff] [blame] | 50 | docker_images_prereqs: |
| 51 | - prep-headnode |
| 52 | |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 53 | # mock profile configuration |
| 54 | frontend_only: True |
| 55 | use_maas: False |
| 56 | use_apt_cache: False |
| 57 | use_openstack: False |
Zack Williams | a5fcefd | 2017-07-27 22:06:33 -0700 | [diff] [blame] | 58 | create_configdirs_become: False |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 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" |
Scott Baker | 9a4d0a1 | 2018-03-09 07:52:02 -0800 | [diff] [blame] | 65 | - "xosproject/xos-ui" |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 66 | - "xosproject/xos-client" |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 67 | - "xosproject/xos-gui" |
Matteo Scandolo | 9acc16b | 2017-11-16 10:13:55 -0800 | [diff] [blame] | 68 | - "xosproject/xos-gui-builder" |
Zack Williams | eeeb6dd | 2017-07-13 10:50:28 -0700 | [diff] [blame] | 69 | - "xosproject/xos-libraries" |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 70 | - "xosproject/xos-postgres" |
Max Chu | 2c6ddf3 | 2017-10-02 16:07:11 -0700 | [diff] [blame] | 71 | - "xosproject/xos-synchronizer-base" |
Zack Williams | eeeb6dd | 2017-07-13 10:50:28 -0700 | [diff] [blame] | 72 | - "xosproject/xos-tosca" |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 73 | - "xosproject/xos-ws" |
| 74 | - "xosproject/chameleon" |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 75 | - "nginx" |
| 76 | - "redis" |
Andy Bavier | 56b12b5 | 2017-08-03 11:46:42 -0700 | [diff] [blame] | 77 | - "node" |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 78 | |
| 79 | # Ansible Inventory |
| 80 | inventory_groups: |
| 81 | |
| 82 | config: |
| 83 | localhost: |
| 84 | ansible_connection: local |
| 85 | |
| 86 | build: |
Zack Williams | b0fa24a | 2017-10-23 22:46:19 -0700 | [diff] [blame] | 87 | head1: |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 88 | |
| 89 | head: |
Zack Williams | b0fa24a | 2017-10-23 22:46:19 -0700 | [diff] [blame] | 90 | head1: |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 91 | |
| 92 | compute: |
| 93 | |