diff options
Diffstat (limited to 'web/templates/switches.txt')
-rw-r--r-- | web/templates/switches.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/web/templates/switches.txt b/web/templates/switches.txt new file mode 100644 index 0000000..0cc203b --- /dev/null +++ b/web/templates/switches.txt @@ -0,0 +1,7 @@ +{% for switch in objects["public/switches"].switches %} + {% set mg = objects["read/switches-management"].switches[switch] %} + {% set s = objects["public/switches"].switches[switch] %} + {% if mg.subnet4 -%} + {{ switch }} {{mg.subnet4 }} {{ mg.subnet6 }} {{ mg.mgmt_v4_addr }} {{ mg.mgmt_v6_addr }} {{ mg.traffic_vlan }} {{ s.distro_name }} + {% endif %} +{% endfor %} |