Statistics
| Branch: | Tag: | Revision:

root / lib @ c3029d0a

Name Size
  confd
  http
  hypervisor
  rapi
__init__.py 791 Bytes
asyncnotifier.py 1.8 kB
backend.py 80.5 kB
bdev.py 58.9 kB
bootstrap.py 19.1 kB
cli.py 32.6 kB
cmdlib.py 267.5 kB
config.py 40.8 kB
constants.py 17 kB
daemon.py 11.8 kB
errors.py 6.6 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.3 kB
opcodes.py 17.7 kB
rpc.py 33.8 kB
serializer.py 3.1 kB
ssconf.py 10.1 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
c3029d0a 08/11/2009 11:25 am Luca Bigliardi

Ssconf IP lists: change separator

Use " " instead of ",".

Signed-off-by: Luca Bigliardi <>

5909fb97 08/10/2009 09:26 pm Luca Bigliardi

Map Node/IP in ssconf IP lists

Map the node hostname with its primary/secondary ganeti IP in ssconf.
In this way a node can discover which are its IPs simply grepping ssconf files,
thus avoiding checks depending on network configuration.

Signed-off-by: Luca Bigliardi <>...

71f27d19 08/10/2009 04:46 pm Guido Trotter

confd.server.ConfdProcessor

A ConfdProcessor is the job processor for a confd query.
It's responsible for all the processing, from unpacking it, verifying
it, to calculating the result.

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

12426ae1 08/10/2009 03:57 pm Guido Trotter

Add empty ganeti.confd module

It will be used for the confd server code, and for a basic client
library.

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

ad8b2f9b 08/10/2009 03:56 pm Guido Trotter

SimpleConfigReader: s/Reload/_Load/

Since we use it also to load the config file initially we rename the
Reload function to _Load. Then we re-export it as Reload to clients
(since for them it's a reload).

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

7bcc78e4 08/10/2009 03:56 pm Guido Trotter

SimpleConfigReader.Reload, avoid double reloads

If for some reason we try to call Reload twice but the config file
hasn't changed, we don't want to load it again. Use stat() on the file
to cheaply avoid that situation.

We also return a boolean value, according to whether we have reloaded...

b125e3b3 08/10/2009 03:56 pm Guido Trotter

Basic exceptions used by confd

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

31c2a99e 08/10/2009 03:56 pm Guido Trotter

Reply status constants for confd

These are valid values for the "status" field in objects.ConfdReply

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

18679072 08/10/2009 03:56 pm Guido Trotter

constants for the confd daemon

Adding the various basic daemon constants for confd.

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

b5f5fae9 08/10/2009 03:23 pm Luca Bigliardi

Post cluster initialization LU

Add an 'empty' logical unit to run hooks after cluster initialization.

Signed-off-by: Luca Bigliardi <>
Reviewed-by: Iustin Pop <>

View revisions

Also available in: Atom