blob: 7914a2e8cc4df5f887f4091d3fcceb3db5126063 [file] [log] [blame]
Zack Williams709f11b2016-03-17 14:29:51 -07001<network>
2 <name>default</name>
Zack Williamsef434f82016-04-07 17:15:39 -07003 <bridge name="{{ mgmtbr_name }}"/>
Zack Williams709f11b2016-03-17 14:29:51 -07004 <forward/>
5 <domain name="{{ site_suffix }}" localonly="no"/>
6 <dns>
7{% for ns in dns_servers %}
8 <forwarder addr="{{ ns }}"/>
9{% endfor %}
10 </dns>
11 <ip address="{{ mgmtbr_prefix }}.1" netmask="255.255.255.0">
12 <dhcp>
13 <range start="{{ mgmtbr_prefix }}.2" end="{{ mgmtbr_prefix }}.254"/>
14{% for vm in head_vm_list %}
15 <host name='{{ vm.name }}' ip='{{ mgmtbr_prefix }}.{{ vm.ipv4_last_octet }}'/>
16{% endfor %}
17 </dhcp>
18 </ip>
19</network>