Statistics
| Branch: | Tag: | Revision:

root / lib @ b31176b0

Name Size
  build
  client
  confd
  http
  hypervisor
  impexpd
  masterd
  rapi
  server
  tools
  utils
  watcher
__init__.py 820 Bytes
asyncnotifier.py 6 kB
backend.py 112.6 kB
bdev.py 86.6 kB
bootstrap.py 33 kB
cache.py 5.4 kB
cli.py 110.3 kB
cmdlib.py 540.5 kB
compat.py 3.9 kB
config.py 73.3 kB
constants.py 54.6 kB
daemon.py 26.7 kB
errors.py 10.4 kB
ht.py 9.7 kB
jqueue.py 73.4 kB
jstore.py 4.6 kB
locking.py 55.6 kB
luxi.py 15.5 kB
mcpu.py 22.4 kB
netutils.py 18.2 kB
objects.py 56.5 kB
opcodes.py 58 kB
ovf.py 63 kB
qlang.py 9.2 kB
query.py 67.5 kB
rpc.py 22.2 kB
rpc_defs.py 21.1 kB
runtime.py 6.3 kB
serializer.py 4 kB
ssconf.py 15.7 kB
ssh.py 8.6 kB
storage.py 13.2 kB
uidpool.py 11.8 kB
workerpool.py 14.3 kB

Latest revisions

# Date Author Comment
b31176b0 04/20/2012 05:19 pm Michael Hanselmann

Remove unused constants

These are not used anywhere in Python or Haskell.

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

0fdf247d 04/19/2012 09:04 pm Michael Hanselmann

Convert listing exports to query2

This solves one case where locks are acquired during LUXI queries.
Pretty late into the transition I noticed that OpBackupQuery had a
“use_locking” parameter for a long time, but didn't use it. Since
most of the other changes were already and this allows exports to...

dd27bc21 04/19/2012 09:04 pm Michael Hanselmann

utils.algo: Use str.isdigit instead of regular expression

str.isdigit is about 4x faster than using a regular expression ("\d+").
This is in the inner sorting code so speed matters.

$ python -m timeit -s 'import re; s = re.compile("^\d+$")' \
's.match(""); s.match("Hello World"); s.match("1234")'...

b5800ee9 04/19/2012 11:44 am Chris Schrier

Include PycURL error code in GanetiApiError.

Signed-off-by: Chris Schrier <>
Reviewed-by: Iustin Pop <>

b4b3266b 04/18/2012 07:13 pm Michael Hanselmann

Drop objects.QueryRequest

It was only used in one place and wasn't really necessary.

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

ed4d8889 04/18/2012 07:07 pm Michael Hanselmann

gnt-os modify: Add "--submit" option

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

c5a66db3 04/18/2012 07:07 pm Michael Hanselmann

gnt-node: Add "--submit" and "--priority" to commands

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

f70bb622 04/18/2012 07:07 pm Michael Hanselmann

gnt-instance: Add "--submit" and "--priority" to commands

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

dcbeccd9 04/18/2012 07:07 pm Michael Hanselmann

gnt-group: Add "--submit" and "--priority" to commands

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

745dae57 04/18/2012 07:07 pm Michael Hanselmann

gnt-cluster modify: Add "--submit" option

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

View revisions

Also available in: Atom