Statistics
| Branch: | Tag: | Revision:

root / lib @ 46d0a3d0

Name Size
  build
  confd
  http
  hypervisor
  impexpd
  masterd
  rapi
__init__.py 820 Bytes
asyncnotifier.py 5.1 kB
backend.py 99 kB
bdev.py 64.9 kB
bootstrap.py 24.7 kB
cli.py 78.2 kB
cmdlib.py 364.6 kB
compat.py 3.7 kB
config.py 49.2 kB
constants.py 28.4 kB
daemon.py 21.2 kB
errors.py 8.9 kB
jqueue.py 47.8 kB
jstore.py 3.6 kB
locking.py 41.1 kB
luxi.py 13.5 kB
mcpu.py 20.2 kB
netutils.py 8.5 kB
objects.py 35.7 kB
opcodes.py 20.9 kB
rpc.py 43.2 kB
serializer.py 4.5 kB
ssconf.py 14.1 kB
ssh.py 7.9 kB
storage.py 12.5 kB
uidpool.py 11.8 kB
utils.py 102.2 kB
workerpool.py 9.9 kB

Latest revisions

# Date Author Comment
46d0a3d0 08/13/2010 08:25 pm Michael Hanselmann

workerpool: Don't keep reference to task arguments

The workerpool should not keep any reference to task arguments after
they were processed by RunTask. Doing so led to jobs being cached
by the job queue's WeakValueDictionary for longer than they should've...

5d297d8a 08/13/2010 08:25 pm Michael Hanselmann

cli.SubmitOpCode: Pass keyword parameter as keyword

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Manuel Franceschini <>

85b3901b 08/10/2010 07:35 pm Michael Hanselmann

masterd.instance: Add missing argument

_DiskTransferPrivate takes three parameters, not two.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Manuel Franceschini <>

c63eb9c0 08/10/2010 06:56 pm Michael Hanselmann

RAPI client: Fix docstring for migrating instance

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

d654aae1 08/10/2010 06:56 pm Michael Hanselmann

RAPI client: Support renaming instances

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

d56e7dc7 08/10/2010 06:55 pm Michael Hanselmann

Allow renaming instances via RAPI

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

a5eba783 08/10/2010 06:55 pm Michael Hanselmann

RAPI client: Don't re-use PycURL object

With this patch, a new PycURL object will be created for each request.
This should make the RAPI client safe for simultaneous calls from
multiple threads. Unittests are adjusted accordingly.

An unnecessary variable assignment is also removed from the unittest...

fcee765d 08/05/2010 08:37 pm Manuel Franceschini

Fix bug in bdev when drbd version format is x.x.x.x

This patch fixes a bug reported in [0]. Newer drbd versions can have
another digit beyond the regular major, minor and point release digits.
We modify the regex used to match that with an optional parts which is...

cc87d736 07/30/2010 06:33 pm Michael Hanselmann

Allow instance NIC's IP address to be None

Also add some assertions.

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

59525e1f 07/30/2010 06:33 pm Michael Hanselmann

Add new parameter type “maybe string”

Before strict checking was implemented, NIC IP addresses could be set
to “None”. Commit bd061c35 added more strict checking, including
enforcing the IP address to be a string. With this new type, it
can again be set to None....

View revisions

Also available in: Atom