libvirt/tests
Laine Stump a950dd2a31 Change virtual network XML parsing/formatting to support IPv6
This commit adds support for IPv6 parsing and formatting to the
virtual network XML parser, including moving around data definitions
to allow for multiple <ip> elements on a single network, but only
changes the consumers of this API to accommodate for the changes in
API/structure, not to add any actual IPv6 functionality. That will
come in a later patch - this patch attempts to maintain the same final
functionality in both drivers that use the network XML parser - vbox
and "bridge" (the Linux bridge-based driver used by the qemu
hypervisor driver).

* src/libvirt_private.syms: Add new private API functions.
* src/conf/network_conf.[ch]: Change C data structure and
  parsing/formatting.
* src/network/bridge_driver.c: Update to use new parser/formatter.
* src/vbox/vbox_tmpl.c: update to use new parser/formatter
* docs/schemas/network.rng: changes to the schema -
  * there can now be more than one <ip> element.
  * ip address is now an ip-addr (ipv4 or ipv6) rather than ipv4-addr
  * new optional "prefix" attribute that can be used in place of "netmask"
  * new optional "family" attribute - "ipv4" or "ipv6"
    (will default to ipv4)
  * define data types for the above
* tests/networkxml2xml(in|out)/nat-network.xml: add multiple <ip> elements
  (including IPv6) to a single network definition to verify they are being
  correctly parsed and formatted.
2010-12-23 15:53:55 -05:00
..
capabilityschemadata
commanddata maint: improve tests distribution 2010-12-17 11:57:11 -07:00
confdata maint: improve tests distribution 2010-12-17 11:57:11 -07:00
cputestdata tests: Add unit tests for internal CPU APIs 2010-12-01 14:12:54 +01:00
domainschemadata schema: Move timer element inside clock 2010-11-09 15:35:43 +01:00
domainsnapshotxml2xmlin
domainsnapshotxml2xmlout
interfaceschemadata
networkxml2xmlin Change virtual network XML parsing/formatting to support IPv6 2010-12-23 15:53:55 -05:00
networkxml2xmlout Change virtual network XML parsing/formatting to support IPv6 2010-12-23 15:53:55 -05:00
nodedevschemadata
nodeinfodata
nwfilterxml2xmlin
nwfilterxml2xmlout
qemuhelpdata tests: test Fedora 14 qemu-kvm -help parsing 2010-12-13 16:30:02 -07:00
qemuxml2argvdata Update documentation of watchdog dump option and add test data for it 2010-12-10 08:00:05 -07:00
qemuxml2xmloutdata
sexpr2xmldata maint: improve tests distribution 2010-12-17 11:57:11 -07:00
storagepoolxml2xmlin
storagepoolxml2xmlout
storagevolxml2xmlin
storagevolxml2xmlout tests: Add storage volume XML 2 XML tests. 2009-10-16 10:52:27 -04:00
vmx2xmldata esx: Support SMBIOS host mode 2010-11-11 19:18:19 +01:00
xencapsdata maint: improve tests distribution 2010-12-17 11:57:11 -07:00
xmconfigdata maint: improve tests distribution 2010-12-17 11:57:11 -07:00
xml2sexprdata maint: improve tests distribution 2010-12-17 11:57:11 -07:00
xml2vmxdata esx: Support SMBIOS host mode 2010-11-11 19:18:19 +01:00
.gitignore Introduce new APIs for spawning processes 2010-12-02 16:00:44 -07:00
.valgrind.supp Supress annoying libcap-ng errors from valgrind 2009-11-26 12:07:17 +00:00
capabilityschematest Make test suite output less verbose 2010-01-15 16:28:05 +00:00
commandhelper.c tests: avoid data race 2010-12-20 10:29:50 -07:00
commandtest.c command: avoid hanging on daemon processes 2010-12-21 11:49:49 -07:00
conftest.c avoid calling exit with a constant; use EXIT_* instead 2009-12-15 17:46:04 +01:00
cpuset
cputest.c tests: Add unit tests for internal CPU APIs 2010-12-01 14:12:54 +01:00
daemon-conf tests: fix daemon-conf testing failure 2010-11-03 11:43:11 +01:00
define-dev-segfault
domainschematest
domainsnapshotschematest Domain snapshot RNG and tests. 2010-05-20 13:50:03 -04:00
esxutilstest.c esx: Move VMX handling code out of the driver directory 2010-12-21 22:40:17 +01:00
eventtest.c
int-overflow
interfaceschematest
interfacexml2xmltest.c
libvirtd-fail
libvirtd-pool
Makefile.am esx: Move VMX handling code out of the driver directory 2010-12-21 22:40:17 +01:00
networkschematest
networkxml2xmltest.c
nodedevschematest
nodedevxml2xmltest.c
nodeinfotest.c tests: avoid spurious failure of nodeinfotest 2010-12-20 10:31:40 -07:00
nwfilterschematest nwfilter: Add filter schema for nwfilter XML, extend domain XML schema 2010-04-06 11:09:46 -04:00
nwfilterxml2xmltest.c tests: Fix detection of expected errors 2010-11-29 16:35:20 +01:00
object-locking.ml
oomtrace.pl Generic test suite helpers for OOM testing 2008-05-29 15:21:45 +00:00
qemuargv2xmltest.c Update QEMU test cases for new file locations & API renames 2010-12-17 16:41:51 +00:00
qemuhelptest.c Update QEMU test cases for new file locations & API renames 2010-12-17 16:41:51 +00:00
qemuxml2argvtest.c Update QEMU test cases for new file locations & API renames 2010-12-17 16:41:51 +00:00
qemuxml2xmltest.c Implement QEMU/KVM QXL video card support in QEMU driver 2010-11-09 11:46:45 +00:00
qparamtest.c
read-bufsiz
read-non-seekable
reconnect.c avoid calling exit with a constant; use EXIT_* instead 2009-12-15 17:46:04 +01:00
schematestutils.sh
secaatest.c
seclabeltest.c
sexpr2xmltest.c
sockettest.c
start
statstest.c
storagepoolschematest
storagepoolxml2xmltest.c
storagevolschematest
storagevolxml2xmltest.c
test_conf.sh
test-lib.sh
testutils.c tests: Fix dispatching internal error reports 2010-11-23 12:15:14 -05:00
testutils.h
testutilsqemu.c Update QEMU test cases for new file locations & API renames 2010-12-17 16:41:51 +00:00
testutilsqemu.h
testutilsxen.c
testutilsxen.h
undefine
vcpupin
virbuftest.c
virsh-all
virsh-schedinfo
virsh-synopsis
virshtest.c
virt-aa-helper-test
vmx2xmltest.c esx: Move VMX handling code out of the driver directory 2010-12-21 22:40:17 +01:00
xencapstest.c deprecate fclose() and introduce VIR_{FORCE_}FCLOSE() 2010-11-16 21:13:29 -05:00
xmconfigtest.c
xml2sexprtest.c xend: Escape reserved sexpr characters 2010-11-22 16:43:29 -05:00
xml2vmxtest.c esx: Move VMX handling code out of the driver directory 2010-12-21 22:40:17 +01:00