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 | |
| 32 | vagrant_vms: |
| 33 | - headnode |
| 34 | |
| 35 | buildnode: headnode |
| 36 | headnode: headnode |
| 37 | |
| 38 | physical_node_list: |
| 39 | - name: headnode |
| 40 | ipv4_last_octet: 1 |
| 41 | aliases: |
| 42 | - head |
| 43 | |
| 44 | # make targets |
| 45 | build_targets: |
| 46 | - onboard-profile |
| 47 | |
| 48 | prep_headnode_prereqs: |
| 49 | - prep-buildnode |
| 50 | |
Zack Williams | a5fcefd | 2017-07-27 22:06:33 -0700 | [diff] [blame] | 51 | docker_images_prereqs: |
| 52 | - prep-headnode |
| 53 | |
Zack Williams | 0a7ef16 | 2017-07-18 18:15:26 -0700 | [diff] [blame] | 54 | # single scenario configuration |
| 55 | frontend_only: False |
| 56 | use_maas: False |
| 57 | use_apt_cache: False |
| 58 | use_openstack: False |
Zack Williams | a5fcefd | 2017-07-27 22:06:33 -0700 | [diff] [blame] | 59 | create_configdirs_become: False |
Zack Williams | 0a7ef16 | 2017-07-18 18:15:26 -0700 | [diff] [blame] | 60 | xos_images: [] |
| 61 | |
| 62 | # whitelist of images for imagebuilder to build/pull (tagged elsewhere) |
| 63 | docker_image_whitelist: |
| 64 | - "xosproject/xos-base" |
| 65 | - "xosproject/xos" |
| 66 | - "xosproject/xos-client" |
| 67 | - "xosproject/xos-corebuilder" |
| 68 | - "xosproject/xos-gui" |
| 69 | - "xosproject/xos-gui-extension-builder" |
| 70 | - "xosproject/xos-libraries" |
| 71 | - "xosproject/xos-postgres" |
| 72 | - "xosproject/xos-tosca" |
| 73 | - "xosproject/xos-ws" |
| 74 | - "xosproject/chameleon" |
| 75 | - "xosproject/gui-extension-rcord" |
| 76 | - "xosproject/gui-extension-sample" |
Zack Williams | 58e4157 | 2017-09-29 07:57:14 -0700 | [diff] [blame] | 77 | - "xosproject/gui-extension-vnaas" |
Zack Williams | 0a7ef16 | 2017-07-18 18:15:26 -0700 | [diff] [blame] | 78 | - "xosproject/gui-extension-vtr" |
| 79 | - "xosproject/xos-synchronizer-base" |
Scott Baker | bd37a06 | 2017-09-08 13:51:55 -0700 | [diff] [blame] | 80 | - "xosproject/addressmanager-synchronizer" |
Zack Williams | 0a7ef16 | 2017-07-18 18:15:26 -0700 | [diff] [blame] | 81 | - "xosproject/exampleservice-synchronizer" |
| 82 | - "xosproject/fabric-synchronizer" |
| 83 | - "xosproject/onos-synchronizer" |
| 84 | - "xosproject/openstack-synchronizer" |
Zack Williams | 58e4157 | 2017-09-29 07:57:14 -0700 | [diff] [blame] | 85 | - "xosproject/vee-synchronizer" |
| 86 | - "xosproject/veg-synchronizer" |
| 87 | - "xosproject/vnaas-synchronizer" |
Zack Williams | 0a7ef16 | 2017-07-18 18:15:26 -0700 | [diff] [blame] | 88 | - "xosproject/volt-synchronizer" |
| 89 | - "xosproject/vrouter-synchronizer" |
| 90 | - "xosproject/vsg-synchronizer" |
| 91 | - "xosproject/vtn-synchronizer" |
| 92 | - "xosproject/vtr-synchronizer" |
| 93 | - "gliderlabs/consul-server" |
| 94 | - "gliderlabs/registrator" |
| 95 | - "nginx" |
| 96 | - "onosproject/onos" |
| 97 | - "redis" |
Andy Bavier | 56b12b5 | 2017-08-03 11:46:42 -0700 | [diff] [blame] | 98 | - "node" |
Zack Williams | 0a7ef16 | 2017-07-18 18:15:26 -0700 | [diff] [blame] | 99 | |
| 100 | # Ansible Inventory |
| 101 | inventory_groups: |
| 102 | |
| 103 | config: |
| 104 | localhost: |
| 105 | ansible_connection: local |
| 106 | |
| 107 | build: |
| 108 | headnode: |
| 109 | |
| 110 | head: |
| 111 | headnode: |
| 112 | |
| 113 | compute: |
| 114 | |