blob: 28f5c104016473ccd302913035142f84e66467bd [file] [log] [blame]
Matteo Scandolo3896c472017-08-01 13:31:42 -07001
2# 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
16
Zack Williams99adf6b2016-03-14 17:01:08 -070017---
Zack Williams9cea13e2017-07-25 16:32:59 -070018# dns-nsd/defaults/main.yml
Zack Williams99adf6b2016-03-14 17:01:08 -070019
20nsd_ip: 127.0.0.1
21nsd_conf: "/var/nsd/etc/nsd.conf"
22nsd_zonesdir: "/var/nsd/zones"
23nsd_group: "nsd"
24
Zack Williams99adf6b2016-03-14 17:01:08 -070025# default DNS TTL
26dns_ttl: 3600
27
Zack Williams9cea13e2017-07-25 16:32:59 -070028# NOTE - many of the below settings are shared with the dns-nsd role, and you
29# may need to update them in the defaults of both.
30
31headnode: head1
32
33site_name: placeholder-sitename
34site_suffix: "{{ site_name }}.test"
35
36# Management IP range from DHCP settings
37mgmt_ipv4_first_octets: "192.168.200"
38mgmt_name_reverse_unbound: "168.192.in-addr.arpa"
39
40dns_servers:
41 - "{{ mgmt_ipv4_first_octets }}.1"
42
43# node lists
44head_lxd_list: []
45physical_node_list: []
46
47# DNS settings for NSD/Unbound
48nsd_zones:
49 - name: "{{ site_suffix }}"
50 ipv4_first_octets: "{{ mgmt_ipv4_first_octets }}"
51 name_reverse_unbound: "{{ mgmt_name_reverse_unbound }}"
52 soa: ns1
53 ns:
54 - { name: ns1 }
55 nodelists:
56 - head_lxd_list
57 - physical_node_list
58 aliases:
59 - { name: "apt-cache", dest: "{{ headnode }}" }
60 - { name: "cordloghost", dest: "{{ headnode }}" }
61 - { name: "consul", dest: "{{ headnode }}" }
62 - { name: "docker", dest: "{{ headnode }}" }
63 - { name: "mavenrepo", dest: "{{ headnode }}" }
64 - { name: "ns", dest: "{{ headnode }}" }
65 - { name: "ns1", dest: "{{ headnode }}" }
66 - { name: "onos-cord", dest: "{{ headnode }}" }
67 - { name: "xos", dest: "{{ headnode }}" }
68 - { name: "xos-chameleon", dest: "{{ headnode }}" }
69 - { name: "xos-consul", dest: "{{ headnode }}" }
70 - { name: "xos-core", dest: "{{ headnode }}" }
71 - { name: "xos-gui", dest: "{{ headnode }}" }
72 - { name: "xos-tosca", dest: "{{ headnode }}" }
73 - { name: "xos-ws", dest: "{{ headnode }}" }