[test-API PATCH 0/6] General improvements and fixes

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

 



This series fixed some of the issues I came across while trying to
make some tests working. I still haven't managed to run more than
define, start, destroy and undefine tests, but at least this should
help someone to get a start at this.

There are many things that could (should?) be changed (either with or
without a discussion), but maybe I missed something, so feel free to
comment on all the patches if you have any input, I'll be glad to
discuss/change anything in order to move forward.

Each of the patches has it's own description and they are not that
much related to each other, so I won't describe it all here again, I
just didn't want to create unnecessary threads in the mailing list, so
I'm sending this as a series.

Martin Kletzander (6):
  Slight cross-distribution support
  Added support for Gentoo
  Fixed domain/start.py
  Add default 'uri' parameter to all tests
  Cleanup and fix of domain/define test
  Make use of new 'uri' parameter in tests

 env_inspect.py => dist/gentoo/env_inspect.py       |   88 +++++---------
 env_inspect.py => dist/redhat/env_inspect.py       |    0
 generator.py                                       |   18 +++-
 repos/domain/attach_disk.py                        |    2 +-
 repos/domain/attach_interface.py                   |    2 +-
 repos/domain/autostart.py                          |    2 +-
 repos/domain/balloon_memory.py                     |    2 +-
 repos/domain/blkstats.py                           |    2 +-
 repos/domain/cpu_affinity.py                       |    2 +-
 repos/domain/cpu_topology.py                       |    2 +-
 repos/domain/create.py                             |    2 +-
 repos/domain/define.py                             |  132 +++----------------
 repos/domain/destroy.py                            |    2 +-
 repos/domain/detach_disk.py                        |    2 +-
 repos/domain/detach_interface.py                   |    2 +-
 repos/domain/domain_blkinfo.py                     |    2 +-
 repos/domain/domain_id.py                          |    2 +-
 repos/domain/domain_uuid.py                        |    2 +-
 repos/domain/dump.py                               |    2 +-
 repos/domain/eventhandler.py                       |    2 +-
 repos/domain/ifstats.py                            |    2 +-
 repos/domain/install_image.py                      |    6 +-
 repos/domain/install_linux_cdrom.py                |    6 +-
 repos/domain/install_linux_check.py                |    2 +-
 repos/domain/install_linux_net.py                  |    7 +-
 repos/domain/install_windows_cdrom.py              |    7 +-
 repos/domain/ownership_test.py                     |    2 +-
 repos/domain/reboot.py                             |    2 +-
 repos/domain/restore.py                            |    2 +-
 repos/domain/resume.py                             |    2 +-
 repos/domain/save.py                               |    2 +-
 repos/domain/sched_params.py                       |    2 +-
 repos/domain/shutdown.py                           |    2 +-
 repos/domain/start.py                              |   17 ++-
 repos/domain/suspend.py                            |    2 +-
 repos/domain/undefine.py                           |    2 +-
 repos/domain/update_devflag.py                     |    2 +-
 repos/interface/create.py                          |    2 +-
 repos/interface/define.py                          |    2 +-
 repos/interface/destroy.py                         |    2 +-
 repos/interface/undefine.py                        |    2 +-
 repos/libvirtd/qemu_hang.py                        |    2 +-
 repos/libvirtd/restart.py                          |    2 +-
 repos/network/autostart.py                         |    2 +-
 repos/network/create.py                            |    2 +-
 repos/network/define.py                            |    2 +-
 repos/network/destroy.py                           |    2 +-
 repos/network/network_list.py                      |    2 +-
 repos/network/network_name.py                      |    2 +-
 repos/network/network_uuid.py                      |    2 +-
 repos/network/start.py                             |    2 +-
 repos/network/undefine.py                          |    2 +-
 repos/nodedevice/detach.py                         |    2 +-
 repos/nodedevice/reattach.py                       |    2 +-
 repos/nodedevice/reset.py                          |    2 +-
 repos/npiv/create_virtual_hba.py                   |    2 +-
 .../multiple_thread_block_on_domain_create.py      |    2 +-
 repos/sVirt/domain_nfs_start.py                    |    4 +-
 repos/snapshot/delete.py                           |    2 +-
 repos/snapshot/file_flag.py                        |    2 +-
 repos/snapshot/flag_check.py                       |    2 +-
 repos/snapshot/internal_create.py                  |    2 +-
 repos/snapshot/revert.py                           |    2 +-
 repos/storage/activate_pool.py                     |    2 +-
 repos/storage/build_dir_pool.py                    |    2 +-
 repos/storage/build_disk_pool.py                   |    2 +-
 repos/storage/build_logical_pool.py                |    2 +-
 repos/storage/build_netfs_pool.py                  |    2 +-
 repos/storage/create_dir_pool.py                   |    2 +-
 repos/storage/create_dir_volume.py                 |    2 +-
 repos/storage/create_fs_pool.py                    |    2 +-
 repos/storage/create_iscsi_pool.py                 |    2 +-
 repos/storage/create_logical_volume.py             |    2 +-
 repos/storage/create_netfs_pool.py                 |    2 +-
 repos/storage/create_netfs_volume.py               |    2 +-
 repos/storage/create_partition_volume.py           |    2 +-
 repos/storage/define_dir_pool.py                   |    2 +-
 repos/storage/define_disk_pool.py                  |    2 +-
 repos/storage/define_iscsi_pool.py                 |    2 +-
 repos/storage/define_logical_pool.py               |    2 +-
 repos/storage/define_mpath_pool.py                 |    2 +-
 repos/storage/define_netfs_pool.py                 |    2 +-
 repos/storage/define_scsi_pool.py                  |    2 +-
 repos/storage/delete_dir_volume.py                 |    2 +-
 repos/storage/delete_logical_pool.py               |    2 +-
 repos/storage/delete_logical_volume.py             |    2 +-
 repos/storage/delete_netfs_volume.py               |    2 +-
 repos/storage/delete_partition_volume.py           |    2 +-
 repos/storage/destroy_pool.py                      |    2 +-
 repos/storage/pool_name.py                         |    2 +-
 repos/storage/pool_uuid.py                         |    2 +-
 repos/storage/undefine_pool.py                     |    2 +-
 utils/Python/utils.py                              |   45 +++++++-
 93 files changed, 223 insertions(+), 271 deletions(-)
 create mode 100644 dist/__init__.py
 create mode 100644 dist/gentoo/__init__.py
 copy env_inspect.py => dist/gentoo/env_inspect.py (57%)
 create mode 100644 dist/redhat/__init__.py
 rename env_inspect.py => dist/redhat/env_inspect.py (100%)

--
1.7.3.4

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