Statistics
| Branch: | Tag: | Revision:

root / lib @ 87e87959

Name Size
  build
  client
  confd
  http
  hypervisor
  impexpd
  masterd
  rapi
  server
  tools
  utils
  watcher
__init__.py 820 Bytes
asyncnotifier.py 6 kB
backend.py 105 kB
bdev.py 70.5 kB
bootstrap.py 29.1 kB
cli.py 99.3 kB
cmdlib.py 419.7 kB
compat.py 3.7 kB
config.py 62.8 kB
constants.py 35.4 kB
daemon.py 23.5 kB
errors.py 10.1 kB
ht.py 5.9 kB
jqueue.py 58.1 kB
jstore.py 4.6 kB
locking.py 48.8 kB
luxi.py 15.7 kB
mcpu.py 18.2 kB
netutils.py 13.6 kB
objects.py 43.6 kB
opcodes.py 44.7 kB
qlang.py 7 kB
query.py 57.9 kB
rpc.py 46.7 kB
runtime.py 3.3 kB
serializer.py 4.5 kB
ssconf.py 15.2 kB
ssh.py 8.6 kB
storage.py 12.7 kB
uidpool.py 11.8 kB
workerpool.py 13.3 kB

Latest revisions

# Date Author Comment
87e87959 04/19/2011 03:54 pm Michael Hanselmann

gnt-instance list: Query filter support

Update manpage, quote field names.

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

2928de47 04/18/2011 06:55 pm Michael Hanselmann

cli: Add support for parsing query filters

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

442587bf 04/18/2011 06:55 pm Michael Hanselmann

cli: Add option to force names to be treated as filter

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

b107fe05 04/18/2011 06:55 pm Michael Hanselmann

opcodes: Change parameter type definition for query filter

The old definition wouldn't accept integers.

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

cb1e6c3c 04/18/2011 06:55 pm Michael Hanselmann

cli: Error reporting for query filter parsing

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

3f2f55bb 04/18/2011 06:55 pm Michael Hanselmann

qlang: Add function to distinguish filters from names

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

7578ab0a 04/18/2011 06:55 pm Michael Hanselmann

qlang: Add parser for query filter language

With this parser, command line utilities will be able to provide filters
through query2 in a simplistic language. Example filters:

name  "node3.example.com" 
master or (name "node4.example.com")
be/memory == 128 and name =~ /^web/i...
7c670076 04/18/2011 11:56 am Michael Hanselmann

Add instance query field for OS parameters

These were not available as a query field before. Update unittests
and description text for the other “..params” fields.

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

e8f472d1 04/14/2011 11:37 am Iustin Pop

Fix shared_file_storage_dir on upgrades

If the cluster was upgraded from 2.4 or earlier, this key won't exist
(it's only set to a correct value on cluster init), so we need to
properly set it to a null string (disabled).

Signed-off-by: Iustin Pop <>...

2afc9238 04/14/2011 11:36 am Iustin Pop

Prevent ssconf values from having non-string values

For whatever reason, my test cluster managed to acquire
shared_file_storage_dir with a None value, instead of empty
string. This is not flagged in masterd itself, but the node daemon
will fail in writing the value to disk, as it calls len() on the...

View revisions

Also available in: Atom