]> xenbits.xensource.com Git - libvirt.git/commit
network: wire up dnsmasq option xmlns
authorCole Robinson <crobinso@redhat.com>
Sun, 14 Jul 2019 22:25:12 +0000 (18:25 -0400)
committerCole Robinson <crobinso@redhat.com>
Wed, 17 Jul 2019 21:18:56 +0000 (17:18 -0400)
commitfb9f6ce625322d10b2e2a7c3ce4faab780b97e8d
tree4f08aff9aef70e49b59829b6bbaa2d3f6375b6ec
parent2dde2dbba12834e0117cd2a6d0d836910b64769e
network: wire up dnsmasq option xmlns

This maps to XML like:

  <network xmlns:dnsmasq='http://libvirt.org/schemas/network/dnsmasq/1.0'>
    ...
    <dnsmasq:options>
      <dnsmasq:option value="foo=bar"/>
      <dnsmasq:option value="cname=*.foo.example.com,master.example.com"/>
    </dnsmasq:options>
  </network>

To dnsmasq config options

  ...
  foo=bar
  cname=*.foo.example.com,master.example.com

Reviewed-by: Laine Stump <laine@laine.org>
Signed-off-by: Cole Robinson <crobinso@redhat.com>
docs/schemas/network.rng
src/network/bridge_driver.c
src/network/bridge_driver.h
tests/Makefile.am
tests/networkxml2confdata/dnsmasq-options.conf [new file with mode: 0644]
tests/networkxml2confdata/dnsmasq-options.xml [new file with mode: 0644]
tests/networkxml2conftest.c
tests/networkxml2xmlin/dnsmasq-options.xml [new file with mode: 0644]
tests/networkxml2xmlout/dnsmasq-options.xml [new file with mode: 0644]
tests/networkxml2xmltest.c