libvirt/src/conf
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
..
capabilities.c conf: add net device prefix to capabilities 2016-02-04 11:15:51 +00:00
capabilities.h headers: Remove unnecessary keyword extern from function declaration 2016-05-11 09:06:32 +02:00
cpu_conf.c conf: Simplify conditions in CPU parser/formatter 2016-06-22 12:16:19 +02:00
cpu_conf.h conf: Move all NUMA configuration to virDomainNuma 2015-02-20 17:50:08 +01:00
device_conf.c util: move virInterface(State|Link)/virNetDevFeature from conf to util 2016-06-26 19:33:07 -04:00
device_conf.h util: move virInterface(State|Link)/virNetDevFeature from conf to util 2016-06-26 19:33:07 -04:00
domain_addr.c qemu: auto-assign addresses when <address type='pci'/> is specified 2016-05-20 13:54:26 -04:00
domain_addr.h Change virDevicePCIAddress to virPCIDeviceAddress 2016-05-02 15:46:23 +02:00
domain_audit.c conf: Rename virDomainDefGetMemoryActual to virDomainDefGetMemoryTotal 2016-06-17 10:39:40 +02:00
domain_audit.h qemu: Add support to Add/Delete IOThreads 2015-04-27 12:36:36 -04:00
domain_capabilities.c domaincaps: Report video modelType 2016-05-09 16:05:31 -04:00
domain_capabilities.h conf: don't redefine virDomainCapsDeviceHostdev 2016-05-10 07:12:10 +03:00
domain_conf.c conf: single object containing list of IP addresses, list of routes 2016-06-26 19:33:09 -04:00
domain_conf.h util: move IP route & address object-related functions to virnetdevip.c 2016-06-26 19:33:09 -04:00
domain_event.c Add VIR_DOMAIN_EVENT_ID_DEVICE_REMOVAL_FAILED event 2016-04-13 13:26:29 +02:00
domain_event.h Add VIR_DOMAIN_EVENT_ID_DEVICE_REMOVAL_FAILED event 2016-04-13 13:26:29 +02:00
domain_nwfilter.c Remove use of nwfilterPrivateData from nwfilter driver 2015-01-27 12:02:03 +00:00
domain_nwfilter.h Remove use of nwfilterPrivateData from nwfilter driver 2015-01-27 12:02:03 +00:00
interface_conf.c global: consistently use IP rather than Ip in identifiers 2016-06-26 19:33:07 -04:00
interface_conf.h global: consistently use IP rather than Ip in identifiers 2016-06-26 19:33:07 -04:00
netdev_bandwidth_conf.c virNetDevBandwidthParseRate: Reject negative values 2015-08-10 13:47:48 +02:00
netdev_bandwidth_conf.h qemu: add udp interface support 2015-09-02 10:17:50 +02:00
netdev_vlan_conf.c
netdev_vlan_conf.h
netdev_vport_profile_conf.c docs: schema and docs for the midonet virtualport type 2015-03-17 13:09:05 -04:00
netdev_vport_profile_conf.h
network_conf.c util: move IP route & address object-related functions to virnetdevip.c 2016-06-26 19:33:09 -04:00
network_conf.h util: move IP route & address object-related functions to virnetdevip.c 2016-06-26 19:33:09 -04:00
network_event.c Replace virNetworkFree with virObjectUnref 2014-12-02 11:03:40 -05:00
network_event.h
networkcommon_conf.c util: move IP route & address object-related functions to virnetdevip.c 2016-06-26 19:33:09 -04:00
networkcommon_conf.h util: move IP route & address object-related functions to virnetdevip.c 2016-06-26 19:33:09 -04:00
node_device_conf.c conf: nodedev: Set PCI_PHYSICAL_FUNCTION flag more carefully 2016-05-25 10:38:01 +02:00
node_device_conf.h util: move virInterface(State|Link)/virNetDevFeature from conf to util 2016-06-26 19:33:07 -04:00
numa_conf.c Remove separator argument from virBitmapParse 2016-06-20 12:09:52 +02:00
numa_conf.h numa_conf: Introduce virDomainNumaGetMaxCPUID 2015-08-07 17:19:03 +02:00
nwfilter_conf.c Use virDirOpenIfExists 2016-06-24 14:20:57 +02:00
nwfilter_conf.h nwfilter: Save config to disk if we generated a UUID 2016-05-02 10:06:04 -04:00
nwfilter_ipaddrmap.c
nwfilter_ipaddrmap.h
nwfilter_params.c util: Add a return value to void hash iterators 2016-02-17 12:46:34 +01:00
nwfilter_params.h nwfilter: Change 'index' to 'idx' 2015-04-14 11:18:28 -04:00
object_event_private.h
object_event.c Remove unnecessary curly brackets in src/conf/ 2014-11-14 17:13:01 +01:00
object_event.h
secret_conf.c secret: Change virSecretDef variable names 2016-04-25 15:45:29 -04:00
secret_conf.h secret: Move virStorageSecretType and rename 2016-06-23 12:30:27 -04:00
snapshot_conf.c conf: Add infrastructure for adding configuration validation 2016-06-07 13:02:20 +02:00
snapshot_conf.h conf: add caps to virDomainSnapshotDefFormat 2016-02-05 10:57:39 +00:00
storage_conf.c Use virDirOpenIfExists 2016-06-24 14:20:57 +02:00
storage_conf.h storage: implement storage lifecycle event APIs 2016-06-16 12:22:11 -04:00
storage_event.c Promote storage pool refresh lifecycle event to top level event 2016-06-24 18:26:11 +01:00
storage_event.h Promote storage pool refresh lifecycle event to top level event 2016-06-24 18:26:11 +01:00
virchrdev.c util: Add a return value to void hash iterators 2016-02-17 12:46:34 +01:00
virchrdev.h
virdomainobjlist.c Use virDirOpenIfExists 2016-06-24 14:20:57 +02:00
virdomainobjlist.h libxl: fix vm lock overwritten bug 2016-06-13 13:34:37 +02:00
virsecretobj.c Use virDirOpenIfExists 2016-06-24 14:20:57 +02:00
virsecretobj.h secret: Introduce virSecretObjGetValue and virSecretObjGetValueSize 2016-04-25 15:45:29 -04:00