[dbus PATCH v2 00/17] Implement and Test Interface APIs

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

 



original patch series cover letter:
    https://www.redhat.com/archives/libvir-list/2018-July/msg00364.html
    
changes since v1:
    * all commits "make" and "make check"
    * MACString property => MAC property
    * various corrections
    * add tests for all but virConnectListAllInterfaces, 
                            virInterfaceChangeBegin, 
                            virInterfaceChangeCommit, 
                            and virInterfaceChangeRollback
    * commits were reordered to introduce functions before they are 
      needed by the test suite

https://libvirt.org/html/libvirt-libvirt-interface.html

The following functions have been implemented:

    - virConnectListAllInterfaces       (connect method)
    - virInterfaceChangeBegin           (connect method)
    - virInterfaceChangeCommit          (connect method)
    - virInterfaceChangeRollback        (connect method)
    - virInterfaceCreate                (interface method)
    - virInterfaceDefineXML             (connect method)
    - virInterfaceDestroy               (interface method)
    - virInterfaceGetMACString          (property)
    - virInterfaceGetName               (property)
    - virInterfaceGetXMLDesc            (interface method)
    - virInterfaceIsActive              (property)
    - virInterfaceLookupByMACString     (connect method)
    - virInterfaceLookupByName          (connect method)
    - virInterfaceUndefine              (interface method)


Anya Harter (17):
  Introduce Interface Interface
  Implement InterfaceDefineXML method for Connect Interface
  Implement Create method for Interface Interface
  Implement Destroy method for Interface Interface
  Introduce Interface Tests & Test Create method for Interface Interface
  Test Destroy method for Interface Interface
  Implement Undefine method for Interface Interface
  Implement GetXMLDesc method for Interface Interface
  Implement Name property for Interface Interface
  Implement MAC property for Interface Interface
  Implement Active property for Interface Interface
  Implement ListInterfaces method for Connect Interface
  Implement InterfaceChangeBegin method for Connect Interface
  Implement InterfaceChangeCommit method for Connect Interface
  Implement InterfaceChangeRollback method for Connect Interface
  Implement InterfaceLookupByName method for Connect Interface
  Implement InterfaceLookupByMAC method for Connect Interface

 data/Makefile.am               |   1 +
 data/org.libvirt.Connect.xml   |  40 ++++++
 data/org.libvirt.Interface.xml |  42 ++++++
 src/Makefile.am                |   2 +
 src/connect.c                  | 198 ++++++++++++++++++++++++++
 src/connect.h                  |   1 +
 src/interface.c                | 249 +++++++++++++++++++++++++++++++++
 src/interface.h                |   9 ++
 src/util.c                     |  35 +++++
 src/util.h                     |  15 ++
 tests/Makefile.am              |   1 +
 tests/libvirttest.py           |  12 ++
 tests/test_connect.py          |  17 +++
 tests/test_interface.py        |  39 ++++++
 tests/xmldata.py               |  12 ++
 15 files changed, 673 insertions(+)
 create mode 100644 data/org.libvirt.Interface.xml
 create mode 100644 src/interface.c
 create mode 100644 src/interface.h
 create mode 100755 tests/test_interface.py

-- 
2.17.1

--
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]

  Powered by Linux