blob: ef2351b288c5aa2663c34c158d93e03b9a5f6de8 [file] [log] [blame]
Matteo Scandolo60b640f2017-08-08 13:05:22 -07001
2{#
3Copyright 2017-present Open Networking Foundation
4
5Licensed under the Apache License, Version 2.0 (the "License");
6you may not use this file except in compliance with the License.
7You may obtain a copy of the License at
8
9http://www.apache.org/licenses/LICENSE-2.0
10
11Unless required by applicable law or agreed to in writing, software
12distributed under the License is distributed on an "AS IS" BASIS,
13WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14See the License for the specific language governing permissions and
15limitations under the License.
16#}
17
18
Zack Williamsce63eb02017-02-28 10:46:22 -070019# 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
23# Scenario specific config
24{% if vagrant_vms is defined %}
25VAGRANT_VMS = {{ vagrant_vms | join(' ') }}
26{% endif %}
27{% if headnode is defined %}
28HEADNODE = {{ headnode }}
29{% endif %}
30{% if buildnode is defined %}
31BUILDNODE = {{ buildnode }}
32{% endif %}
Andy Bavier35d238e2017-07-24 16:47:22 -070033{% if deploy_docker_registry is defined %}
34DEPLOY_DOCKER_REGISTRY = {{ deploy_docker_registry }}
Andy Bavierafaa5302017-08-15 08:56:15 -070035# For MAAS
36DOCKER_REGISTRY = {{ deploy_docker_registry }}
Andy Bavier35d238e2017-07-24 16:47:22 -070037{% endif %}
Zack Williamsce63eb02017-02-28 10:46:22 -070038{% if deploy_docker_tag is defined %}
39DEPLOY_DOCKER_TAG = {{ deploy_docker_tag }}
40{% endif %}
41{% if config_cord_profile_dir is defined %}
42CONFIG_CORD_PROFILE_DIR = {{ config_cord_profile_dir }}
43{% endif %}
Andy Bavier35d238e2017-07-24 16:47:22 -070044{% if build_cord_dir is defined %}
45BUILD_CORD_DIR = {{ build_cord_dir }}
46{% endif %}
47{% if skipTags is defined %}
48ANSIBLE_ARGS += --skip-tags "{{ skipTags | join(",") }}"
49{% endif %}
Zack Williamsce63eb02017-02-28 10:46:22 -070050
51# Targets and prerequisties
52{% if build_targets is defined %}
53BUILD_TARGETS = $(M)/{{ build_targets | join(" $(M)/") }}
54{% endif %}
55{% if vagrant_up_prereqs is defined %}
56VAGRANT_UP_PREREQS = $(M)/{{ vagrant_up_prereqs | join(" $(M)/") }}
57{% endif %}
58{% if cord_config_prereqs is defined %}
59CORD_CONFIG_PREREQS = $(M)/{{ cord_config_prereqs | join(" $(M)/") }}
60{% endif %}
61{% if copy_config_prereqs is defined %}
62COPY_CONFIG_PREREQS = $(M)/{{ copy_config_prereqs | join(" $(M)/") }}
63{% endif %}
64{% 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 %}
76{% if deploy_onos_prereqs is defined %}
77DEPLOY_ONOS_PREREQS = $(M)/{{ deploy_onos_prereqs | join(" $(M)/") }}
78{% endif %}
Andy Bavierafaa5302017-08-15 08:56:15 -070079{% if deploy_mavenrepo_prereqs is defined %}
80DEPLOY_MAVENREPO_PREREQS = $(M)/{{ deploy_mavenrepo_prereqs | join(" $(M)/") }}
81{% endif %}
Andy Bavier35d238e2017-07-24 16:47:22 -070082{% if deploy_openstack_prereqs is defined %}
83DEPLOY_OPENSTACK_PREREQS = $(M)/{{ deploy_openstack_prereqs | join(" $(M)/") }}
84{% endif %}
85{% if setup_automation_prereqs is defined %}
86SETUP_AUTOMATION_PREREQS = $(M)/{{ setup_automation_prereqs | join(" $(M)/") }}
87{% endif %}
Zack Williamsce63eb02017-02-28 10:46:22 -070088