blob: 9bfb0fa03eee2affa9558adc24c9789b3ac644dd [file] [log] [blame]
Matteo Scandolo60b640f2017-08-08 13:05:22 -07001{#
2Copyright 2017-present Open Networking Foundation
3
4Licensed under the Apache License, Version 2.0 (the "License");
5you may not use this file except in compliance with the License.
6You may obtain a copy of the License at
7
8http://www.apache.org/licenses/LICENSE-2.0
9
10Unless required by applicable law or agreed to in writing, software
11distributed under the License is distributed on an "AS IS" BASIS,
12WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13See the License for the specific language governing permissions and
14limitations under the License.
15#}
Zack Williamsce63eb02017-02-28 10:46:22 -070016# 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 %}
22VAGRANT_VMS = {{ vagrant_vms | join(' ') }}
23{% endif %}
24{% if headnode is defined %}
25HEADNODE = {{ headnode }}
26{% endif %}
27{% if buildnode is defined %}
28BUILDNODE = {{ buildnode }}
29{% endif %}
Andy Bavier35d238e2017-07-24 16:47:22 -070030{% if deploy_docker_registry is defined %}
31DEPLOY_DOCKER_REGISTRY = {{ deploy_docker_registry }}
Andy Bavierafaa5302017-08-15 08:56:15 -070032# For MAAS
33DOCKER_REGISTRY = {{ deploy_docker_registry }}
Andy Bavier35d238e2017-07-24 16:47:22 -070034{% endif %}
Zack Williamsce63eb02017-02-28 10:46:22 -070035{% if deploy_docker_tag is defined %}
36DEPLOY_DOCKER_TAG = {{ deploy_docker_tag }}
37{% endif %}
38{% if config_cord_profile_dir is defined %}
39CONFIG_CORD_PROFILE_DIR = {{ config_cord_profile_dir }}
40{% endif %}
Andy Bavier35d238e2017-07-24 16:47:22 -070041{% if build_cord_dir is defined %}
42BUILD_CORD_DIR = {{ build_cord_dir }}
43{% endif %}
nosignald4109352017-10-19 17:46:44 +080044{% if skipTags is defined and skipTags %}
Andy Bavier35d238e2017-07-24 16:47:22 -070045ANSIBLE_ARGS += --skip-tags "{{ skipTags | join(",") }}"
46{% endif %}
Zack Williamsce63eb02017-02-28 10:46:22 -070047
48# Targets and prerequisties
49{% if build_targets is defined %}
50BUILD_TARGETS = $(M)/{{ build_targets | join(" $(M)/") }}
51{% endif %}
52{% if vagrant_up_prereqs is defined %}
53VAGRANT_UP_PREREQS = $(M)/{{ vagrant_up_prereqs | join(" $(M)/") }}
54{% endif %}
Zack Williams39c9aa92017-10-17 08:35:00 -070055{% if config_ssh_key_prereqs is defined %}
56CONFIG_SSH_KEY_PREREQS = $(M)/{{ config_ssh_key_prereqs | join(" $(M)/") }}
57{% endif %}
Zack Williams2b26e562017-09-05 16:14:04 -070058{% if copy_cord_prereqs is defined %}
59COPY_CORD_PREREQS = $(M)/{{ copy_cord_prereqs | join(" $(M)/") }}
60{% endif %}
Zack Williamsce63eb02017-02-28 10:46:22 -070061{% if cord_config_prereqs is defined %}
62CORD_CONFIG_PREREQS = $(M)/{{ cord_config_prereqs | join(" $(M)/") }}
63{% endif %}
Zack Williamsce63eb02017-02-28 10:46:22 -070064{% if prep_buildnode_prereqs is defined %}
65PREP_BUILDNODE_PREREQS = $(M)/{{ prep_buildnode_prereqs | join(" $(M)/") }}
66{% endif %}
67{% if prep_headnode_prereqs is defined %}
68PREP_HEADNODE_PREREQS = $(M)/{{ prep_headnode_prereqs | join(" $(M)/") }}
69{% endif %}
Zack Williamsa5fcefd2017-07-27 22:06:33 -070070{% if docker_images_prereqs is defined %}
71DOCKER_IMAGES_PREREQS = $(M)/{{ docker_images_prereqs | join(" $(M)/") }}
72{% endif %}
Zack Williams0a7ef162017-07-18 18:15:26 -070073{% if start_xos_prereqs is defined %}
74START_XOS_PREREQS = $(M)/{{ start_xos_prereqs | join(" $(M)/") }}
75{% endif %}
Zack Williams8845ee52017-10-04 23:13:26 -070076{% if build_onos_apps_prereqs is defined %}
77BUILD_ONOS_APPS_PREREQS = $(M)/{{ build_onos_apps_prereqs | join(" $(M)/") }}
78{% endif %}
Zack Williams0a7ef162017-07-18 18:15:26 -070079{% if deploy_onos_prereqs is defined %}
80DEPLOY_ONOS_PREREQS = $(M)/{{ deploy_onos_prereqs | join(" $(M)/") }}
81{% endif %}
Andy Bavierafaa5302017-08-15 08:56:15 -070082{% if deploy_mavenrepo_prereqs is defined %}
83DEPLOY_MAVENREPO_PREREQS = $(M)/{{ deploy_mavenrepo_prereqs | join(" $(M)/") }}
84{% endif %}
Andy Bavier35d238e2017-07-24 16:47:22 -070085{% if deploy_openstack_prereqs is defined %}
86DEPLOY_OPENSTACK_PREREQS = $(M)/{{ deploy_openstack_prereqs | join(" $(M)/") }}
87{% endif %}
88{% if setup_automation_prereqs is defined %}
89SETUP_AUTOMATION_PREREQS = $(M)/{{ setup_automation_prereqs | join(" $(M)/") }}
90{% endif %}
Zack Williamsce63eb02017-02-28 10:46:22 -070091