blob: 7e4aeab3a96ae0238aa542195bcaab39394d958a [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
Andy Bavier35d238e2017-07-24 16:47:22 -070023# Needed for MaaS, not settable
24DOCKER_REGISTRY = docker-registry:5000
25
Zack Williamsce63eb02017-02-28 10:46:22 -070026# Scenario specific config
27{% if vagrant_vms is defined %}
28VAGRANT_VMS = {{ vagrant_vms | join(' ') }}
29{% endif %}
30{% if headnode is defined %}
31HEADNODE = {{ headnode }}
32{% endif %}
33{% if buildnode is defined %}
34BUILDNODE = {{ buildnode }}
35{% endif %}
Andy Bavier35d238e2017-07-24 16:47:22 -070036{% if deploy_docker_registry is defined %}
37DEPLOY_DOCKER_REGISTRY = {{ deploy_docker_registry }}
38{% endif %}
39{% if deploy_docker_tag is defined %}
40DEPLOY_DOCKER_TAG = {{ deploy_docker_tag }}
41{% endif %}
Zack Williamsce63eb02017-02-28 10:46:22 -070042{% if deploy_docker_tag is defined %}
43DEPLOY_DOCKER_TAG = {{ deploy_docker_tag }}
44{% endif %}
45{% if config_cord_profile_dir is defined %}
46CONFIG_CORD_PROFILE_DIR = {{ config_cord_profile_dir }}
47{% endif %}
Andy Bavier35d238e2017-07-24 16:47:22 -070048{% if build_cord_dir is defined %}
49BUILD_CORD_DIR = {{ build_cord_dir }}
50{% endif %}
51{% if skipTags is defined %}
52ANSIBLE_ARGS += --skip-tags "{{ skipTags | join(",") }}"
53{% endif %}
Zack Williamsce63eb02017-02-28 10:46:22 -070054
55# Targets and prerequisties
56{% if build_targets is defined %}
57BUILD_TARGETS = $(M)/{{ build_targets | join(" $(M)/") }}
58{% endif %}
59{% if vagrant_up_prereqs is defined %}
60VAGRANT_UP_PREREQS = $(M)/{{ vagrant_up_prereqs | join(" $(M)/") }}
61{% endif %}
62{% if cord_config_prereqs is defined %}
63CORD_CONFIG_PREREQS = $(M)/{{ cord_config_prereqs | join(" $(M)/") }}
64{% endif %}
65{% if copy_config_prereqs is defined %}
66COPY_CONFIG_PREREQS = $(M)/{{ copy_config_prereqs | join(" $(M)/") }}
67{% endif %}
68{% if prep_buildnode_prereqs is defined %}
69PREP_BUILDNODE_PREREQS = $(M)/{{ prep_buildnode_prereqs | join(" $(M)/") }}
70{% endif %}
71{% if prep_headnode_prereqs is defined %}
72PREP_HEADNODE_PREREQS = $(M)/{{ prep_headnode_prereqs | join(" $(M)/") }}
73{% endif %}
Zack Williamsa5fcefd2017-07-27 22:06:33 -070074{% if docker_images_prereqs is defined %}
75DOCKER_IMAGES_PREREQS = $(M)/{{ docker_images_prereqs | join(" $(M)/") }}
76{% endif %}
Zack Williams0a7ef162017-07-18 18:15:26 -070077{% if start_xos_prereqs is defined %}
78START_XOS_PREREQS = $(M)/{{ start_xos_prereqs | join(" $(M)/") }}
79{% endif %}
80{% if deploy_onos_prereqs is defined %}
81DEPLOY_ONOS_PREREQS = $(M)/{{ deploy_onos_prereqs | join(" $(M)/") }}
82{% endif %}
Andy Bavier35d238e2017-07-24 16:47:22 -070083{% if deploy_openstack_prereqs is defined %}
84DEPLOY_OPENSTACK_PREREQS = $(M)/{{ deploy_openstack_prereqs | join(" $(M)/") }}
85{% endif %}
86{% if setup_automation_prereqs is defined %}
87SETUP_AUTOMATION_PREREQS = $(M)/{{ setup_automation_prereqs | join(" $(M)/") }}
88{% endif %}
Zack Williamsce63eb02017-02-28 10:46:22 -070089