Last change
on this file since 14194 was
14194,
checked in by sil, 12 years ago
|
Merged branch 1.0 (until tag 1.0.0) back to trunk
|
File size:
682 bytes
|
Line | |
---|
1 | # This file is automagicly generated by CMT |
---|
2 | # |
---|
3 | # SARA |
---|
4 | # Date : Fri, 6 Jul 2012 |
---|
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.