Statistics
| Branch: | Tag: | Revision:

root / lib @ 24d70417

Name Size
  build
  confd
  http
  hypervisor
  masterd
  rapi
__init__.py 820 Bytes
asyncnotifier.py 1.9 kB
backend.py 93.6 kB
bdev.py 63.5 kB
bootstrap.py 22.9 kB
cli.py 71.7 kB
cmdlib.py 341.4 kB
compat.py 2.4 kB
config.py 48.2 kB
constants.py 23.9 kB
daemon.py 11.8 kB
errors.py 8.8 kB
jqueue.py 41.7 kB
jstore.py 3.8 kB
locking.py 40.3 kB
luxi.py 12.8 kB
mcpu.py 20.2 kB
objects.py 31.2 kB
opcodes.py 19.2 kB
rpc.py 37.7 kB
serializer.py 4.6 kB
ssconf.py 14.7 kB
ssh.py 8 kB
storage.py 12.5 kB
uidpool.py 11.6 kB
utils.py 95 kB
workerpool.py 8.9 kB

Latest revisions

# Date Author Comment
24d70417 04/29/2010 04:30 pm Michael Hanselmann

Move cmdlib._VerifyCertificate to utils

This function will also be useful for inter-cluster instance
moves for verifying certificates.

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

b9768937 04/27/2010 05:22 pm Michael Hanselmann

Add wrapper class for signal.set_wrapper_fd

Managing file descriptors is always a bit tricky. Having this in a separate
class is better.

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

1077f25c 04/26/2010 02:30 pm Michael Hanselmann

Merge branch 'devel-2.1'

  • devel-2.1:
    masterd: Log PID, UID and GID of connected client
    qa: Use qa_utils.UploadFile to upload rapi_users file
    devel/upload: add --no-debug option

Conflicts:
lib/utils.py: Trivial

Signed-off-by: Michael Hanselmann <>...

f93f2016 04/23/2010 06:07 pm Michael Hanselmann

masterd: Log PID, UID and GID of connected client

This can be very useful if client programs run as non-root.

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

47f8a2d2 04/23/2010 05:50 pm Michael Hanselmann

Remove two unused RPC functions

Both of these functions, “snapshot_export” and “instance_os_import”,
have been replaced by the instance import/export daemon.

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

b60ea3ff 04/23/2010 05:50 pm Michael Hanselmann

cmdlib: Convert instance import to new style

Use instance data transfer utility to import instances.

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

4fcb1b59 04/23/2010 05:50 pm Michael Hanselmann

cmdlib: Convert instance export to new style

With this change, exports of several disks will occur in parallel. Error
handling has also been improved.

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

5d97d6dd 04/23/2010 05:50 pm Michael Hanselmann

cmdlib: Add utility to transfer instance data within the cluster

This is yet another wrapper around the instance import/export utility
classes, providing an even simpler API for instance imports/exports within
the same cluster.

Signed-off-by: Michael Hanselmann <>...

033a1d00 04/23/2010 05:50 pm Michael Hanselmann

cmdlib: Add utility for instance data import/export

Interpreting the backend's import/export daemon status is a bit tricky.
This utility code keeps track of multiple transfers at the same time.
Users can supply callback functions to react to events.

Timeouts are currently hardcoded. Intra-cluster instance moves will likely...

6b92f2af 04/22/2010 07:12 pm Michael Hanselmann

Merge branch 'devel-2.1'

  • devel-2.1:
    Add a basic unittest for uidpool.RequestUnusedUid
    Factorize LUExportInstance
    Use ints instead of strings to represent user-ids
    QA: fix reimporting instance with different name
    Fix broken commit 9e302a8
    ssh: make quiet configurable...

View revisions

Also available in: Atom