blob: 1d3f916987b22b2c51710d112d2961a2d967fc08 [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 Williamsa7104e32018-01-03 10:55:26 -070070{% if prep_kubespray_prereqs is defined %}
71PREP_KUBESPRAY_PREREQS = $(M)/{{ prep_kubespray_prereqs | join(" $(M)/") }}
72{% endif %}
Zack Williamsa5fcefd2017-07-27 22:06:33 -070073{% if docker_images_prereqs is defined %}
74DOCKER_IMAGES_PREREQS = $(M)/{{ docker_images_prereqs | join(" $(M)/") }}
75{% endif %}
Zack Williams9f42b972018-01-10 15:05:35 -070076{% if publish_docker_images_prereqs is defined %}
77PUBLISH_DOCKER_IMAGES_PREREQS = $(M)/{{ publish_docker_images_prereqs | join(" $(M)/") }}
78{% endif %}
Zack Williams0a7ef162017-07-18 18:15:26 -070079{% if start_xos_prereqs is defined %}
80START_XOS_PREREQS = $(M)/{{ start_xos_prereqs | join(" $(M)/") }}
81{% endif %}
82{% if deploy_onos_prereqs is defined %}
83DEPLOY_ONOS_PREREQS = $(M)/{{ deploy_onos_prereqs | join(" $(M)/") }}
84{% endif %}
Andy Bavierafaa5302017-08-15 08:56:15 -070085{% if deploy_mavenrepo_prereqs is defined %}
86DEPLOY_MAVENREPO_PREREQS = $(M)/{{ deploy_mavenrepo_prereqs | join(" $(M)/") }}
87{% endif %}
Andy Bavier35d238e2017-07-24 16:47:22 -070088{% if deploy_openstack_prereqs is defined %}
89DEPLOY_OPENSTACK_PREREQS = $(M)/{{ deploy_openstack_prereqs | join(" $(M)/") }}
90{% endif %}
Zack Williamsba3e2462018-01-19 11:52:31 -070091{% if onboard_openstack_prereqs is defined %}
92ONBOARD_OPENSTACK_PREREQS = $(M)/{{ onboard_openstack_prereqs | join(" $(M)/") }}
93{% endif %}
Andy Bavier35d238e2017-07-24 16:47:22 -070094{% if setup_automation_prereqs is defined %}
95SETUP_AUTOMATION_PREREQS = $(M)/{{ setup_automation_prereqs | join(" $(M)/") }}
96{% endif %}
Zack Williamsba3e2462018-01-19 11:52:31 -070097{% if testing_prereqs is defined %}
98TESTING_PREREQS = $(M)/{{ testing_prereqs | join(" $(M)/") }}
99{% endif %}
Zack Williamsce63eb02017-02-28 10:46:22 -0700100