Matteo Scandolo | 60b640f | 2017-08-08 13:05:22 -0700 | [diff] [blame] | 1 | {# |
| 2 | Copyright 2017-present Open Networking Foundation |
| 3 | |
| 4 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | you may not use this file except in compliance with the License. |
| 6 | You may obtain a copy of the License at |
| 7 | |
| 8 | http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | |
| 10 | Unless required by applicable law or agreed to in writing, software |
| 11 | distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | See the License for the specific language governing permissions and |
| 14 | limitations under the License. |
| 15 | #} |
| 16 | |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 17 | ; 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() %} |
gopinath | 9b8850d | 2017-08-25 18:02:12 -0700 | [diff] [blame] | 24 | {{ g_key }}{% if g_val %} {% for key, val in g_val.iteritems() %}{{ key ~ "=" ~ val ~ " "}}{% endfor %}{% endif %} |
Zack Williams | a5fcefd | 2017-07-27 22:06:33 -0700 | [diff] [blame] | 25 | |
Zack Williams | ce63eb0 | 2017-02-28 10:46:22 -0700 | [diff] [blame] | 26 | {% 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 | |