Zack Williams | 2d325cb | 2017-10-23 11:21:05 -0700 | [diff] [blame] | 1 | --- |
Matteo Scandolo | 3896c47 | 2017-08-01 13:31:42 -0700 | [diff] [blame] | 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 | |
Zack Williams | 9cea13e | 2017-07-25 16:32:59 -0700 | [diff] [blame] | 16 | # dns-nsd/defaults/main.yml |
Zack Williams | 99adf6b | 2016-03-14 17:01:08 -0700 | [diff] [blame] | 17 | |
Zack Williams | 9cea13e | 2017-07-25 16:32:59 -0700 | [diff] [blame] | 18 | site_name: placeholder-sitename |
| 19 | site_suffix: "{{ site_name }}.test" |
| 20 | |
Zack Williams | 6dc2d45 | 2017-12-20 17:50:49 -0700 | [diff] [blame] | 21 | headnode_dns: head1 |
Zack Williams | 9cea13e | 2017-07-25 16:32:59 -0700 | [diff] [blame] | 22 | |
Zack Williams | 2f5f2bd | 2017-12-01 15:04:22 -0700 | [diff] [blame] | 23 | management_net_cidr: "10.1.0.0/24" |
Zack Williams | 9cea13e | 2017-07-25 16:32:59 -0700 | [diff] [blame] | 24 | |
| 25 | # node lists |
| 26 | head_lxd_list: [] |
| 27 | physical_node_list: [] |
| 28 | |
Zack Williams | 6dc2d45 | 2017-12-20 17:50:49 -0700 | [diff] [blame] | 29 | # NOTE - many of the below settings are shared with the dns-nsd role, and you |
| 30 | # may need to update them in the defaults of both. |
| 31 | |
| 32 | nsd_conf: "/etc/nsd/nsd.conf" |
| 33 | nsd_zonesdir: "/var/lib/nsd/zones" |
| 34 | |
| 35 | nsd_group: "nsd" |
| 36 | |
| 37 | nsd_ip: 127.0.0.1 |
| 38 | nsd_port: 53 |
| 39 | |
| 40 | dns_ttl: 3600 |
| 41 | |
Zack Williams | 9cea13e | 2017-07-25 16:32:59 -0700 | [diff] [blame] | 42 | # DNS settings for NSD/Unbound |
| 43 | nsd_zones: |
| 44 | - name: "{{ site_suffix }}" |
Zack Williams | 6dc2d45 | 2017-12-20 17:50:49 -0700 | [diff] [blame] | 45 | cidr: "{{ management_net_cidr }}" |
Zack Williams | 9cea13e | 2017-07-25 16:32:59 -0700 | [diff] [blame] | 46 | soa: ns1 |
| 47 | ns: |
| 48 | - { name: ns1 } |
| 49 | nodelists: |
| 50 | - head_lxd_list |
| 51 | - physical_node_list |
| 52 | aliases: |
Zack Williams | 2d325cb | 2017-10-23 11:21:05 -0700 | [diff] [blame] | 53 | - { name: "apt-cache", dest: "{{ headnode_dns }}" } |
| 54 | - { name: "cordloghost", dest: "{{ headnode_dns }}" } |
Zack Williams | 2d325cb | 2017-10-23 11:21:05 -0700 | [diff] [blame] | 55 | - { name: "docker", dest: "{{ headnode_dns }}" } |
Zack Williams | 65edc22 | 2018-01-30 18:52:30 -0700 | [diff] [blame] | 56 | - { name: "docker-registry", dest: "{{ headnode_dns }}" } |
Zack Williams | 2d325cb | 2017-10-23 11:21:05 -0700 | [diff] [blame] | 57 | - { name: "mavenrepo", dest: "{{ headnode_dns }}" } |
| 58 | - { name: "ns", dest: "{{ headnode_dns }}" } |
| 59 | - { name: "ns1", dest: "{{ headnode_dns }}" } |
| 60 | - { name: "onos-cord", dest: "{{ headnode_dns }}" } |
| 61 | - { name: "onos-fabric", dest: "{{ headnode_dns }}" } |
| 62 | - { name: "xos", dest: "{{ headnode_dns }}" } |
| 63 | - { name: "xos-chameleon", dest: "{{ headnode_dns }}" } |
Zack Williams | 2d325cb | 2017-10-23 11:21:05 -0700 | [diff] [blame] | 64 | - { name: "xos-core", dest: "{{ headnode_dns }}" } |
| 65 | - { name: "xos-gui", dest: "{{ headnode_dns }}" } |
| 66 | - { name: "xos-tosca", dest: "{{ headnode_dns }}" } |
| 67 | - { name: "xos-ws", dest: "{{ headnode_dns }}" } |
| 68 | |