[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] [PATCH 0/2] Network: Add TXT record and hosts support for DNS on virtual network

this is the patch to introduce the TXT record support for the DNS
service on the virtual network. This can be defined using the
txt-record subelement in the dns element of the network XML

First patch is adding TXT record support to the DNS service on
the virtual network and the second patch is adding support for
defining hosts for the DNS service.

The new definition syntax is:

            <txt-record name="example name" value="example value" />
            <host ip=''>

Where multiple host elements can be defined to put the aliases
for specified IP addresses.

The patch series has been tested for the configuration and it
was working fine and also RelaxNG schema with the tests have
been both altered to add test cases to test those patches.

Both of the patches passed make, syntax checking and all the


Signed-off-by: Michal Novotny <minovotn redhat com>

Michal Novotny (2):
  Network: Add TXT record support for virtual DNS service
  Network: Add support for DNS hosts definition

 docs/formatnetwork.html.in                         |   37 +++++-
 docs/schemas/network.rng                           |   20 +++
 src/conf/network_conf.c                            |  148 ++++++++++++++++++++
 src/conf/network_conf.h                            |   26 ++++
 src/network/bridge_driver.c                        |   93 ++++++++++++
 tests/networkxml2xmlin/nat-network-dns-hosts.xml   |   27 ++++
 .../nat-network-dns-txt-record.xml                 |   24 +++
 tests/networkxml2xmlout/nat-network-dns-hosts.xml  |   27 ++++
 .../nat-network-dns-txt-record.xml                 |   24 +++
 tests/networkxml2xmltest.c                         |    2 +
 10 files changed, 427 insertions(+), 1 deletions(-)
 create mode 100644 tests/networkxml2xmlin/nat-network-dns-hosts.xml
 create mode 100644 tests/networkxml2xmlin/nat-network-dns-txt-record.xml
 create mode 100644 tests/networkxml2xmlout/nat-network-dns-hosts.xml
 create mode 100644 tests/networkxml2xmlout/nat-network-dns-txt-record.xml


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]