Matteo Scandolo | 60b640f | 2017-08-08 13:05:22 -0700 | [diff] [blame] | 1 | {# |
| 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 | # config.mk - generated from ansible/roles/genconfig/templates/config.mk.j2 |
| 17 | # ** DO NOT EDIT THIS FILE MANUALLY! ** |
| 18 | # Edit the Pod Config (or Scenario) and rerun `make config` to regenerate it |
| 19 | |
| 20 | # Scenario specific config |
| 21 | {% if vagrant_vms is defined %} |
| 22 | VAGRANT_VMS = {{ vagrant_vms | join(' ') }} |
| 23 | {% endif %} |
| 24 | {% if headnode is defined %} |
| 25 | HEADNODE = {{ headnode }} |
| 26 | {% endif %} |
| 27 | {% if buildnode is defined %} |
| 28 | BUILDNODE = {{ buildnode }} |
| 29 | {% endif %} |
Andy Bavier | 35d238e | 2017-07-24 16:47:22 -0700 | [diff] [blame] | 30 | {% if deploy_docker_registry is defined %} |
| 31 | DEPLOY_DOCKER_REGISTRY = {{ deploy_docker_registry }} |
Andy Bavier | afaa530 | 2017-08-15 08:56:15 -0700 | [diff] [blame] | 32 | # For MAAS |
| 33 | DOCKER_REGISTRY = {{ deploy_docker_registry }} |
Andy Bavier | 35d238e | 2017-07-24 16:47:22 -0700 | [diff] [blame] | 34 | {% endif %} |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 35 | {% if deploy_docker_tag is defined %} |
| 36 | DEPLOY_DOCKER_TAG = {{ deploy_docker_tag }} |
| 37 | {% endif %} |
| 38 | {% if config_cord_profile_dir is defined %} |
| 39 | CONFIG_CORD_PROFILE_DIR = {{ config_cord_profile_dir }} |
| 40 | {% endif %} |
Andy Bavier | 35d238e | 2017-07-24 16:47:22 -0700 | [diff] [blame] | 41 | {% if build_cord_dir is defined %} |
Zack Williams | 7b9f0c5 | 2018-05-04 10:19:33 -0700 | [diff] [blame] | 42 | BUILD_CORD_DIR = {{ build_cord_dir }} |
Andy Bavier | 35d238e | 2017-07-24 16:47:22 -0700 | [diff] [blame] | 43 | {% endif %} |
nosignal | d410935 | 2017-10-19 17:46:44 +0800 | [diff] [blame] | 44 | {% if skipTags is defined and skipTags %} |
Zack Williams | 7b9f0c5 | 2018-05-04 10:19:33 -0700 | [diff] [blame] | 45 | ANSIBLE_ARGS += --skip-tags "{{ skipTags | join(",") }}" |
| 46 | {% endif %} |
| 47 | {% if master_config.xos_services is defined %} |
| 48 | {# openstack's models are in core, so it can't be dynamically loaded #} |
| 49 | DYNAMICLOAD_MODELS = {{ master_config.xos_services | rejectattr('name','equalto','openstack') | map(attribute='name') | join(' ') }} |
Andy Bavier | 35d238e | 2017-07-24 16:47:22 -0700 | [diff] [blame] | 50 | {% endif %} |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 51 | |
| 52 | # Targets and prerequisties |
| 53 | {% if build_targets is defined %} |
| 54 | BUILD_TARGETS = $(M)/{{ build_targets | join(" $(M)/") }} |
| 55 | {% endif %} |
| 56 | {% if vagrant_up_prereqs is defined %} |
| 57 | VAGRANT_UP_PREREQS = $(M)/{{ vagrant_up_prereqs | join(" $(M)/") }} |
| 58 | {% endif %} |
Zack Williams | 39c9aa9 | 2017-10-17 08:35:00 -0700 | [diff] [blame] | 59 | {% if config_ssh_key_prereqs is defined %} |
| 60 | CONFIG_SSH_KEY_PREREQS = $(M)/{{ config_ssh_key_prereqs | join(" $(M)/") }} |
| 61 | {% endif %} |
Zack Williams | 2b26e56 | 2017-09-05 16:14:04 -0700 | [diff] [blame] | 62 | {% if copy_cord_prereqs is defined %} |
| 63 | COPY_CORD_PREREQS = $(M)/{{ copy_cord_prereqs | join(" $(M)/") }} |
| 64 | {% endif %} |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 65 | {% if cord_config_prereqs is defined %} |
| 66 | CORD_CONFIG_PREREQS = $(M)/{{ cord_config_prereqs | join(" $(M)/") }} |
| 67 | {% endif %} |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 68 | {% if prep_buildnode_prereqs is defined %} |
| 69 | PREP_BUILDNODE_PREREQS = $(M)/{{ prep_buildnode_prereqs | join(" $(M)/") }} |
| 70 | {% endif %} |
| 71 | {% if prep_headnode_prereqs is defined %} |
| 72 | PREP_HEADNODE_PREREQS = $(M)/{{ prep_headnode_prereqs | join(" $(M)/") }} |
| 73 | {% endif %} |
Zack Williams | a7104e3 | 2018-01-03 10:55:26 -0700 | [diff] [blame] | 74 | {% if prep_kubespray_prereqs is defined %} |
| 75 | PREP_KUBESPRAY_PREREQS = $(M)/{{ prep_kubespray_prereqs | join(" $(M)/") }} |
| 76 | {% endif %} |
Zack Williams | a5fcefd | 2017-07-27 22:06:33 -0700 | [diff] [blame] | 77 | {% if docker_images_prereqs is defined %} |
| 78 | DOCKER_IMAGES_PREREQS = $(M)/{{ docker_images_prereqs | join(" $(M)/") }} |
| 79 | {% endif %} |
Zack Williams | 9f42b97 | 2018-01-10 15:05:35 -0700 | [diff] [blame] | 80 | {% if publish_docker_images_prereqs is defined %} |
| 81 | PUBLISH_DOCKER_IMAGES_PREREQS = $(M)/{{ publish_docker_images_prereqs | join(" $(M)/") }} |
| 82 | {% endif %} |
Zack Williams | 0a7ef16 | 2017-07-18 18:15:26 -0700 | [diff] [blame] | 83 | {% if start_xos_prereqs is defined %} |
| 84 | START_XOS_PREREQS = $(M)/{{ start_xos_prereqs | join(" $(M)/") }} |
| 85 | {% endif %} |
| 86 | {% if deploy_onos_prereqs is defined %} |
| 87 | DEPLOY_ONOS_PREREQS = $(M)/{{ deploy_onos_prereqs | join(" $(M)/") }} |
| 88 | {% endif %} |
Andy Bavier | afaa530 | 2017-08-15 08:56:15 -0700 | [diff] [blame] | 89 | {% if deploy_mavenrepo_prereqs is defined %} |
| 90 | DEPLOY_MAVENREPO_PREREQS = $(M)/{{ deploy_mavenrepo_prereqs | join(" $(M)/") }} |
| 91 | {% endif %} |
Andy Bavier | 35d238e | 2017-07-24 16:47:22 -0700 | [diff] [blame] | 92 | {% if deploy_openstack_prereqs is defined %} |
| 93 | DEPLOY_OPENSTACK_PREREQS = $(M)/{{ deploy_openstack_prereqs | join(" $(M)/") }} |
| 94 | {% endif %} |
Zack Williams | ba3e246 | 2018-01-19 11:52:31 -0700 | [diff] [blame] | 95 | {% if onboard_openstack_prereqs is defined %} |
| 96 | ONBOARD_OPENSTACK_PREREQS = $(M)/{{ onboard_openstack_prereqs | join(" $(M)/") }} |
| 97 | {% endif %} |
Andy Bavier | 35d238e | 2017-07-24 16:47:22 -0700 | [diff] [blame] | 98 | {% if setup_automation_prereqs is defined %} |
| 99 | SETUP_AUTOMATION_PREREQS = $(M)/{{ setup_automation_prereqs | join(" $(M)/") }} |
| 100 | {% endif %} |
Zack Williams | ba3e246 | 2018-01-19 11:52:31 -0700 | [diff] [blame] | 101 | {% if testing_prereqs is defined %} |
| 102 | TESTING_PREREQS = $(M)/{{ testing_prereqs | join(" $(M)/") }} |
| 103 | {% endif %} |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 104 | |