tsorya / test-infra

Apache License 2.0
0 stars 8 forks source link

Eran/dns #17

Closed eranco74 closed 4 years ago

eranco74 commented 4 years ago
[root@hp-moonshot-01-c02 test-infra]# virsh net-dumpxml test-infra-net 
<network connections='3'>
  <name>test-infra-net</name>
  <uuid>1f248887-7ce7-4d7a-a9a4-e9be6694bce9</uuid>
  <forward mode='nat'>
    <nat>
      <port start='1024' end='65535'/>
    </nat>
  </forward>
  <bridge name='tt0' stp='on' delay='0'/>
  <mac address='52:54:00:35:26:8e'/>
  <domain name='redhat' localOnly='yes'/>
  <dns enable='yes'>
    <host ip='192.168.126.100'>
      <hostname>api.test-infra-cluster.redhat</hostname>
    </host>
  </dns>
  <ip family='ipv4' address='192.168.126.1' prefix='24'>
    <dhcp>
      <range start='192.168.126.2' end='192.168.126.254'/>
      <host mac='52:54:00:3a:ea:74' name='test-infra-cluster-master-0.redhat' ip='192.168.126.10'/>
      <host mac='52:54:00:be:3d:01' name='test-infra-cluster-master-1.redhat' ip='192.168.126.11'/>
      <host mac='52:54:00:ea:8c:4f' name='test-infra-cluster-master-2.redhat' ip='192.168.126.12'/>
    </dhcp>
  </ip>
</network>