blob: 5183acaeb83c02af8c96f0986cd8c5706639f3fa [file] [log] [blame]
Zack Williams709f11b2016-03-17 14:29:51 -07001<network>
2 <name>default</name>
3 <bridge name="virbr0"/>
4 <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>