Statistics
| Branch: | Tag: | Revision:

root / test / py @ 763ad5be

Name Size
bash_completion.bash 5.2 kB
cfgupgrade_unittest.py 16.6 kB
check-cert-expired_unittest.bash 1.9 kB
cli-test.bash 196 Bytes
daemon-util_unittest.bash 2.8 kB
docs_unittest.py 10.2 kB
ganeti-cleaner_unittest.bash 5.9 kB
ganeti-cli.test 504 Bytes
ganeti.asyncnotifier_unittest.py 6.7 kB
ganeti.backend_unittest-runasroot.py 2 kB
ganeti.backend_unittest.py 18.7 kB
ganeti.bdev_unittest.py 23 kB
ganeti.cli_unittest.py 58.3 kB
ganeti.client.gnt_cluster_unittest.py 9.3 kB
ganeti.client.gnt_instance_unittest.py 8.2 kB
ganeti.client.gnt_job_unittest.py 5 kB
ganeti.cmdlib_unittest.py 69.2 kB
ganeti.compat_unittest.py 3.9 kB
ganeti.confd.client_unittest.py 7.1 kB
ganeti.config_unittest.py 21.3 kB
ganeti.constants_unittest.py 6 kB
ganeti.daemon_unittest.py 24.3 kB
ganeti.errors_unittest.py 2.9 kB
ganeti.hooks_unittest.py 17.2 kB
ganeti.ht_unittest.py 9.2 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 11.8 kB
ganeti.hypervisor.hv_lxc_unittest.py 1.4 kB
ganeti.hypervisor.hv_xen_unittest.py 24 kB
ganeti.hypervisor_unittest.py 2 kB
ganeti.impexpd_unittest.py 8.5 kB
ganeti.jqueue_unittest.py 96.3 kB
ganeti.jstore_unittest.py 3.2 kB
ganeti.locking_unittest.py 92 kB
ganeti.luxi_unittest.py 8.9 kB
ganeti.masterd.iallocator_unittest.py 5.1 kB
ganeti.masterd.instance_unittest.py 5.7 kB
ganeti.mcpu_unittest.py 8.9 kB
ganeti.netutils_unittest.py 18.7 kB
ganeti.objects_unittest.py 24.3 kB
ganeti.opcodes_unittest.py 15.7 kB
ganeti.outils_unittest.py 3 kB
ganeti.ovf_unittest.py 30.1 kB
ganeti.qlang_unittest.py 10.2 kB
ganeti.query_unittest.py 73.3 kB
ganeti.rapi.baserlib_unittest.py 5.4 kB
ganeti.rapi.client_unittest.py 57.3 kB
ganeti.rapi.resources_unittest.py 2 kB
ganeti.rapi.rlib2_unittest.py 58.7 kB
ganeti.rapi.testutils_unittest.py 5.3 kB
ganeti.rpc_unittest.py 32.1 kB
ganeti.runtime_unittest.py 5.8 kB
ganeti.serializer_unittest.py 4.3 kB
ganeti.server.rapi_unittest.py 9.1 kB
ganeti.ssconf_unittest.py 8.2 kB
ganeti.ssh_unittest.py 5 kB
ganeti.storage_unittest.py 4.5 kB
ganeti.tools.burnin_unittest.py 1.2 kB
ganeti.tools.ensure_dirs_unittest.py 2.6 kB
ganeti.tools.node_daemon_setup_unittest.py 6.7 kB
ganeti.tools.prepare_node_join_unittest.py 8.7 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 35.5 kB
ganeti.utils.log_unittest.py 8.3 kB
ganeti.utils.lvm_unittest.py 4 kB
ganeti.utils.mlock_unittest.py 1.5 kB
ganeti.utils.nodesetup_unittest.py 4 kB
ganeti.utils.process_unittest.py 24.7 kB
ganeti.utils.retry_unittest.py 4.5 kB
ganeti.utils.text_unittest.py 22 kB
ganeti.utils.wrapper_unittest.py 5.1 kB
ganeti.utils.x509_unittest.py 13.4 kB
ganeti.utils_unittest.py 12.6 kB
ganeti.vcluster_unittest.py 8.7 kB
ganeti.workerpool_unittest.py 19.5 kB
gnt-cli.test 1.5 kB
import-export_unittest-helper 2.6 kB
import-export_unittest.bash 11.3 kB
lockperf.py 3.5 kB
mocks.py 2.9 kB
pycurl_reset_unittest.py 2.3 kB
qa.qa_config_unittest.py 13.7 kB
tempfile_fork_unittest.py 3.4 kB
testutils.py 6.7 kB

Latest revisions

# Date Author Comment
763ad5be 05/17/2013 12:32 pm Thomas Thrainer

cmdlib: Extract storage related functionality

Split instance.py further by extracting storage related logical units
and functions to instance_storage.py.

Signed-off-by: Thomas Thrainer <>
Reviewed-by: Bernardo Dal Seno <>

ec3cc4a8 05/17/2013 12:32 pm Thomas Thrainer

Extract query related logical units from cmdlib

All LUQuery* classes are extracted to query.py.

Signed-off-by: Thomas Thrainer <>
Reviewed-by: Bernardo Dal Seno <>

22b7f6f8 05/17/2013 12:31 pm Thomas Thrainer

Extract instance related logical units from cmdlib

All LUInstance* classes are extracted to instance.py. Common functions
are moved to common.py if used by non-instance logical units as well.
Additionally, helper functions which are only used by LUBackup* and...

31b836b8 05/17/2013 12:31 pm Thomas Thrainer

Extract node related logical units from cmdlib

All LUNode* classes are extracted to node.py. Common functions are moved
to common.py if used by non-node logical units as well.

Signed-off-by: Thomas Thrainer <>
Reviewed-by: Bernardo Dal Seno <>

f380d53c 05/17/2013 12:31 pm Thomas Thrainer

Extract group related logial units from cmdlib

All LUGroup* classes are moved to group.py. Common functions are
extracted to common.py.

Signed-off-by: Thomas Thrainer <>
Reviewed-by: Bernardo Dal Seno <>

7352d33b 05/17/2013 12:31 pm Thomas Thrainer

Extract cluster related logical units from cmdlib

All LUCluster* classes are extracted to cluster.py. Shared functions are
extracted to common.py, helper functions only used by LUCluster* are
extracted to cluster.py.

Signed-off-by: Thomas Thrainer <>...

9db0b351 05/03/2013 03:25 pm Bernardo Dal Seno

Disk templates are "allowed" and not "enabled" in ipolicies

The way disk templates were displayed in instance policies became confusing
since the introduction of the enabled_disk_templates cluster parameter.

Fix issue 440.

Signed-off-by: Bernardo Dal Seno <>...

f73f3567 05/03/2013 03:23 pm Bernardo Dal Seno

Unit test for FillIPolicy keeping unknown keys

This makes sure that issue 401 doesn't come back.

Signed-off-by: Bernardo Dal Seno <>
Reviewed-by: Helga Velroyen <>

65978cb7 04/29/2013 06:54 pm Bernardo Dal Seno

Unit test for cli.FormatPolicyInfo()

We try to parse the string obtained by formatting a policy, and see if we
get the same policy.

Signed-off-by: Bernardo Dal Seno <>
Reviewed-by: Helga Velroyen <>

ef99e3e8 04/29/2013 06:54 pm Bernardo Dal Seno

Add command-line support for multiple specs in ipolicy

Command line options accept multiple min/max specifications in instance
policies. The output of show-ispecs-cmd is updated accordingly.

Signed-off-by: Bernardo Dal Seno <>
Reviewed-by: Helga Velroyen <>

View revisions

Also available in: Atom