Zack Williams | 63dd02f | 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 |
Matteo Scandolo | ca186da | 2017-10-04 14:45:17 -0700 | [diff] [blame] | 26 | head_vm_mem: 6048 |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 27 | head_vm_cpu: 4 |
| 28 | head_vm_ip: "192.168.46.100" |
| 29 | |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 30 | physical_node_list: |
Zack Williams | c818a89 | 2017-10-23 22:46:19 -0700 | [diff] [blame] | 31 | - name: head1 |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 32 | ipv4_last_octet: 1 |
| 33 | aliases: |
| 34 | - head |
| 35 | |
| 36 | # make targets |
| 37 | build_targets: |
| 38 | - onboard-profile |
| 39 | |
Zack Williams | 63dd02f | 2017-10-16 22:30:00 -0700 | [diff] [blame] | 40 | cord_config_prereqs: |
| 41 | - vagrant-ssh-install |
| 42 | |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 43 | prep_headnode_prereqs: |
| 44 | - prep-buildnode |
| 45 | |
Zack Williams | a5fcefd | 2017-07-27 22:06:33 -0700 | [diff] [blame] | 46 | docker_images_prereqs: |
| 47 | - prep-headnode |
| 48 | |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 49 | # mock profile configuration |
| 50 | frontend_only: True |
| 51 | use_maas: False |
| 52 | use_apt_cache: False |
| 53 | use_openstack: False |
Zack Williams | a5fcefd | 2017-07-27 22:06:33 -0700 | [diff] [blame] | 54 | create_configdirs_become: False |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 55 | xos_images: [] |
| 56 | |
| 57 | # whitelist of images for imagebuilder to build/pull (tagged elsewhere) |
| 58 | docker_image_whitelist: |
| 59 | - "xosproject/xos-base" |
| 60 | - "xosproject/xos" |
| 61 | - "xosproject/xos-client" |
| 62 | - "xosproject/xos-corebuilder" |
| 63 | - "xosproject/xos-gui" |
Matteo Scandolo | 5c634b0 | 2017-11-16 10:13:55 -0800 | [diff] [blame] | 64 | - "xosproject/xos-gui-builder" |
Zack Williams | eeeb6dd | 2017-07-13 10:50:28 -0700 | [diff] [blame] | 65 | - "xosproject/xos-libraries" |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 66 | - "xosproject/xos-postgres" |
Max Chu | a9ec78c | 2017-10-02 16:07:11 -0700 | [diff] [blame] | 67 | - "xosproject/xos-synchronizer-base" |
Zack Williams | eeeb6dd | 2017-07-13 10:50:28 -0700 | [diff] [blame] | 68 | - "xosproject/xos-tosca" |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 69 | - "xosproject/xos-ws" |
| 70 | - "xosproject/chameleon" |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 71 | - "gliderlabs/consul-server" |
| 72 | - "gliderlabs/registrator" |
| 73 | - "nginx" |
| 74 | - "redis" |
Andy Bavier | 56b12b5 | 2017-08-03 11:46:42 -0700 | [diff] [blame] | 75 | - "node" |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 76 | |
| 77 | # Ansible Inventory |
| 78 | inventory_groups: |
| 79 | |
| 80 | config: |
| 81 | localhost: |
| 82 | ansible_connection: local |
| 83 | |
| 84 | build: |
Zack Williams | c818a89 | 2017-10-23 22:46:19 -0700 | [diff] [blame] | 85 | head1: |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 86 | |
| 87 | head: |
Zack Williams | c818a89 | 2017-10-23 22:46:19 -0700 | [diff] [blame] | 88 | head1: |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 89 | |
| 90 | compute: |
| 91 | |