Zack Williams | 6dc2d45 | 2017-12-20 17:50:49 -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 | 22e8993 | 2016-03-15 11:08:06 -0700 | [diff] [blame] | 16 | # roles/dns-configure/defaults |
| 17 | |
Zack Williams | 6dc2d45 | 2017-12-20 17:50:49 -0700 | [diff] [blame] | 18 | site_name: placeholder-sitename |
| 19 | site_suffix: "{{ site_name }}.test" |
| 20 | |
| 21 | headnode_dns: head1 |
| 22 | |
| 23 | management_net_cidr: "192.168.200.0/24" |
| 24 | |
| 25 | # node lists |
| 26 | head_lxd_list: [] |
| 27 | physical_node_list: [] |
| 28 | |
| 29 | # Set this to search domain suffixes |
| 30 | dns_search: |
| 31 | - "{{ site_suffix }}" |
| 32 | |
| 33 | dns_servers: |
| 34 | - "{{ management_net_cidr | ipaddr('1') | ipaddr('address') }}" |
| 35 | |
| 36 | unbound_listen_on_default: False |
| 37 | |
Zack Williams | c59b6b2 | 2016-04-11 12:49:10 -0700 | [diff] [blame] | 38 | # Define this to set dns servers manually |
| 39 | #dns_servers: |
| 40 | # - 8.8.8.8 |
| 41 | # - 8.8.4.4 |
Zack Williams | 22e8993 | 2016-03-15 11:08:06 -0700 | [diff] [blame] | 42 | |
Zack Williams | 6dc2d45 | 2017-12-20 17:50:49 -0700 | [diff] [blame] | 43 | # DNS settings for NSD/Unbound |
| 44 | nsd_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 Williams | ba5549c | 2017-03-25 15:04:45 -0700 | [diff] [blame] | 70 | |