]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
Network: Add support for DNS hosts definition to the network XML
authorMichal Novotny <minovotn@redhat.com>
Fri, 24 Jun 2011 10:04:40 +0000 (12:04 +0200)
committerLaine Stump <laine@laine.org>
Fri, 24 Jun 2011 20:15:36 +0000 (16:15 -0400)
commit9d4e2845d498edcf46fe339537fe473f24d75f66
treefe3ac34dcd676e51ae825e8576ae27cd94397324
parent91b7924eeeffcbadb9bd89e87ebe7c508f9e4391
Network: Add support for DNS hosts definition to the network XML

This commit introduces names definition for the DNS hosts file using
the following syntax:

  <dns>
    <host ip="192.168.1.1">
      <name>alias1</name>
      <name>alias2</name>
    </host>
  </dns>

Some of the improvements and fixes were done by Laine Stump so
I'm putting him into the SOB clause again ;-)

Signed-off-by: Michal Novotny <minovotn@redhat.com>
Signed-off-by: Laine Stump <laine@laine.org>
docs/formatnetwork.html.in
docs/schemas/network.rng
src/conf/network_conf.c
src/conf/network_conf.h
src/network/bridge_driver.c
tests/networkxml2argvdata/nat-network-dns-hosts.argv [new file with mode: 0644]
tests/networkxml2argvdata/nat-network-dns-hosts.xml [new file with mode: 0644]
tests/networkxml2argvtest.c
tests/networkxml2xmlin/nat-network-dns-hosts.xml [new file with mode: 0644]
tests/networkxml2xmlout/nat-network-dns-hosts.xml [new file with mode: 0644]
tests/networkxml2xmltest.c