blob: b58fdbd7fb772af4f7f89f92cd19bdfd52e74561 [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
Zack Williams2f5f2bd2017-12-01 15:04:22 -070023management_net_cidr: "10.1.0.0/24"
24
25use_maas: False
26use_openstack: True
Zack Williams6dc2d452017-12-20 17:50:49 -070027
28# node lists
29head_lxd_list: []
30physical_node_list: []
31
32# Set this to search domain suffixes
33dns_search:
34 - "{{ site_suffix }}"
35
36dns_servers:
37 - "{{ management_net_cidr | ipaddr('1') | ipaddr('address') }}"
38
39unbound_listen_on_default: False
40
Zack Williamsc59b6b22016-04-11 12:49:10 -070041# Define this to set dns servers manually
42#dns_servers:
43# - 8.8.8.8
44# - 8.8.4.4
Zack Williams22e89932016-03-15 11:08:06 -070045
Zack Williams6dc2d452017-12-20 17:50:49 -070046# DNS settings for NSD/Unbound
47nsd_zones:
48 - name: "{{ site_suffix }}"
49 cidr: "{{ management_net_cidr }}"
50 soa: ns1
51 ns:
52 - { name: ns1 }
53 nodelists:
54 - head_lxd_list
55 - physical_node_list
56 aliases:
57 - { name: "apt-cache", dest: "{{ headnode_dns }}" }
58 - { name: "cordloghost", dest: "{{ headnode_dns }}" }
59 - { name: "consul", dest: "{{ headnode_dns }}" }
60 - { name: "docker", dest: "{{ headnode_dns }}" }
61 - { name: "mavenrepo", dest: "{{ headnode_dns }}" }
62 - { name: "ns", dest: "{{ headnode_dns }}" }
63 - { name: "ns1", dest: "{{ headnode_dns }}" }
64 - { name: "onos-cord", dest: "{{ headnode_dns }}" }
65 - { name: "onos-fabric", dest: "{{ headnode_dns }}" }
66 - { name: "xos", dest: "{{ headnode_dns }}" }
67 - { name: "xos-chameleon", dest: "{{ headnode_dns }}" }
68 - { name: "xos-consul", dest: "{{ headnode_dns }}" }
69 - { name: "xos-core", dest: "{{ headnode_dns }}" }
70 - { name: "xos-gui", dest: "{{ headnode_dns }}" }
71 - { name: "xos-tosca", dest: "{{ headnode_dns }}" }
72 - { name: "xos-ws", dest: "{{ headnode_dns }}" }
Zack Williamsba5549c2017-03-25 15:04:45 -070073