blob: 19cc84cf7fafca9f48ceef54383ccfa399060f86 [file] [log] [blame]
Zack Williams6dc2d452017-12-20 17:50:49 -07001---
Matteo Scandolo3896c472017-08-01 13:31:42 -07002# Copyright 2017-present Open Networking Foundation
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15
Zack Williams22e89932016-03-15 11:08:06 -070016# roles/dns-configure/defaults
17
Zack Williams6dc2d452017-12-20 17:50:49 -070018site_name: placeholder-sitename
19site_suffix: "{{ site_name }}.test"
20
21headnode_dns: head1
22
23management_net_cidr: "192.168.200.0/24"
24
25# node lists
26head_lxd_list: []
27physical_node_list: []
28
29# Set this to search domain suffixes
30dns_search:
31 - "{{ site_suffix }}"
32
33dns_servers:
34 - "{{ management_net_cidr | ipaddr('1') | ipaddr('address') }}"
35
36unbound_listen_on_default: False
37
Zack Williamsc59b6b22016-04-11 12:49:10 -070038# Define this to set dns servers manually
39#dns_servers:
40# - 8.8.8.8
41# - 8.8.4.4
Zack Williams22e89932016-03-15 11:08:06 -070042
Zack Williams6dc2d452017-12-20 17:50:49 -070043# DNS settings for NSD/Unbound
44nsd_zones:
45 - name: "{{ site_suffix }}"
46 cidr: "{{ management_net_cidr }}"
47 soa: ns1
48 ns:
49 - { name: ns1 }
50 nodelists:
51 - head_lxd_list
52 - physical_node_list
53 aliases:
54 - { name: "apt-cache", dest: "{{ headnode_dns }}" }
55 - { name: "cordloghost", dest: "{{ headnode_dns }}" }
56 - { name: "consul", dest: "{{ headnode_dns }}" }
57 - { name: "docker", dest: "{{ headnode_dns }}" }
58 - { name: "mavenrepo", dest: "{{ headnode_dns }}" }
59 - { name: "ns", dest: "{{ headnode_dns }}" }
60 - { name: "ns1", dest: "{{ headnode_dns }}" }
61 - { name: "onos-cord", dest: "{{ headnode_dns }}" }
62 - { name: "onos-fabric", dest: "{{ headnode_dns }}" }
63 - { name: "xos", dest: "{{ headnode_dns }}" }
64 - { name: "xos-chameleon", dest: "{{ headnode_dns }}" }
65 - { name: "xos-consul", dest: "{{ headnode_dns }}" }
66 - { name: "xos-core", dest: "{{ headnode_dns }}" }
67 - { name: "xos-gui", dest: "{{ headnode_dns }}" }
68 - { name: "xos-tosca", dest: "{{ headnode_dns }}" }
69 - { name: "xos-ws", dest: "{{ headnode_dns }}" }
Zack Williamsba5549c2017-03-25 15:04:45 -070070