Statistics
| Branch: | Tag: | Revision:

root / lib @ 8113a52e

Name Size
  http
  hypervisor
  rapi
__init__.py 791 Bytes
backend.py 80.5 kB
bdev.py 58.5 kB
bootstrap.py 19.1 kB
cli.py 32.6 kB
cmdlib.py 266.9 kB
config.py 40.7 kB
constants.py 16 kB
daemon.py 11.8 kB
errors.py 6.3 kB
jqueue.py 40.4 kB
jstore.py 3.7 kB
locking.py 29.7 kB
luxi.py 10.8 kB
mcpu.py 13.7 kB
objects.py 27 kB
opcodes.py 17.4 kB
rpc.py 33.8 kB
serializer.py 4.5 kB
ssconf.py 7.8 kB
ssh.py 7.2 kB
storage.py 9.7 kB
utils.py 56.9 kB
workerpool.py 9 kB

Latest revisions

# Date Author Comment
8113a52e 08/05/2009 08:05 pm Luca Bigliardi

Add master candidates IPs informations to ssconf

This will be used when querying confd, in order not to rely on DNS being
available.

Signed-off-by: Luca Bigliardi <>
Signed-off-by: Guido Trotter <>
Reviewed-by: Guido Trotter <>

4c14965f 08/05/2009 05:55 pm Guido Trotter

ConfigObject.ToDict() only export non-None values

The method is changed to a normal loop, to avoid calling getattr()
twice. Also getstate is changed to just use ToDict() by default.

This should also make getstate work for objects which have to
override the ToDict function because they contain other objects....

f9780ccd 08/05/2009 05:55 pm Luca Bigliardi

Add nodes IPs informations to ssconf

Having a list of primary/secondary IPs of all the nodes in ssconf can be useful
for scripts/hooks which need to automatically configure network properties for
the whole cluster (e.g.: ipsec/netfilter rules) without relying on a...

59672ca3 08/05/2009 04:09 pm Guido Trotter

serializer: fix a few docstrings

Signed-off-by: Guido Trotter <>
Reviewed-by: Michael Hanselmann <>

36145b12 08/05/2009 12:13 pm Michael Hanselmann

Use objects for blockdev_getmirrorstatus RPC call result

This patch changes the return type for backend.BlockdevGetmirrorstatus from
a list of tuples to a list of objects.BlockDevStatus instances.

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

96acbc09 08/05/2009 12:12 pm Michael Hanselmann

Use object for blockdev_find RPC call result

This patch changes the return type for backend.BlockdevFind to an object
(objects.BlockDevStatus). Before a tuple was used. Adding more values to
this tuple causes a lot of work. Converting the result to an object with...

a4d138b7 08/04/2009 02:46 pm Michael Hanselmann

cmdlib: Fix parameters for storage.FileStorage

It wants a list of directories, not a string.

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

efb8da02 08/04/2009 12:44 pm Michael Hanselmann

cmdlib: Add opcode to modify storage unit fields

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Guido Trotter <>

8979196a 08/04/2009 12:44 pm Michael Hanselmann

Add RPC calls to modify storage fields

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Guido Trotter <>

9b648ee7 08/04/2009 12:44 pm Michael Hanselmann

storage: Add function to modify fields

This allows the “allocatable” flag on LVM PVs to be changed.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Guido Trotter <>

View revisions

Also available in: Atom