[PATCHv2 0/7] refactoring network xml parsing + net-update additions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Patches 1,2, and 4-7 refactor the network XML parsing functions to
have a more uniform calling sequence for different subelements of
<network>. This makes it simpler to write new virNetworkUpdate*()
backend functions for those bits (because they're then more similar to
existing functions.)

Patch 3 actually adds some new backends for updating subelements that
weren't previously implemented - <dns> host/srv/txt records.

The intent is to followup on patched 4-7 with backends for updating
<ip>, <forward>, and <bridge>; while I haven't gotten to those yet,
I'd rather get these changes in sooner than later, both for more
testing, and to make future backports simpler.

Difference from V1: simply rebased and modified for change in calling
sequence of VIR_INSERT_ELEMENT. No other changes.

Laine Stump (7):
  conf: rename network dns host/srv/txt arrays
  conf: clear and parse functions for dns host/srv/txt records
  network: backend functions for updating network dns host/srv/txt
  conf: rename some labels and functions in network_conf
  conf: make virNetworkIpDefClear consistent with other functions
  conf: put data for network <forward> element into its own struct
  conf: split <forward> parser/clear into separate functions

 src/conf/network_conf.c      | 1382 ++++++++++++++++++++++++++----------------
 src/conf/network_conf.h      |   74 ++-
 src/esx/esx_network_driver.c |   30 +-
 src/network/bridge_driver.c  |  283 +++++----
 src/vbox/vbox_tmpl.c         |    4 +-
 5 files changed, 1056 insertions(+), 717 deletions(-)

-- 
1.7.11.7

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]