Statistics
| Branch: | Tag: | Revision:

root / test @ 33b4fa9f

Name Size
  data
cfgupgrade_unittest.py 11.9 kB
check-cert-expired_unittest.bash 1.9 kB
cli-test.bash 184 Bytes
daemon-util_unittest.bash 2.5 kB
docs_unittest.py 9.9 kB
ganeti-cleaner_unittest.bash 5.1 kB
ganeti-cli.test 504 Bytes
ganeti.asyncnotifier_unittest.py 6.7 kB
ganeti.backend_unittest.py 3.3 kB
ganeti.bdev_unittest.py 14 kB
ganeti.cache_unittest.py 3.6 kB
ganeti.cli_unittest.py 32 kB
ganeti.client.gnt_cluster_unittest.py 5.2 kB
ganeti.client.gnt_instance_unittest.py 7 kB
ganeti.cmdlib_unittest.py 42.6 kB
ganeti.compat_unittest.py 3.3 kB
ganeti.confd.client_unittest.py 7.1 kB
ganeti.config_unittest.py 13.5 kB
ganeti.constants_unittest.py 5.4 kB
ganeti.daemon_unittest.py 24 kB
ganeti.errors_unittest.py 2.9 kB
ganeti.hooks_unittest.py 17.1 kB
ganeti.ht_unittest.py 8.8 kB
ganeti.http_unittest.py 26.2 kB
ganeti.hypervisor.hv_chroot_unittest.py 1.6 kB
ganeti.hypervisor.hv_fake_unittest.py 1.3 kB
ganeti.hypervisor.hv_kvm_unittest.py 8.4 kB
ganeti.hypervisor.hv_lxc_unittest.py 1.4 kB
ganeti.hypervisor.hv_xen_unittest.py 1.5 kB
ganeti.hypervisor_unittest.py 1.7 kB
ganeti.impexpd_unittest.py 8.5 kB
ganeti.jqueue_unittest.py 76 kB
ganeti.jstore_unittest.py 2.6 kB
ganeti.locking_unittest.py 81.7 kB
ganeti.luxi_unittest.py 8.9 kB
ganeti.masterd.iallocator_unittest.py 2.5 kB
ganeti.masterd.instance_unittest.py 5.7 kB
ganeti.mcpu_unittest.py 5.2 kB
ganeti.netutils_unittest.py 18.7 kB
ganeti.objects_unittest.py 11.9 kB
ganeti.objectutils_unittest.py 1.3 kB
ganeti.opcodes_unittest.py 14.1 kB
ganeti.ovf_unittest.py 29.9 kB
ganeti.qlang_unittest.py 10.2 kB
ganeti.query_unittest.py 72.8 kB
ganeti.rapi.baserlib_unittest.py 5.4 kB
ganeti.rapi.client_unittest.py 51.2 kB
ganeti.rapi.resources_unittest.py 2 kB
ganeti.rapi.rlib2_unittest.py 55.9 kB
ganeti.rapi.testutils_unittest.py 5.3 kB
ganeti.rpc_unittest.py 30.4 kB
ganeti.runtime_unittest.py 5.8 kB
ganeti.serializer_unittest.py 3.4 kB
ganeti.ssh_unittest.py 1.7 kB
ganeti.storage_unittest.py 4.4 kB
ganeti.tools.ensure_dirs_unittest.py 1.8 kB
ganeti.uidpool_unittest.py 3.8 kB
ganeti.utils.algo_unittest.py 12 kB
ganeti.utils.filelock_unittest.py 4.3 kB
ganeti.utils.hash_unittest.py 4.4 kB
ganeti.utils.io_unittest-runasroot.py 3.1 kB
ganeti.utils.io_unittest.py 34 kB
ganeti.utils.log_unittest.py 6.3 kB
ganeti.utils.mlock_unittest.py 1.5 kB
ganeti.utils.nodesetup_unittest.py 4 kB
ganeti.utils.process_unittest.py 22.8 kB
ganeti.utils.retry_unittest.py 4.5 kB
ganeti.utils.text_unittest.py 20.4 kB
ganeti.utils.wrapper_unittest.py 3.8 kB
ganeti.utils.x509_unittest.py 10.3 kB
ganeti.utils_unittest.py 11.9 kB
ganeti.vcluster_unittest.py 8.1 kB
ganeti.workerpool_unittest.py 13.3 kB
gnt-cli.test 1.1 kB
import-export_unittest-helper 2.6 kB
import-export_unittest.bash 11.3 kB
lockperf.py 3.5 kB
mocks.py 2.8 kB
pycurl_reset_unittest.py 2.3 kB
qa.qa_config_unittest.py 3.2 kB
tempfile_fork_unittest.py 3.4 kB
testutils.py 6.3 kB

Latest revisions

# Date Author Comment
33b4fa9f 09/24/2012 02:48 pm René Nussbaumer

Adding some fundamental unittests for iallocator

This test covers the bug fixes found in the previous two patches

Signed-off-by: René Nussbaumer <>
Reviewed-by: Michael Hanselmann <>

05e733b4 09/21/2012 03:44 pm Michael Hanselmann

Add new module for virtual clusters

This module will take care of managing paths for virtual clusters.
Unittests are included (100% coverage).

Signed-off-by: Michael Hanselmann <>
Reviewed-by: René Nussbaumer <>

4af458e3 09/19/2012 04:54 pm Michael Hanselmann

ShellWriter: Add parameter to disable indentation

This will be used to write a more compact bash completion script.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Bernardo Dal Seno <>

a56625a2 09/18/2012 06:11 pm Michael Hanselmann

Migrate test/ganeti.*.py from constants to pathutils

File system paths moved from constants to pathutils.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

0fcd0cad 09/12/2012 12:27 pm René Nussbaumer

Refactor IAllocator code

The IAllocator class was handling all the requests on its own, passing
in parameters on top level which works, but is hard to maintain and not
flexible.

With the upcoming change to the IAllocator for MultiAllocate we can't
use the toplevel parameters anymore. Therefore, we refactor the code...

32683096 09/12/2012 12:27 pm René Nussbaumer

Make the slots functionality more modular

As we will introduce another set of containers using the slots trick
we abstract away as much as possible to separate bases classes. The
child classes then adapt them for their needs. This leads to less code...

0c77c331 09/12/2012 12:27 pm René Nussbaumer

Move _CalculateGroupIPolicy and _ComputeDiskSize

This makes it possible to better untangle the IAllocator code, which
would otherwise lead to a recursive import structure as we need those
helpers there as well.

Signed-off-by: René Nussbaumer <>...

b8a9c7f2 09/04/2012 04:50 pm Iustin Pop

Move shelltests from test/ to htest/shelltests/

This is another rather trivial patch, moving all the (htools)
shelltests to their own directory.

Signed-off-by: Iustin Pop <>
Reviewed-by: René Nussbaumer <>

8feabc89 09/04/2012 04:49 pm Iustin Pop

Move htools test files from test/data/htools to htest/data

Following up on the program moves, we now move the test data files.

Signed-off-by: Iustin Pop <>
Reviewed-by: Agata Murawska <>

303bc802 08/28/2012 06:00 pm Iustin Pop

Implement support for query only clients in Rapi

This implements the same query=True|False functionality as in
GetClient for cli.py, however since the RAPI code is much more
unit-tested (and the unit-test clients are mocked, for the most part,
without support for addresses) we have to do many adaptations in the...

View revisions

Also available in: Atom