summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2009-10-28 15:57:49 +0100
committerDaniel Veillard <veillard@redhat.com>2009-10-28 15:57:49 +0100
commit936565c7012c2445eb56efe3e905d5f3329b565f (patch)
tree434d1020408946152495cea5e454ca1d7f1e0042 /tests/networkxml2xmltest.c
parenttest: Support virNodeDeviceCreate and virNodeDeviceDestroy (diff)
downloadlibvirt-936565c7012c2445eb56efe3e905d5f3329b565f.tar.gz
libvirt-936565c7012c2445eb56efe3e905d5f3329b565f.tar.bz2
libvirt-936565c7012c2445eb56efe3e905d5f3329b565f.zip
Add support for an external TFTP boot server
This patch adds an optional attribute to the <bootp> tag, that allows to specify a TFTP server address other than the address of the DHCP server itself. This can be used to forward the BOOTP settings of the host down to the guest. This is something that configurations such as Xen's default network achieve naturally, but must be done manually for NAT. * docs/formatnetwork.html.in: Document new attribute. * docs/schemas/network.rng: Add it to schema. * src/conf/network_conf.h: Add it to struct. * src/conf/network_conf.c: Add it to parser and pretty printer. * src/network/bridge_driver.c: Put it in the dnsmasq command line. * tests/networkxml2xmlin/netboot-proxy-network.xml tests/networkxml2xmlout/netboot-proxy-network.xml tests/networkxml2xmltest.c: add new tests
Diffstat (limited to 'tests/networkxml2xmltest.c')
-rw-r--r--tests/networkxml2xmltest.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/networkxml2xmltest.c b/tests/networkxml2xmltest.c
index b02d735a4..957e64b8a 100644
--- a/tests/networkxml2xmltest.c
+++ b/tests/networkxml2xmltest.c
@@ -89,6 +89,7 @@ mymain(int argc, char **argv)
DO_TEST("routed-network");
DO_TEST("nat-network");
DO_TEST("netboot-network");
+ DO_TEST("netboot-proxy-network");
return (ret==0 ? EXIT_SUCCESS : EXIT_FAILURE);
}