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" |
| 64 | - "xosproject/xos-gui-extension-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" |
| 71 | - "xosproject/gui-extension-rcord" |
| 72 | - "xosproject/gui-extension-sample" |
Max Chu | a9ec78c | 2017-10-02 16:07:11 -0700 | [diff] [blame] | 73 | - "xosproject/gui-extension-vnaas" |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 74 | - "xosproject/gui-extension-vtr" |
| 75 | - "gliderlabs/consul-server" |
| 76 | - "gliderlabs/registrator" |
| 77 | - "nginx" |
| 78 | - "redis" |
Andy Bavier | 56b12b5 | 2017-08-03 11:46:42 -0700 | [diff] [blame] | 79 | - "node" |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 80 | |
| 81 | # Ansible Inventory |
| 82 | inventory_groups: |
| 83 | |
| 84 | config: |
| 85 | localhost: |
| 86 | ansible_connection: local |
| 87 | |
| 88 | build: |
Zack Williams | c818a89 | 2017-10-23 22:46:19 -0700 | [diff] [blame] | 89 | head1: |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 90 | |
| 91 | head: |
Zack Williams | c818a89 | 2017-10-23 22:46:19 -0700 | [diff] [blame] | 92 | head1: |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 93 | |
| 94 | compute: |
| 95 | |