Statistics
| Branch: | Tag: | Revision:

root / lib @ 065be3f0

Name Size
  build
  client
  confd
  http
  hypervisor
  impexpd
  masterd
  rapi
  server
  tools
  utils
  watcher
__init__.py 820 Bytes
asyncnotifier.py 6 kB
backend.py 112 kB
bdev.py 77.9 kB
bootstrap.py 33.3 kB
cache.py 5.4 kB
cli.py 107.7 kB
cmdlib.py 515.1 kB
compat.py 3.9 kB
config.py 71.5 kB
constants.py 53.6 kB
daemon.py 26.6 kB
errors.py 10.4 kB
ht.py 9.4 kB
jqueue.py 73.5 kB
jstore.py 4.6 kB
locking.py 55.5 kB
luxi.py 15.8 kB
mcpu.py 21.3 kB
netutils.py 18.2 kB
objects.py 53.3 kB
opcodes.py 52.4 kB
ovf.py 63 kB
qlang.py 9 kB
query.py 61.8 kB
rpc.py 20.6 kB
rpc_defs.py 20.9 kB
runtime.py 5.3 kB
serializer.py 4 kB
ssconf.py 15.7 kB
ssh.py 8.6 kB
storage.py 12.7 kB
uidpool.py 11.8 kB
workerpool.py 14.3 kB

Latest revisions

# Date Author Comment
e78667fe 01/06/2012 01:34 pm Michael Hanselmann

rpc._RpcClientBase: Add check for number of arguments

Just an additional check, useful in unittests.

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

065be3f0 01/06/2012 01:34 pm Michael Hanselmann

Add unittests for RPC client

This patch adds a number of unittests for the RPC client base class.
Some small changes were necessary in “rpc.py” to allow for better
testing.

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

764ff2eb 01/06/2012 01:34 pm Michael Hanselmann

rpc: Style fix

“assert” is a statement, not a function.

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

890ea4ce 01/05/2012 05:30 pm Michael Hanselmann

rpc._NodeConfigResolver: Support resolving offline nodes

This is needed to powercycle a node marked offline.

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

68a856ef 01/05/2012 05:30 pm Michael Hanselmann

rpc_defs: Enable “node_powercycle” for offline nodes

With this change it's possible to powercycle nodes marked as offline. Of
course the node might not be running the node daemon anymore.

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

f863d7aa 01/05/2012 05:30 pm Michael Hanselmann

rpc._RpcProcessor: Make read timeout a non-keyword argument

It is always used and can be set to “None” if intended.

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

dd6d2d09 01/05/2012 05:30 pm Michael Hanselmann

rpc: Add support for resolver options callback

This adds support for a callback returning name resolver options. This
is required for powercycling offline nodes. While it would be possible
to implement this using a separate RPC client class, doing so would...

fce5efd1 01/05/2012 05:30 pm Michael Hanselmann

rpc: Pass resolver options to actual resolver

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

aa66c183 12/22/2011 07:16 pm Michael Hanselmann

Merge branch 'devel-2.5'

  • devel-2.5:
    jqueue: Factorize checking job processor's result
    jqueue unittest: Rename simple fake-job class
    jqueue: Fix epylint errors introduced in 37d76f1e4
    jqueue: Fix deadlock between job queue and dependency manager...
4f44e311 12/22/2011 06:41 pm Michael Hanselmann

Merge branch 'stable-2.5' into devel-2.5

  • stable-2.5:
    jqueue: Fix epylint errors introduced in 37d76f1e4
    jqueue: Fix deadlock between job queue and dependency manager

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

View revisions

Also available in: Atom