source: branches/1.0/sara_cmt/templates/examples/simple_cnames.cmt @ 14184

Last change on this file since 14184 was 14184, checked in by ramonb, 12 years ago
  • more example changes
File size: 724 bytes
Line 
1# This file is automagicly generated by SARA CMT
2#
3#               SARA - Computing and Networking Services
4# Date        : Wed, 18 Aug 2010
5# Version     : {{ version }}
6# Generated   : {% now "r" %}
7#
8# Description : This is an ISC DHCP v3 configuration file.
9#
10# SVN:
11#       {{ svn_id }}
12#       {{ svn_url }}
13#
14{% load cmt_client %}
15
16{% store '/tmp/simple_cnames_example.txt' %}
17
18{% use hardwareunit with 'rack=31' as machines %}
19
20{% noblanklines %}
21{% for machine in machines %}
22{% for iface in machine.interfaces.all %}
23{{ iface }}
24{% if iface.cnames != None %}
25{% for cname in iface.cnames %}
26--> {{ iface }} :CNAME: {{cname}}
27{% endfor %}
28{% endif %}
29{% endfor %}
30{% endfor %}
31{% endnoblanklines %}
32
33{% endstore %}
Note: See TracBrowser for help on using the repository browser.