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.
Changes from v1: I forgot to the test_network.py in v1.
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 +++++
test/test_network.py | 19 ++++++++
14 files changed, 311 insertions(+), 3 deletions(-)
create mode 100644 data/org.libvirt.Network.xml
create mode 100644 src/network.c
create mode 100644 src/network.h
create mode 100755 test/test_network.py
--
2.15.0