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