Matteo Scandolo | 60b640f | 2017-08-08 13:05:22 -0700 | [diff] [blame^] | 1 | |
| 2 | {# |
| 3 | Copyright 2017-present Open Networking Foundation |
| 4 | |
| 5 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | you may not use this file except in compliance with the License. |
| 7 | You may obtain a copy of the License at |
| 8 | |
| 9 | http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | |
| 11 | Unless required by applicable law or agreed to in writing, software |
| 12 | distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | See the License for the specific language governing permissions and |
| 15 | limitations under the License. |
| 16 | #} |
| 17 | |
| 18 | |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 19 | # config.mk - generated from ansible/roles/genconfig/templates/config.mk.j2 |
| 20 | # ** DO NOT EDIT THIS FILE MANUALLY! ** |
| 21 | # Edit the Pod Config (or Scenario) and rerun `make config` to regenerate it |
| 22 | |
Andy Bavier | 35d238e | 2017-07-24 16:47:22 -0700 | [diff] [blame] | 23 | # Needed for MaaS, not settable |
| 24 | DOCKER_REGISTRY = docker-registry:5000 |
| 25 | |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 26 | # Scenario specific config |
| 27 | {% if vagrant_vms is defined %} |
| 28 | VAGRANT_VMS = {{ vagrant_vms | join(' ') }} |
| 29 | {% endif %} |
| 30 | {% if headnode is defined %} |
| 31 | HEADNODE = {{ headnode }} |
| 32 | {% endif %} |
| 33 | {% if buildnode is defined %} |
| 34 | BUILDNODE = {{ buildnode }} |
| 35 | {% endif %} |
Andy Bavier | 35d238e | 2017-07-24 16:47:22 -0700 | [diff] [blame] | 36 | {% if deploy_docker_registry is defined %} |
| 37 | DEPLOY_DOCKER_REGISTRY = {{ deploy_docker_registry }} |
| 38 | {% endif %} |
| 39 | {% if deploy_docker_tag is defined %} |
| 40 | DEPLOY_DOCKER_TAG = {{ deploy_docker_tag }} |
| 41 | {% endif %} |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 42 | {% if deploy_docker_tag is defined %} |
| 43 | DEPLOY_DOCKER_TAG = {{ deploy_docker_tag }} |
| 44 | {% endif %} |
| 45 | {% if config_cord_profile_dir is defined %} |
| 46 | CONFIG_CORD_PROFILE_DIR = {{ config_cord_profile_dir }} |
| 47 | {% endif %} |
Andy Bavier | 35d238e | 2017-07-24 16:47:22 -0700 | [diff] [blame] | 48 | {% if build_cord_dir is defined %} |
| 49 | BUILD_CORD_DIR = {{ build_cord_dir }} |
| 50 | {% endif %} |
| 51 | {% if skipTags is defined %} |
| 52 | ANSIBLE_ARGS += --skip-tags "{{ skipTags | join(",") }}" |
| 53 | {% endif %} |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 54 | |
| 55 | # Targets and prerequisties |
| 56 | {% if build_targets is defined %} |
| 57 | BUILD_TARGETS = $(M)/{{ build_targets | join(" $(M)/") }} |
| 58 | {% endif %} |
| 59 | {% if vagrant_up_prereqs is defined %} |
| 60 | VAGRANT_UP_PREREQS = $(M)/{{ vagrant_up_prereqs | join(" $(M)/") }} |
| 61 | {% endif %} |
| 62 | {% if cord_config_prereqs is defined %} |
| 63 | CORD_CONFIG_PREREQS = $(M)/{{ cord_config_prereqs | join(" $(M)/") }} |
| 64 | {% endif %} |
| 65 | {% if copy_config_prereqs is defined %} |
| 66 | COPY_CONFIG_PREREQS = $(M)/{{ copy_config_prereqs | join(" $(M)/") }} |
| 67 | {% endif %} |
| 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 | a5fcefd | 2017-07-27 22:06:33 -0700 | [diff] [blame] | 74 | {% if docker_images_prereqs is defined %} |
| 75 | DOCKER_IMAGES_PREREQS = $(M)/{{ docker_images_prereqs | join(" $(M)/") }} |
| 76 | {% endif %} |
Zack Williams | 0a7ef16 | 2017-07-18 18:15:26 -0700 | [diff] [blame] | 77 | {% if start_xos_prereqs is defined %} |
| 78 | START_XOS_PREREQS = $(M)/{{ start_xos_prereqs | join(" $(M)/") }} |
| 79 | {% endif %} |
| 80 | {% if deploy_onos_prereqs is defined %} |
| 81 | DEPLOY_ONOS_PREREQS = $(M)/{{ deploy_onos_prereqs | join(" $(M)/") }} |
| 82 | {% endif %} |
Andy Bavier | 35d238e | 2017-07-24 16:47:22 -0700 | [diff] [blame] | 83 | {% if deploy_openstack_prereqs is defined %} |
| 84 | DEPLOY_OPENSTACK_PREREQS = $(M)/{{ deploy_openstack_prereqs | join(" $(M)/") }} |
| 85 | {% endif %} |
| 86 | {% if setup_automation_prereqs is defined %} |
| 87 | SETUP_AUTOMATION_PREREQS = $(M)/{{ setup_automation_prereqs | join(" $(M)/") }} |
| 88 | {% endif %} |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 89 | |