Statistics
| Branch: | Tag: | Revision:

root / snf-cyclades-app / synnefo / logic / tests @ 90858bda

Name Size
__init__.py 135 Bytes
callbacks.py 27.6 kB
networks.py 6.5 kB
rapi_pool_tests.py 3.7 kB
reconciliation.py 13.7 kB
servers.py 11.2 kB
utils_tests.py 3.6 kB

Latest revisions

# Date Author Comment
6488097c 08/27/2013 11:25 am Christos Stavrakakis

cyclades: Do not pass 'hotplug' if disabled

Fix passing of hotplug argument to GanetiRAPIClient, in case the
GANETI_USE_HOTPLUG is unset. If the Ganeti version does not support
hotplug, passing hotplug=False, will make the jobs fail at Ganeti opcode
validation. This commit fixes this by passing the argument, only when...

9599e997 08/20/2013 03:41 pm Christos Stavrakakis

cyclades: Add check for net action with no hotplug

In case hotplug is disabled, via GANETI_USE_HOTPLUG setting, network
actions should be allowed only on STOPPED vms. This commit adds this
check and a unittest for this case. Also it makes some other checks...

728e8923 08/07/2013 11:17 am Christos Stavrakakis

cyclades: Fix bug in servers tests

Import settings from django.conf instead of synnefo.

63f9eb8e 07/24/2013 09:15 pm Christos Stavrakakis

cyclades: Reconciliation for pending vm tasks

Extend reconciliation mechanism, to detect instances with stale pending
tasks, by looking if the corresponding job, 'vm.task_job_id', is still
running in the Ganeti backend.

Also refactor code that performed reconciliation for buildign vms, to...

be4d8469 07/17/2013 02:57 pm Christos Stavrakakis

cyclades: Add tests for network reconciliation

0208770b 07/17/2013 02:57 pm Christos Stavrakakis

cyclades: Refactor logic tests

Create tests module to hold all tests for logic.

View revisions

Also available in: Atom