Statistics
| Branch: | Tag: | Revision:

root / lib @ 7b4bde57

Name Size
  build
  client
  cmdlib
  confd
  http
  hypervisor
  impexpd
  jqueue
  masterd
  rapi
  rpc
  server
  storage
  tools
  utils
  watcher
__init__.py 1.2 kB
_constants.py.in 285 Bytes
asyncnotifier.py 6.1 kB
backend.py 151.7 kB
bootstrap.py 42.9 kB
cli.py 144.3 kB
compat.py 5.2 kB
config.py 103.4 kB
constants.py 2.9 kB
daemon.py 28.1 kB
errors.py 10.9 kB
hooksmaster.py 10 kB
ht.py 17.5 kB
jstore.py 6.1 kB
locking.py 60.9 kB
luxi.py 8.1 kB
mcpu.py 22.1 kB
netutils.py 19.7 kB
network.py 7.7 kB
objects.py 71.9 kB
opcodes.py.in_after 391 Bytes
opcodes.py.in_before 7.2 kB
opcodes_base.py 7.8 kB
outils.py 4.5 kB
ovf.py 66 kB
pathutils.py 6.4 kB
qlang.py 9.5 kB
query.py 86.7 kB
rpc_defs.py 27 kB
runtime.py 8 kB
serializer.py 10.7 kB
ssconf.py 13.5 kB
ssh.py 10.7 kB
uidpool.py 11.7 kB
vcluster.py 7.7 kB
wconfd.py 1.4 kB
workerpool.py 18.3 kB

Latest revisions

# Date Author Comment
7b4bde57 04/17/2014 06:59 pm Petr Pudlak

Add Haskell and Python modules for running jobs as processes

They will be used by Luxi daemon to spawn jobs as separate processes.

The communication protocol between the Luxi daemon and a spawned process
is described in the documentation of module Ganeti.Query.Exec....

53eea5bb 04/17/2014 06:56 pm Petr Pudlak

Allow GanetiContext to get a livelock as a parameter

.. so that job processes can supply the livelock inherited from the
master process.

Also add a logging statement for creating the job queue (which will be
removed when we get rid of Python job queues completely)....

c061d046 04/17/2014 06:56 pm Petr Pudlak

Add a method for checking if a particular job has ended

This will be used by job processes temporarily, until they get rid of
using job queue completely.

Signed-off-by: Petr Pudlak <>
Reviewed-by: Klaus Aehlig <>

31ff0993 04/17/2014 06:56 pm Petr Pudlak

Replace direct access to livelock.lockfile by a method call

.. so that it works for LiveLockName as well.

Signed-off-by: Petr Pudlak <>
Reviewed-by: Klaus Aehlig <>

ed97d401 04/17/2014 06:56 pm Petr Pudlak

Add a passive class for representing inherited live-locks

Since job processes inherit their live-lock files from the master
process, they don't directly work with the file, they just need to use
the name.

This class exposes the same interface as LiveLock for such pre-created...

14d4d2f9 04/17/2014 06:56 pm Petr Pudlak

Add a transport that works over FDs instead a socket

This allows to set up a client using the Luxi-like protocol over a pipe,
which will be needed for job processes to communicate with their parent
process.

While at it, fix the style of calling init in AbstractStubClient....

4b06d701 04/17/2014 06:56 pm Petr Pudlak

Create a Python submodule for jqueue

.. so that we can add new code into separate files, instead of adding it
to jqueue.py, which has already grown too large.

Signed-off-by: Petr Pudlak <>
Reviewed-by: Klaus Aehlig <>

30350df5 04/16/2014 01:53 pm Jose A. Lopes

Add Xen nothing state '------'

... which means that a domain is in the queue behind other domains
waiting to be scheduled. The domain is runnable but it is not
currently running.

Signed-off-by: Jose A. Lopes <>
Reviewed-by: Hrvoje Ribicic <>

749a2b90 04/15/2014 06:34 pm Jose A. Lopes

Add instance communication for Xen

  • add path to the 'xen-ifup-os' script that configures interfaces
  • fix if-elif construct
  • generate names of the form 'gnt.com.%d' for instance communication TAP interfaces
  • add 'vifname' property to the 'vif' field of the configuration of a domain...
9e42978e 04/15/2014 06:34 pm Jose A. Lopes

Move 'ConfigureNIC' to 'hv_base'

... so it can be reused by the Xen hypervisor.

Signed-off-by: Jose A. Lopes <>
Reviewed-by: Hrvoje Ribicic <>

View revisions

Also available in: Atom