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