diff options
author | Kristian Lyngstol <kly@kly.no> | 2016-11-07 19:58:47 +0100 |
---|---|---|
committer | Kristian Lyngstol <kly@kly.no> | 2016-11-07 19:58:47 +0100 |
commit | fc1b028e555a3703fbc643965620dea919f3fe19 (patch) | |
tree | 5b39a3e9f942cd17172f9803872d310bbf21e8cb /templating/templates | |
parent | af7409a81be08a4e5b25adf0f1afb41fedce5e12 (diff) |
Add basic templating engine
It works fine.
Build scaffolding incoming
Diffstat (limited to 'templating/templates')
-rw-r--r-- | templating/templates/switches.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/templating/templates/switches.txt b/templating/templates/switches.txt new file mode 100644 index 0000000..957df02 --- /dev/null +++ b/templating/templates/switches.txt @@ -0,0 +1,2 @@ +{% for switch in objects["public/switches"].switches %}Switch {{ switch }}: {{ objects["read/switches-management"].switches[switch].mgmt_v4_addr }} +{% endfor %} |