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

[libvirt] [PATCH 0/3] Add tests for network update XML parsing



Ján Tomko (3):
  Add space before the slash in dns srv entries
  Reverse logic allowing partial DHCP host XML
  Test network XML update

 src/conf/network_conf.h                            |   9 +
 src/libvirt_private.syms                           |   1 +
 src/conf/network_conf.c                            |  25 +-
 tests/Makefile.am                                  |   9 +-
 tests/networkxml2xmltest.c                         |   3 +
 tests/networkxml2xmlupdatetest.c                   | 372 +++++++++++++++++++++
 .../nat-network-dns-srv-records.xml                |  27 ++
 .../nat-network-dns-srv-records.xml                |  27 ++
 .../networkxml2xmlupdatein/dhcp-range-existing.xml |   1 +
 tests/networkxml2xmlupdatein/dhcp-range.xml        |   1 +
 .../dns-host-gateway-incomplete.xml                |   3 +
 tests/networkxml2xmlupdatein/dns-host-pudding.xml  |   3 +
 .../dns-txt-record-example.xml                     |   1 +
 .../dns-txt-record-snowman.xml                     |   1 +
 tests/networkxml2xmlupdatein/host-existing.xml     |   1 +
 tests/networkxml2xmlupdatein/host-incomplete.xml   |   1 +
 .../networkxml2xmlupdatein/host-new-incomplete.xml |   1 +
 tests/networkxml2xmlupdatein/host-new.xml          |   1 +
 tests/networkxml2xmlupdatein/host-updated.xml      |   1 +
 tests/networkxml2xmlupdatein/interface-eth1.xml    |   1 +
 tests/networkxml2xmlupdatein/interface-eth47.xml   |   1 +
 .../networkxml2xmlupdatein/portgroup-alice-new.xml |  10 +
 tests/networkxml2xmlupdatein/portgroup-alison.xml  |  11 +
 tests/networkxml2xmlupdatein/srv-record-donkey.xml |   1 +
 .../networkxml2xmlupdatein/srv-record-invalid.xml  |   1 +
 .../networkxml2xmlupdatein/srv-record-protocol.xml |   1 +
 .../networkxml2xmlupdatein/srv-record-service.xml  |   1 +
 tests/networkxml2xmlupdatein/srv-record.xml        |   1 +
 .../networkxml2xmlupdatein/unparsable-dns-host.xml |   1 +
 .../dhcp6host-routed-network-another-range.xml     |  27 ++
 .../dhcp6host-routed-network-range.xml             |  27 ++
 .../nat-network-dns-more-hosts.xml                 |  19 ++
 .../nat-network-dns-srv-record.xml                 |  26 ++
 .../nat-network-dns-srv-records.xml                |  27 ++
 .../nat-network-dns-txt-none.xml                   |  23 ++
 .../nat-network-dns-txt-records.xml                |  27 ++
 .../nat-network-forward-ifaces.xml                 |  27 ++
 .../nat-network-host-updated.xml                   |  23 ++
 .../networkxml2xmlupdateout/nat-network-hosts.xml  |  24 ++
 .../nat-network-no-forward-ifaces.xml              |  24 ++
 .../nat-network-no-hosts.xml                       |  10 +
 .../nat-network-no-range.xml                       |  22 ++
 .../nat-network-one-host.xml                       |  22 ++
 tests/networkxml2xmlupdateout/nat-network.xml      |  23 ++
 .../openvswitch-net-modified.xml                   |  33 ++
 .../openvswitch-net-more-portgroups.xml            |  44 +++
 .../openvswitch-net-without-alice.xml              |  23 ++
 47 files changed, 949 insertions(+), 19 deletions(-)
 create mode 100644 tests/networkxml2xmlupdatetest.c
 create mode 100644 tests/networkxml2xmlin/nat-network-dns-srv-records.xml
 create mode 100644 tests/networkxml2xmlout/nat-network-dns-srv-records.xml
 create mode 100644 tests/networkxml2xmlupdatein/dhcp-range-existing.xml
 create mode 100644 tests/networkxml2xmlupdatein/dhcp-range.xml
 create mode 100644 tests/networkxml2xmlupdatein/dns-host-gateway-incomplete.xml
 create mode 100644 tests/networkxml2xmlupdatein/dns-host-pudding.xml
 create mode 100644 tests/networkxml2xmlupdatein/dns-txt-record-example.xml
 create mode 100644 tests/networkxml2xmlupdatein/dns-txt-record-snowman.xml
 create mode 100644 tests/networkxml2xmlupdatein/host-existing.xml
 create mode 100644 tests/networkxml2xmlupdatein/host-incomplete.xml
 create mode 100644 tests/networkxml2xmlupdatein/host-new-incomplete.xml
 create mode 100644 tests/networkxml2xmlupdatein/host-new.xml
 create mode 100644 tests/networkxml2xmlupdatein/host-updated.xml
 create mode 100644 tests/networkxml2xmlupdatein/interface-eth1.xml
 create mode 100644 tests/networkxml2xmlupdatein/interface-eth47.xml
 create mode 100644 tests/networkxml2xmlupdatein/portgroup-alice-new.xml
 create mode 100644 tests/networkxml2xmlupdatein/portgroup-alison.xml
 create mode 100644 tests/networkxml2xmlupdatein/srv-record-donkey.xml
 create mode 100644 tests/networkxml2xmlupdatein/srv-record-invalid.xml
 create mode 100644 tests/networkxml2xmlupdatein/srv-record-protocol.xml
 create mode 100644 tests/networkxml2xmlupdatein/srv-record-service.xml
 create mode 100644 tests/networkxml2xmlupdatein/srv-record.xml
 create mode 100644 tests/networkxml2xmlupdatein/unparsable-dns-host.xml
 create mode 100644 tests/networkxml2xmlupdateout/dhcp6host-routed-network-another-range.xml
 create mode 100644 tests/networkxml2xmlupdateout/dhcp6host-routed-network-range.xml
 create mode 100644 tests/networkxml2xmlupdateout/nat-network-dns-more-hosts.xml
 create mode 100644 tests/networkxml2xmlupdateout/nat-network-dns-srv-record.xml
 create mode 100644 tests/networkxml2xmlupdateout/nat-network-dns-srv-records.xml
 create mode 100644 tests/networkxml2xmlupdateout/nat-network-dns-txt-none.xml
 create mode 100644 tests/networkxml2xmlupdateout/nat-network-dns-txt-records.xml
 create mode 100644 tests/networkxml2xmlupdateout/nat-network-forward-ifaces.xml
 create mode 100644 tests/networkxml2xmlupdateout/nat-network-host-updated.xml
 create mode 100644 tests/networkxml2xmlupdateout/nat-network-hosts.xml
 create mode 100644 tests/networkxml2xmlupdateout/nat-network-no-forward-ifaces.xml
 create mode 100644 tests/networkxml2xmlupdateout/nat-network-no-hosts.xml
 create mode 100644 tests/networkxml2xmlupdateout/nat-network-no-range.xml
 create mode 100644 tests/networkxml2xmlupdateout/nat-network-one-host.xml
 create mode 100644 tests/networkxml2xmlupdateout/nat-network.xml
 create mode 100644 tests/networkxml2xmlupdateout/openvswitch-net-modified.xml
 create mode 100644 tests/networkxml2xmlupdateout/openvswitch-net-more-portgroups.xml
 create mode 100644 tests/networkxml2xmlupdateout/openvswitch-net-without-alice.xml

-- 
1.8.1.5


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