Statistics
| Branch: | Tag: | Revision:

root / lib @ 62e999a5

Name Size
  build
  client
  confd
  http
  hypervisor
  impexpd
  masterd
  rapi
  server
  watcher
__init__.py 820 Bytes
asyncnotifier.py 6 kB
backend.py 101 kB
bdev.py 66.7 kB
bootstrap.py 26.4 kB
cli.py 93.3 kB
cmdlib.py 384.5 kB
compat.py 3.7 kB
config.py 59.2 kB
constants.py 32.2 kB
daemon.py 23.1 kB
errors.py 9.6 kB
ht.py 3.9 kB
jqueue.py 58.5 kB
jstore.py 3.7 kB
locking.py 47.8 kB
luxi.py 15.5 kB
mcpu.py 18.8 kB
netutils.py 13.6 kB
objects.py 41.5 kB
opcodes.py 36.5 kB
qlang.py 2.6 kB
query.py 29.3 kB
rpc.py 46.1 kB
runtime.py 3.3 kB
serializer.py 4.5 kB
ssconf.py 14.9 kB
ssh.py 8.6 kB
storage.py 12.5 kB
uidpool.py 11.8 kB
utils.py 110.4 kB
workerpool.py 13.3 kB

Latest revisions

# Date Author Comment
cfaeaaf7 01/05/2011 01:27 pm Michael Hanselmann

baserlib: Add function for filling opcodes

This function makes use of the opcode parameters which now live
directly in the opcode. A number of RAPI resources can now be simplified.

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

62e999a5 01/05/2011 01:27 pm Michael Hanselmann

RAPI: Add resource to modify cluster

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

1cbef6d8 01/05/2011 12:42 pm Michael Hanselmann

Migrate code verifying opcode parameters to base class

This allows the function to be used in other places as well.
An optional parameter is added to control whether default
values should be set. Unittests are added, providing full
coverage.

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

dbc96028 01/05/2011 12:40 pm Michael Hanselmann

Improve tests for OP_ID

… by detecting duplicates.

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

0bff0b12 01/05/2011 12:40 pm Michael Hanselmann

cmdlib: Remove opcode parameters

Remove the parameter definitions and use those from the opcode classes
instead. Small style changes are also made (empty lines, wrapping).

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

65e183af 01/05/2011 12:40 pm Michael Hanselmann

opcodes: Add opcode parameter definitions

This is the first step for migrating them from cmdlib. A metaclass is
used to define “__slots__” upon class creation time (not instantiation).

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

a6070ef7 01/05/2011 12:39 pm Michael Hanselmann

query2: Add new field status “offline”

This allows “gnt-node list” to show the difference between modes marked
offline and nodes with e.g. RPC errors (“(nodata)”). node1 is the
master, node2's node daemon crashed and node3 is marked offline:

$ gnt-node list -o name,offline,dtotal,dfree...

8568de9e 01/04/2011 05:10 pm Michael Hanselmann

ht.TInt: Exclude boolean values

See inline comment.

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

72729d6e 01/04/2011 04:42 pm Michael Hanselmann

Cleanup bootstrap.SetupNodeDaemon

- Code formatting
- Use ShellQuote for one argument
- Remove variables no longer used after commit 9294514d

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

cee32223 12/31/2010 02:52 pm Michael Hanselmann

Merge branch 'devel-2.3'

  • devel-2.3:
    Fix typo in gnt-instance manpage
    jqueue: Fix cancelling while in waitlock in queue
    cli: Extend message for LUXI timeouts
    Fix timeout handling in LUXI client

Conflicts:
man/gnt-instance.sgml: Trivial merge in gnt-instance.rst...

View revisions

Also available in: Atom