mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 14:15:28 +00:00
a950dd2a31
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. |
||
---|---|---|
.. | ||
api_extension | ||
devhelp | ||
html | ||
internals | ||
schemas | ||
.gitignore | ||
32favicon.png | ||
api_extension.html.in | ||
api.html.in | ||
apibuild.py | ||
apps.html.in | ||
archdomain.html.in | ||
architecture.fig | ||
architecture.gif | ||
architecture.html.in | ||
archnetwork.html.in | ||
archnode.html.in | ||
archstorage.html.in | ||
auth.html.in | ||
bindings.html.in | ||
bugs.html.in | ||
compiling.html.in | ||
contact.html.in | ||
csharp.html.in | ||
deployment.html.in | ||
devguide.html.in | ||
docs.html.in | ||
downloads.html.in | ||
drivers.html.in | ||
drvesx.html.in | ||
drvlxc.html.in | ||
drvone.html.in | ||
drvopenvz.html.in | ||
drvqemu.html.in | ||
drvremote.html.in | ||
drvtest.html.in | ||
drvuml.html.in | ||
drvvbox.html.in | ||
drvvmware.html.in | ||
drvxen.html.in | ||
errors.html.in | ||
et.png | ||
firewall.html.in | ||
footer_corner.png | ||
footer_pattern.png | ||
format.html.in | ||
formatcaps.html.in | ||
formatdomain.html.in | ||
formatnetwork.html.in | ||
formatnode.html.in | ||
formatnwfilter.html.in | ||
formatsecret.html.in | ||
formatsnapshot.html.in | ||
formatstorage.html.in | ||
formatstorageencryption.html.in | ||
generic.css | ||
goals.html.in | ||
hacking1.xsl | ||
hacking2.xsl | ||
hacking.html.in | ||
hooks.html.in | ||
hvsupport.html.in | ||
index.html.in | ||
index.py | ||
internals.html.in | ||
intro.html.in | ||
java.html.in | ||
library.xen | ||
libvirt-daemon-arch.fig | ||
libvirt-daemon-arch.png | ||
libvirt-driver-arch.fig | ||
libvirt-driver-arch.png | ||
libvirt-header-bg.png | ||
libvirt-header-logo.png | ||
libvirt-net-logical.fig | ||
libvirt-net-logical.png | ||
libvirt-net-physical.fig | ||
libvirt-net-physical.png | ||
libvirt-object-model.fig | ||
libvirt-object-model.png | ||
libvirt.css | ||
libvirtLogo.png | ||
logging.html.in | ||
madeWith.png | ||
main.css | ||
Makefile.am | ||
newapi.xsl | ||
news.html.in | ||
news.xsl | ||
node.fig | ||
node.gif | ||
page.xsl | ||
python.html.in | ||
relatedlinks.html.in | ||
remote.html.in | ||
search.php | ||
site.xsl | ||
sitemap.html.in | ||
storage.html.in | ||
structures.fig | ||
subsite.xsl | ||
todo.cfg-example | ||
todo.pl | ||
uri.html.in | ||
virshcmdref.html.in | ||
windows.html.in | ||
wrapstring.xsl |