diff options
author | Harry Huang <huangxiangyu5@huawei.com> | 2017-11-07 15:30:51 +0800 |
---|---|---|
committer | Harry Huang <huangxiangyu5@huawei.com> | 2017-12-21 15:35:12 +0800 |
commit | a360411cb8c775dffa24a4157cec2b566cbde6f3 (patch) | |
tree | 400e879a6f6779c294d7f2113c05b29d5578cff3 /util/docker-compose/roles/compass/templates/named.template.j2 | |
parent | 4074d39e93d7e7697dd2aaad2e08433ca0a60221 (diff) |
Add compass-docker-compose
1. Add ansible for docker compose containerized
compass
2. deploy/conf/compass.conf no longer specify
image tags for runtime. build.yaml now is added
into compass tarball to be the only place determine
image tags
3. This patch is based on patch:
https://gerrit.opnfv.org/gerrit/#/c/47393/
use merged compass-tasks
4. Tempoarily using private docker repo for
compass-tasks. Switch to opnfv repo when patch
https://gerrit.opnfv.org/gerrit/#/c/47329/
is merged
5. Modify ansible callback module accrodingly
Change-Id: I0728a9002a1cc7804c9e8f13bd1afdccb684a159
Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
Diffstat (limited to 'util/docker-compose/roles/compass/templates/named.template.j2')
-rwxr-xr-x | util/docker-compose/roles/compass/templates/named.template.j2 | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/util/docker-compose/roles/compass/templates/named.template.j2 b/util/docker-compose/roles/compass/templates/named.template.j2 new file mode 100755 index 00000000..0cf76225 --- /dev/null +++ b/util/docker-compose/roles/compass/templates/named.template.j2 @@ -0,0 +1,31 @@ +options { + listen-on port 53 { {{ host_ip }}; }; + directory "/var/named"; + dump-file "/var/named/data/cache_dump.db"; + statistics-file "/var/named/data/named_stats.txt"; + memstatistics-file "/var/named/data/named_mem_stats.txt"; + allow-query { 127.0.0.0/8; {{ install_subnet }}/{{ install_prefix }}; }; + recursion yes; +}; + +logging { + channel default_debug { + file "data/named.run"; + severity dynamic; + }; +}; + +#for $zone in $forward_zones +zone "${zone}." { + type master; + file "$zone"; +}; + +#end for +#for $zone, $arpa in $reverse_zones +zone "${arpa}." { + type master; + file "$zone"; +}; + +#end for |