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

[libvirt] [PATCH-v4 0/2] Static Route related updates

This update includes two patch files:

1. The first file adds virSocketAddrGetIpPrefix() to
determine the prefix for a network.  This function
is used by the static route code and has also been
used to update (replace the code in)
virNetworkIpDefPrefix() in src/conf/network_conf.c

2. The second and major update adds functionality to
implement static route for both IPv4 and IPv6.  Having
static route provides the routing information needed
to forward packets not directly reachable from a

As far as I can determine, this update has adopted all
suggestions made against the previous version (except
that I am still using CommandRun ... that will be
addressed in a future update).

I also plan to take a look at <ip> processing such as
handling ULong return codes.  I also raise the question
as to whether address= should be manditory rather than
(currently) optional ... I am not sure what <ip> means
with address= being optional.

Gene Czarcinski (2):
  create virSocketAddrGetIpPrefix utility function
  Support for static routes on a virtual bridge

 docs/formatnetwork.html.in                         |  80 +++++
 docs/schemas/network.rng                           |  22 ++
 src/conf/network_conf.c                            | 364 +++++++++++++++++++--
 src/conf/network_conf.h                            |  20 ++
 src/libvirt_private.syms                           |   2 +
 src/network/bridge_driver.c                        |  41 +++
 src/util/virnetdev.c                               |  44 +++
 src/util/virnetdev.h                               |   5 +
 src/util/virsocketaddr.c                           |  43 +++
 src/util/virsocketaddr.h                           |   3 +
 .../networkxml2xmlin/dhcp6host-routed-network.xml  |   2 +
 .../networkxml2xmlout/dhcp6host-routed-network.xml |   2 +
 12 files changed, 600 insertions(+), 28 deletions(-)


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