blob: ba4b7f57fac09851e223964d64baad70760e2c22 [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#}
16
Zack Williamsce63eb02017-02-28 10:46:22 -070017; inventory.ini, generated from ansible/roles/genconfig/templates/inventory.ini.j2
18; ** DO NOT EDIT THIS FILE MANUALLY! **
19; Edit the Pod Config (or Scenario) and rerun `make config` to regenerate it
20
21{% macro group_template(groupname) %}
22{% if inventory_groups[groupname] %}
23{% for g_key, g_val in inventory_groups[groupname].iteritems() %}
gopinath9b8850d2017-08-25 18:02:12 -070024{{ g_key }}{% if g_val %} {% for key, val in g_val.iteritems() %}{{ key ~ "=" ~ val ~ " "}}{% endfor %}{% endif %}
Zack Williamsa5fcefd2017-07-27 22:06:33 -070025
Zack Williamsce63eb02017-02-28 10:46:22 -070026{% endfor %}
27{% endif %}
28{% endmacro %}
29
30[config]
31{{ group_template('config') }}
32
33[build]
34{{ group_template('build') }}
35
36[head]
37{{ group_template('head') }}
38
39[compute]
40{{ group_template('compute') }}
41