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 |
| 28 | head_vm_mem: 4096 |
| 29 | head_vm_cpu: 8 |
| 30 | head_vm_ip: "192.168.46.100" |
| 31 | |
Zack Williams | 0a7ef16 | 2017-07-18 18:15:26 -0700 | [diff] [blame] | 32 | physical_node_list: |
Zack Williams | b0fa24a | 2017-10-23 22:46:19 -0700 | [diff] [blame] | 33 | - name: head1 |
Zack Williams | 0a7ef16 | 2017-07-18 18:15:26 -0700 | [diff] [blame] | 34 | ipv4_last_octet: 1 |
| 35 | aliases: |
| 36 | - head |
| 37 | |
| 38 | # make targets |
| 39 | build_targets: |
| 40 | - onboard-profile |
| 41 | |
Zack Williams | f87ef6e | 2017-10-16 22:30:00 -0700 | [diff] [blame] | 42 | cord_config_prereqs: |
| 43 | - vagrant-ssh-install |
| 44 | |
Zack Williams | 0a7ef16 | 2017-07-18 18:15:26 -0700 | [diff] [blame] | 45 | prep_headnode_prereqs: |
| 46 | - prep-buildnode |
| 47 | |
Zack Williams | a5fcefd | 2017-07-27 22:06:33 -0700 | [diff] [blame] | 48 | docker_images_prereqs: |
| 49 | - prep-headnode |
| 50 | |
Zack Williams | 0a7ef16 | 2017-07-18 18:15:26 -0700 | [diff] [blame] | 51 | # single scenario configuration |
| 52 | frontend_only: False |
| 53 | use_maas: False |
| 54 | use_apt_cache: False |
| 55 | use_openstack: False |
Zack Williams | a5fcefd | 2017-07-27 22:06:33 -0700 | [diff] [blame] | 56 | create_configdirs_become: False |
Zack Williams | 0a7ef16 | 2017-07-18 18:15:26 -0700 | [diff] [blame] | 57 | xos_images: [] |
| 58 | |
| 59 | # whitelist of images for imagebuilder to build/pull (tagged elsewhere) |
| 60 | docker_image_whitelist: |
| 61 | - "xosproject/xos-base" |
| 62 | - "xosproject/xos" |
| 63 | - "xosproject/xos-client" |
| 64 | - "xosproject/xos-corebuilder" |
| 65 | - "xosproject/xos-gui" |
Matteo Scandolo | 9acc16b | 2017-11-16 10:13:55 -0800 | [diff] [blame] | 66 | - "xosproject/xos-gui-builder" |
Zack Williams | 0a7ef16 | 2017-07-18 18:15:26 -0700 | [diff] [blame] | 67 | - "xosproject/xos-libraries" |
| 68 | - "xosproject/xos-postgres" |
| 69 | - "xosproject/xos-tosca" |
| 70 | - "xosproject/xos-ws" |
| 71 | - "xosproject/chameleon" |
| 72 | - "xosproject/gui-extension-rcord" |
| 73 | - "xosproject/gui-extension-sample" |
Max Chu | e91497c | 2017-11-06 10:34:38 -0800 | [diff] [blame] | 74 | - "xosproject/gui-extension-veestat" |
Zack Williams | 58e4157 | 2017-09-29 07:57:14 -0700 | [diff] [blame] | 75 | - "xosproject/gui-extension-vnaas" |
Zack Williams | 0a7ef16 | 2017-07-18 18:15:26 -0700 | [diff] [blame] | 76 | - "xosproject/gui-extension-vtr" |
| 77 | - "xosproject/xos-synchronizer-base" |
Scott Baker | bd37a06 | 2017-09-08 13:51:55 -0700 | [diff] [blame] | 78 | - "xosproject/addressmanager-synchronizer" |
Zack Williams | 0a7ef16 | 2017-07-18 18:15:26 -0700 | [diff] [blame] | 79 | - "xosproject/exampleservice-synchronizer" |
| 80 | - "xosproject/fabric-synchronizer" |
| 81 | - "xosproject/onos-synchronizer" |
| 82 | - "xosproject/openstack-synchronizer" |
Zack Williams | 58e4157 | 2017-09-29 07:57:14 -0700 | [diff] [blame] | 83 | - "xosproject/vee-synchronizer" |
| 84 | - "xosproject/veg-synchronizer" |
| 85 | - "xosproject/vnaas-synchronizer" |
Zack Williams | 0a7ef16 | 2017-07-18 18:15:26 -0700 | [diff] [blame] | 86 | - "xosproject/volt-synchronizer" |
| 87 | - "xosproject/vrouter-synchronizer" |
| 88 | - "xosproject/vsg-synchronizer" |
| 89 | - "xosproject/vtn-synchronizer" |
| 90 | - "xosproject/vtr-synchronizer" |
Andy Bavier | 7641a19 | 2017-10-03 14:14:51 -0700 | [diff] [blame] | 91 | - "xosproject/vmme-synchronizer" |
Andy Bavier | 483ffb7 | 2017-10-20 11:24:22 -0700 | [diff] [blame] | 92 | - "xosproject/internetemulator-synchronizer" |
| 93 | - "xosproject/sdncontroller-synchronizer" |
| 94 | - "xosproject/vspgwc-synchronizer" |
Wei-Yu Chen | 6618624 | 2017-10-21 13:55:09 +0800 | [diff] [blame] | 95 | - "xosproject/vspgwu-synchronizer" |
Matteo Scandolo | 1bd23c8 | 2017-10-06 11:31:04 -0700 | [diff] [blame] | 96 | - "xosproject/venb-synchronizer" |
Andy Bavier | c7450fa | 2017-10-24 16:54:15 -0700 | [diff] [blame] | 97 | - "xosproject/templateservice-synchronizer" |
Zack Williams | 0a7ef16 | 2017-07-18 18:15:26 -0700 | [diff] [blame] | 98 | - "gliderlabs/consul-server" |
| 99 | - "gliderlabs/registrator" |
| 100 | - "nginx" |
| 101 | - "onosproject/onos" |
Zack Williams | 5e039f0 | 2017-11-16 09:50:09 -0700 | [diff] [blame] | 102 | - "opencord/mavenrepo" |
Zack Williams | 0a7ef16 | 2017-07-18 18:15:26 -0700 | [diff] [blame] | 103 | - "redis" |
Andy Bavier | 56b12b5 | 2017-08-03 11:46:42 -0700 | [diff] [blame] | 104 | - "node" |
Zack Williams | 0a7ef16 | 2017-07-18 18:15:26 -0700 | [diff] [blame] | 105 | |
| 106 | # Ansible Inventory |
| 107 | inventory_groups: |
| 108 | |
| 109 | config: |
| 110 | localhost: |
| 111 | ansible_connection: local |
| 112 | |
| 113 | build: |
Zack Williams | b0fa24a | 2017-10-23 22:46:19 -0700 | [diff] [blame] | 114 | head1: |
Zack Williams | 0a7ef16 | 2017-07-18 18:15:26 -0700 | [diff] [blame] | 115 | |
| 116 | head: |
Zack Williams | b0fa24a | 2017-10-23 22:46:19 -0700 | [diff] [blame] | 117 | head1: |
Zack Williams | 0a7ef16 | 2017-07-18 18:15:26 -0700 | [diff] [blame] | 118 | |
| 119 | compute: |
| 120 | |