Statistics
| Branch: | Tag: | Revision:

root / lib @ 111bf531

Name Size
  build
  client
  confd
  http
  hypervisor
  impexpd
  masterd
  rapi
  server
  utils
  watcher
__init__.py 820 Bytes
asyncnotifier.py 6 kB
backend.py 103.4 kB
bdev.py 67.7 kB
bootstrap.py 27.4 kB
cli.py 96.9 kB
cmdlib.py 399.1 kB
compat.py 3.7 kB
config.py 62.1 kB
constants.py 33.8 kB
daemon.py 23.5 kB
errors.py 9.8 kB
ht.py 5.8 kB
jqueue.py 57.9 kB
jstore.py 4.6 kB
locking.py 48.2 kB
luxi.py 15.7 kB
mcpu.py 16 kB
netutils.py 13.6 kB
objects.py 43.3 kB
opcodes.py 43.1 kB
qlang.py 2.7 kB
query.py 41.7 kB
rpc.py 46.4 kB
runtime.py 3.3 kB
serializer.py 4.5 kB
ssconf.py 14.9 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
111bf531 03/01/2011 03:31 pm Michael Hanselmann

Add query field flags

Some fields (e.g. “name”) should be treated specially when comparing for
equality. Hypervisor names should use normal rules, but for node names,
“node2” should be equivalent with “node2.example.com”.

To make these differences, a new field for flags is added to the query...

88076fd1 03/01/2011 12:02 pm Michael Hanselmann

qlang: Add new operators

These are only used programmatically, not exposed to the user.

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

ff699aa9 02/28/2011 05:26 pm Michael Hanselmann

gnt-cluster master-failover: Undrain queue

- Move functions for drain status (tracked via file) from jqueue to jstore
- Undrain queue on master failover if necessary
- Add QA test

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

ea1440c1 02/25/2011 04:22 pm Michael Hanselmann

gnt-* list-fields: Show field description

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

cc27265e 02/25/2011 02:25 pm René Nussbaumer

gnt-instance reboot start instance if not yet started

This patch starts the instance when gnt-instance reboot is invoked on a
instance already stopped.

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

f47941f8 02/25/2011 11:55 am Michael Hanselmann

utils: Export NiceSortKey function

The ability to split a string into a list of strings and integers can be
handy elsewhere and is necessary for sorting query results by names.

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

8e74adce 02/24/2011 04:40 pm René Nussbaumer

Fix test output splattering

Instead of hardcode to ToStdout in the helper class, we should use
a user provided feedback function. In unittests this is a noop.

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

95eb4188 02/24/2011 03:25 pm Michael Hanselmann

Add script to generate query fields documentation

- All lines matching "QUERY_FIELDS_${resource}" in the input will be
replaced with a definition list describing the fields for $resource
- The core code is kept in the Sphinx extension, so that it could be...

79b2ca83 02/24/2011 03:25 pm Michael Hanselmann

Add query field descriptions

- Make “doc” parameter to MakeField non-optional
- Add descriptions for all fields

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

1ae17369 02/24/2011 03:25 pm Michael Hanselmann

query: Add support for field description

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

View revisions

Also available in: Atom