On Wed, 2018-04-04 at 14:01 +0200, Katerina Koukiou wrote:
This patchset introduces also some basic methods and properties for
Network interface.
More functionality will be added in following patchsets.
New functions are covered by the test suite.
Katerina Koukiou (5):
Introduce Network Interface
Implement ListNetworks method for Connect interface
Implement virtDBusUtilVirNetworkFromBusPath helper function.
Implement Name property for Network interface
Implement NetworkLookupByName method for Connect interface
data/Makefile.am | 3 +-
data/org.libvirt.Connect.xml | 12 +++++
data/org.libvirt.Network.xml | 11 +++++
src/Makefile.am | 3 +-
src/connect.c | 75 ++++++++++++++++++++++++++++++
src/connect.h | 1 +
src/network.c | 107
+++++++++++++++++++++++++++++++++++++++++++
src/network.h | 9 ++++
src/util.c | 33 +++++++++++++
src/util.h | 15 ++++++
test/Makefile.am | 3 +-
test/libvirttest.py | 12 +++++
test/test_connect.py | 11 +++++
I forgot to git add the test_network.py file. I 'll repost.
13 files changed, 292 insertions(+), 3 deletions(-)
create mode 100644 data/org.libvirt.Network.xml
create mode 100644 src/network.c
create mode 100644 src/network.h