]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: introduce virNetworkPortDefPtr struct and XML support
authorDaniel P. Berrangé <berrange@redhat.com>
Fri, 31 Aug 2018 14:21:34 +0000 (15:21 +0100)
committerDaniel P. Berrangé <berrange@redhat.com>
Mon, 17 Jun 2019 14:19:54 +0000 (15:19 +0100)
commit4b4a981d60d3372fb73bb3546ab1052844b2e3d5
treef3a83e455de1fbdef038af2d266ff6440f6bac14
parentc0c37de2d693f649435a726f63a3e13c71e10fbd
conf: introduce virNetworkPortDefPtr struct and XML support

Introduce a virNetworkPortDefPtr struct to represent the data associated
with a virtual network port. Add APIs for parsing/formatting XML docs
with the data.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
18 files changed:
docs/docs.html.in
docs/formatnetworkport.html.in [new file with mode: 0644]
docs/schemas/networkcommon.rng
docs/schemas/networkport.rng [new file with mode: 0644]
libvirt.spec.in
src/conf/Makefile.inc.am
src/conf/virnetworkportdef.c [new file with mode: 0644]
src/conf/virnetworkportdef.h [new file with mode: 0644]
src/libvirt_private.syms
tests/Makefile.am
tests/virnetworkportxml2xmldata/plug-bridge-mactbl.xml [new file with mode: 0644]
tests/virnetworkportxml2xmldata/plug-bridge.xml [new file with mode: 0644]
tests/virnetworkportxml2xmldata/plug-direct.xml [new file with mode: 0644]
tests/virnetworkportxml2xmldata/plug-hostdev-pci.xml [new file with mode: 0644]
tests/virnetworkportxml2xmldata/plug-network.xml [new file with mode: 0644]
tests/virnetworkportxml2xmldata/plug-none.xml [new file with mode: 0644]
tests/virnetworkportxml2xmltest.c [new file with mode: 0644]
tests/virschematest.c