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 | |
Zack Williams | 2f5f2bd | 2017-12-01 15:04:22 -0700 | [diff] [blame] | 23 | management_net_cidr: "10.1.0.0/24" |
| 24 | |
| 25 | use_maas: False |
| 26 | use_openstack: True |
Zack Williams | 6dc2d45 | 2017-12-20 17:50:49 -0700 | [diff] [blame] | 27 | |
| 28 | # node lists |
| 29 | head_lxd_list: [] |
| 30 | physical_node_list: [] |
| 31 | |
| 32 | # Set this to search domain suffixes |
| 33 | dns_search: |
| 34 | - "{{ site_suffix }}" |
| 35 | |
| 36 | dns_servers: |
| 37 | - "{{ management_net_cidr | ipaddr('1') | ipaddr('address') }}" |
| 38 | |
| 39 | unbound_listen_on_default: False |
| 40 | |
Zack Williams | c59b6b2 | 2016-04-11 12:49:10 -0700 | [diff] [blame] | 41 | # Define this to set dns servers manually |
| 42 | #dns_servers: |
| 43 | # - 8.8.8.8 |
| 44 | # - 8.8.4.4 |
Zack Williams | 22e8993 | 2016-03-15 11:08:06 -0700 | [diff] [blame] | 45 | |
Zack Williams | 6dc2d45 | 2017-12-20 17:50:49 -0700 | [diff] [blame] | 46 | # DNS settings for NSD/Unbound |
| 47 | nsd_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 Williams | ba5549c | 2017-03-25 15:04:45 -0700 | [diff] [blame] | 73 | |