summaryrefslogtreecommitdiffstats
path: root/playbooks/libvirt/openshift-cluster/templates/network.xml
blob: 0ce2a83424d088dced24fd1c58672138a2d0a80c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<network>
  <name>{{ libvirt_network }}</name>
  <forward mode='nat'>
    <nat>
      <port start='1024' end='65535'/>
    </nat>
  </forward>
  <!-- TODO: query for first available virbr interface available -->
  <bridge name='virbr3' stp='on' delay='0'/>
  <!-- TODO: make overridable -->
  <domain name='example.com' localOnly='yes' />
  <dns>
    <!-- TODO: automatically add host entries -->
  </dns>
  <!-- TODO: query for available address space -->
  <ip address='192.168.55.1' netmask='255.255.255.0'>
    <dhcp>
      <range start='192.168.55.2' end='192.168.55.254'/>
      <!-- TODO: add static entries addresses for the hosts to be created -->
    </dhcp>
  </ip>
</network>