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 %} |
| 42 | BUILD_CORD_DIR = {{ build_cord_dir }} |
| 43 | {% endif %} |
| 44 | {% if skipTags is defined %} |
| 45 | ANSIBLE_ARGS += --skip-tags "{{ skipTags | join(",") }}" |
| 46 | {% endif %} |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 47 | |
| 48 | # Targets and prerequisties |
| 49 | {% if build_targets is defined %} |
| 50 | BUILD_TARGETS = $(M)/{{ build_targets | join(" $(M)/") }} |
| 51 | {% endif %} |
| 52 | {% if vagrant_up_prereqs is defined %} |
| 53 | VAGRANT_UP_PREREQS = $(M)/{{ vagrant_up_prereqs | join(" $(M)/") }} |
| 54 | {% endif %} |
Zack Williams | 9c4ef85 | 2017-09-05 16:14:04 -0700 | [diff] [blame] | 55 | {% if copy_cord_prereqs is defined %} |
| 56 | COPY_CORD_PREREQS = $(M)/{{ copy_cord_prereqs | join(" $(M)/") }} |
| 57 | {% endif %} |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 58 | {% if cord_config_prereqs is defined %} |
| 59 | CORD_CONFIG_PREREQS = $(M)/{{ cord_config_prereqs | join(" $(M)/") }} |
| 60 | {% endif %} |
| 61 | {% if copy_config_prereqs is defined %} |
| 62 | COPY_CONFIG_PREREQS = $(M)/{{ copy_config_prereqs | join(" $(M)/") }} |
| 63 | {% endif %} |
| 64 | {% if prep_buildnode_prereqs is defined %} |
| 65 | PREP_BUILDNODE_PREREQS = $(M)/{{ prep_buildnode_prereqs | join(" $(M)/") }} |
| 66 | {% endif %} |
| 67 | {% if prep_headnode_prereqs is defined %} |
| 68 | PREP_HEADNODE_PREREQS = $(M)/{{ prep_headnode_prereqs | join(" $(M)/") }} |
| 69 | {% endif %} |
Zack Williams | a5fcefd | 2017-07-27 22:06:33 -0700 | [diff] [blame] | 70 | {% if docker_images_prereqs is defined %} |
| 71 | DOCKER_IMAGES_PREREQS = $(M)/{{ docker_images_prereqs | join(" $(M)/") }} |
| 72 | {% endif %} |
Zack Williams | 0a7ef16 | 2017-07-18 18:15:26 -0700 | [diff] [blame] | 73 | {% if start_xos_prereqs is defined %} |
| 74 | START_XOS_PREREQS = $(M)/{{ start_xos_prereqs | join(" $(M)/") }} |
| 75 | {% endif %} |
Zack Williams | ca31922 | 2017-10-04 23:13:26 -0700 | [diff] [blame] | 76 | {% if build_onos_apps_prereqs is defined %} |
| 77 | BUILD_ONOS_APPS_PREREQS = $(M)/{{ build_onos_apps_prereqs | join(" $(M)/") }} |
| 78 | {% endif %} |
Zack Williams | 0a7ef16 | 2017-07-18 18:15:26 -0700 | [diff] [blame] | 79 | {% if deploy_onos_prereqs is defined %} |
| 80 | DEPLOY_ONOS_PREREQS = $(M)/{{ deploy_onos_prereqs | join(" $(M)/") }} |
| 81 | {% endif %} |
Andy Bavier | afaa530 | 2017-08-15 08:56:15 -0700 | [diff] [blame] | 82 | {% if deploy_mavenrepo_prereqs is defined %} |
| 83 | DEPLOY_MAVENREPO_PREREQS = $(M)/{{ deploy_mavenrepo_prereqs | join(" $(M)/") }} |
| 84 | {% endif %} |
Andy Bavier | 35d238e | 2017-07-24 16:47:22 -0700 | [diff] [blame] | 85 | {% if deploy_openstack_prereqs is defined %} |
| 86 | DEPLOY_OPENSTACK_PREREQS = $(M)/{{ deploy_openstack_prereqs | join(" $(M)/") }} |
| 87 | {% endif %} |
| 88 | {% if setup_automation_prereqs is defined %} |
| 89 | SETUP_AUTOMATION_PREREQS = $(M)/{{ setup_automation_prereqs | join(" $(M)/") }} |
| 90 | {% endif %} |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 91 | |