Statistics
| Branch: | Tag: | Revision:

root / lib @ 7c74bbe0

Name Size
  build
  client
  confd
  http
  hypervisor
  impexpd
  masterd
  rapi
  server
  tools
  utils
  watcher
__init__.py 820 Bytes
asyncnotifier.py 6 kB
backend.py 110.8 kB
bdev.py 71.6 kB
bootstrap.py 30.6 kB
cache.py 5.4 kB
cli.py 104.1 kB
cmdlib.py 481.8 kB
compat.py 3.8 kB
config.py 66.5 kB
constants.py 45.6 kB
daemon.py 23.6 kB
errors.py 10.3 kB
ht.py 9.4 kB
jqueue.py 71.7 kB
jstore.py 4.6 kB
locking.py 53.8 kB
luxi.py 15.8 kB
mcpu.py 21.3 kB
netutils.py 18.2 kB
objects.py 44.1 kB
opcodes.py 51.2 kB
ovf.py 63 kB
qlang.py 9 kB
query.py 59.9 kB
rpc.py 20.7 kB
rpc_defs.py 16.7 kB
runtime.py 5.3 kB
serializer.py 4.8 kB
ssconf.py 15.5 kB
ssh.py 8.6 kB
storage.py 12.7 kB
uidpool.py 11.8 kB
workerpool.py 13.3 kB

Latest revisions

# Date Author Comment
7c74bbe0 11/02/2011 03:03 pm Andrea Spadaccini

Change the semantics of stop_master RPC

To avoid polluting the stop_master RPC interface with network
parameters, this patch removes the deactivation of the master IP from
this RPC.

The call to deactivate_master_ip is then added before every stop_master...

8da2bd43 11/02/2011 03:03 pm Andrea Spadaccini

Explicitly pass params to activate_master_ip

To remove the usage of ssconf in the backend, the master needs to push
the parameters of activate_master_ip to the backend.

This patch changes the entire call path of activate_master_ip to use the
new interface....

5d7a899e 11/02/2011 02:54 pm Michael Hanselmann

locking: Make level names consistent, add check

- Change all lock level names to their singular form
- Add assertion checking consistency between level names and lockset
name

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

4e070776 11/02/2011 02:54 pm Michael Hanselmann

Add new lock level for node resource modifications

This is in preparation for implementing a new resource model.

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

2d88fdd3 11/01/2011 08:37 pm Andrea Spadaccini

Add master IP turnup and turndown hooks

Signed-off-by: Andrea Spadaccini <>
Reviewed-by: Michael Hanselmann <>

0fa481f5 11/01/2011 08:37 pm Andrea Spadaccini

Add RunLocalHooks decorator

Add the RunLocalHooks decorator, that allows the execution of hooks
locally. Also, add a RunLocalHooks method to HooksRunner, to adapt the
signature of HooksRunner.RunHooks to the one expected by HooksMaster,
and also to check that the hooks are being executed locally....

949dcb1d 11/01/2011 08:37 pm Andrea Spadaccini

Generalize HooksMaster

- remove any dependence on Logical Units from the HooksMaster;
- add a new function parameter to the constructor, a function that is
expected to convert the results of the hooks execution in a format
understood by the HooksMaster;...

8e709b21 11/01/2011 06:01 pm Michael Hanselmann

RAPI: Fix issue when replacing disks

This is another fallout from a suboptimal merge.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Andrea Spadaccini <>

cd40dc53 11/01/2011 05:17 pm Michael Hanselmann

rpc: Improve argument definitions

Instead of in-place code now each argument has an (optional) kind
assigned. The RPC client will then take care of encoding each argument
according to its definition. A new base (_RpcClientBase) is added to
take care of encoding and dispatching calls....

b8c160c1 11/01/2011 05:17 pm Michael Hanselmann

rpc: Change {import,export}_start to take source/dest in single argument

This simplifies the RPC argument encoding code.

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

View revisions

Also available in: Atom