libvirt/docs/schemas
Laine Stump 9911562a22 conf: single object containing list of IP addresses, list of routes
There are currently two places in the domain where this combination is
used, and there is about to be another. This patch puts them together
for brevity and uniformity.

As with the newly-renamed virNetDevIPAddr and virNetDevIPRoute
objects, the new virNetDevIPInfo object will need to be accessed by a
utility function that calls low level Netlink functions (so we don't
want it to be in the conf directory) and will be called from multiple
hypervisor drivers (so it can't be in any hypervisor directory); the
most appropriate place is thus once again the util directory.

The parse and format functions are in conf/domain_conf.c because only
the domain XML (i.e. *not* the network XML) has this exact combination
of IP addresses plus routes. Note that virDomainNetIPInfoFormat() will
end up being the only caller to virDomainNetRoutesFormat() and
virDomainNetIPsFormat(), so it will just subsume those functions in a
later patch, but we can't do that until they are no longer called.

(It would have been nice to include the interface name within the
virNetDevIPInfo object (with a slight name change), but that can't
be done cleanly, because in each case the interface name is provided
in a different place in the XML relative to the routes and IP
addresses, so putting it in this object would actually make the code
more confused rather than simpler).
2016-06-26 19:33:09 -04:00
..
basictypes.rng conf: allow type='pci' addresses with no address attributes specified 2016-05-20 13:54:25 -04:00
capability.rng domain: conf: Drop unused OSTYPE_AIX 2015-04-29 09:42:26 -04:00
domain.rng conf: set up for per-grammar overrides in schemas 2014-04-15 21:07:59 +02:00
domaincaps.rng domaincaps: Report video modelType 2016-05-09 16:05:31 -04:00
domaincommon.rng conf: single object containing list of IP addresses, list of routes 2016-06-26 19:33:09 -04:00
domainsnapshot.rng conf: split <disk> schema into more pieces 2014-04-16 10:45:55 +02:00
interface.rng interface: allow multiple IPv4 addresses + dhcp on a single interface 2015-05-22 10:14:01 -04:00
network.rng schema: Fix interface link state schema 2015-03-03 09:43:13 +01:00
networkcommon.rng schema: rename uint8range/uint24range to uint8/uint24 2016-04-14 14:00:33 -04:00
nodedev.rng schemas: Update nodedev schema to match reality 2016-05-02 15:46:23 +02:00
nwfilter.rng schema: rename uint8range/uint24range to uint8/uint24 2016-04-14 14:00:33 -04:00
secret.rng schemas: finish virTristate{Bool,Switch} transition 2014-09-17 16:10:26 +02:00
storagecommon.rng storage: conf: Don't set any default <mode> in the XML 2015-05-25 20:52:55 -04:00
storagepool.rng conf: Add storage pool device attribute part_separator 2016-01-19 13:02:59 -05:00
storagevol.rng storage: unify permission formatting 2014-12-16 15:47:56 +01:00