Statistics
| Branch: | Tag: | Revision:

root / lib @ 920b5878

Name Size
  http
  hypervisor
  rapi
__init__.py 791 Bytes
backend.py 79.5 kB
bdev.py 55.2 kB
bootstrap.py 18.4 kB
cli.py 32 kB
cmdlib.py 250.9 kB
config.py 40.3 kB
constants.py 14.6 kB
daemon.py 8.1 kB
errors.py 5.9 kB
jqueue.py 38.8 kB
jstore.py 3.8 kB
locking.py 29.7 kB
luxi.py 10.6 kB
mcpu.py 13.5 kB
objects.py 26.2 kB
opcodes.py 16.6 kB
rpc.py 32.9 kB
serializer.py 1.7 kB
ssconf.py 7.9 kB
ssh.py 7.2 kB
utils.py 55.7 kB
workerpool.py 9 kB

Latest revisions

# Date Author Comment
920b5878 06/24/2009 06:17 pm Guido Trotter

Convert ssconf._ReadFile to utils.ReadFile

Making ssconf._ReadFile a wrapper over utils.ReadFile

Signed-off-by: Guido Trotter <>

396b5733 06/23/2009 06:29 pm Iustin Pop

backend.StartMaster: fix variable name

As per comments for patch “Convert node_start_master to new style
result”, the ‘payload’ variable is renamed to ‘err_msgs’.

Signed-off-by: Iustin Pop <>
Reviewed-by: Guido Trotter <>

6f59b964 06/19/2009 04:24 pm Iustin Pop

rapi: implement dry-run mode

This patch implements dry-run mode for the operations which modify the
state of the cluster. Dry-run mode is enabled by passing a 'dry-run'
query argument with positive integer value.

Signed-off-by: Iustin Pop <>...

08896026 06/19/2009 04:24 pm Iustin Pop

LUCreateInstance: the node list as return value

Currently LUCreateInstance has no result; this patch changes it so that
both the normal result and the dry-run result is the node list of the
selected instance.

Signed-off-by: Iustin Pop <>...

64c65a2a 06/19/2009 04:24 pm Iustin Pop

Implement dry-run mode at cli level (partially)

This patch adds support for the dry-run mode for all command line
operations, and also makes use of this for commands using the
SubmitOrSend function. For the ones not using it, the flag has no
effect (future patches)....

20777413 06/19/2009 04:24 pm Iustin Pop

LU execution: implement dry-run framework

This patch adds a new (global) opcode flag 'dry_run' which, when True,
causes early exit from the LU workflow, returning a special value from
the LU object (initialized in the parent LogicalUnit class, and which if...

4f05fd3b 06/19/2009 04:23 pm Iustin Pop

Introduce slots deriving in opcodes.py

This simple patch adds to all opcodes extension of the base opcode
slots. This way we can add slots across all opcodes, for example
'dry-run'.

Signed-off-by: Iustin Pop <>
Reviewed-by: Guido Trotter <>

f2fd87d7 06/19/2009 02:14 pm Iustin Pop

Fix some small epydoc warnings

Signed-off-by: Iustin Pop <>
Reviewed-by: Guido Trotter <>

29921401 06/18/2009 01:49 pm Iustin Pop

Fix various pylint warnings

There were multiple issues:
- copy-paste resulted in wrong indentation
- wrong function name
- missing spaces around assignment
- overriding built-in names (type, dir) or already defines ones
(errors, hypervisor)

Signed-off-by: Iustin Pop <>...

495cfdf0 06/17/2009 04:22 pm Guido Trotter

RAPI: move to nic parameters

In query we ask for nic.links, rather than nic.bridges
In create we accept both "link" and "bridge" and let the opcode deal
with it. Note that we still can create only one nic per instance.

Signed-off-by: Guido Trotter <>...

View revisions

Also available in: Atom