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