]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Add support for <option> tag in network config
authorPieter Hollants <pieter@hollants.com>
Thu, 21 Feb 2013 22:40:17 +0000 (23:40 +0100)
committerLaine Stump <laine@laine.org>
Sat, 23 Feb 2013 00:45:19 +0000 (19:45 -0500)
commit383ebc46947b0119123880c1ff9ae345fdb8d5f6
tree34f8f3bbc573c076c6c4666723ce4eb7538d1fd8
parent2795813c6999bfd944a6d266d23fc0989e041753
Add support for <option> tag in network config

This patch adds support for a new <option>-Tag in the <dhcp> block of
network configs, based on a subset of the fifth proposal by Laine
Stump in the mailing list discussion at
https://www.redhat.com/archives/libvir-list/2012-November/msg01054.html.
Any such defined option will result in a dhcp-option=<number>,"<value>"
statement in the generated dnsmasq configuration file.

Currently, DHCP options can be specified by number only and there is
no whitelisting or blacklisting of option numbers, which should
probably be added.

Signed-off-by: Pieter Hollants <pieter@hollants.com>
Signed-off-by: Laine Stump <laine@laine.org>
docs/schemas/network.rng
src/conf/network_conf.c
src/conf/network_conf.h
src/network/bridge_driver.c
tests/networkxml2confdata/nat-network.conf
tests/networkxml2confdata/nat-network.xml
tests/networkxml2xmlin/netboot-network.xml
tests/networkxml2xmlin/netboot-proxy-network.xml
tests/networkxml2xmlout/netboot-network.xml
tests/networkxml2xmlout/netboot-proxy-network.xml