| Branch: | Tag: | Revision:

root / test @ ba05464f

Name Size
  data 8.1 kB
check-cert-expired_unittest.bash 1.9 kB
daemon-util_unittest.bash 2.2 kB 6.1 kB
ganeti-cleaner_unittest.bash 4.1 kB 6.4 kB 3.3 kB 8.9 kB 26.3 kB 5.2 kB 4.7 kB 7 kB 3.3 kB 7.1 kB 8.7 kB 4.5 kB 24 kB 2.5 kB 9.4 kB 5.7 kB 14.4 kB 1.6 kB 1.3 kB 2.6 kB 1.4 kB 1.5 kB 1.7 kB 8.5 kB 42.9 kB 63.7 kB 8.9 kB 5.6 kB 1.9 kB 14.3 kB 9.6 kB 9.1 kB 2.6 kB 54.7 kB 3.3 kB 42.7 kB 2.3 kB 18 kB 10 kB 3.5 kB 3.5 kB 1.7 kB 3.8 kB 8.7 kB 4.3 kB 4.4 kB 22.5 kB 6.2 kB 1.5 kB 3.6 kB 21 kB 3.6 kB 16.1 kB 3.8 kB 8.9 kB 10 kB 12 kB
import-export_unittest-helper 2.6 kB
import-export_unittest.bash 11.3 kB 2.8 kB 3.1 kB 5.5 kB

Latest revisions

# Date Author Comment
ba05464f 03/02/2011 10:11 pm Guido Trotter

Fix test rapi request

This was wrong even before, as it contained both a bridge and a link,
which are incompatible when passed together. Fix by passing only the
link field.

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

fbc263a9 03/02/2011 11:59 am Michael Hanselmann

query: Fix bug when names are specified

If the client/caller would specify names through the use of a filter,
the result would be sorted. This is a regression over earlier Ganeti
versions and verified in QA. This patch adds an optional parameter to
control the sorting and provides unittests....

fb0be379 03/01/2011 03:42 pm Michael Hanselmann

query: Add support for filters

This patch adds a “compiler” for query filters, converting them to a
callable function used while preparing the query result. In addition, a
hints call allows some analysis to be done on the query (e.g. referenced
names), making data collection more efficient....

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 “”.

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

b12d5e2e 02/28/2011 02:33 pm René Nussbaumer

Query: Add additional test to node.powered for OOB handling

This patch covers the testing of _GetNodePower of not only for
unavailable but also for OOB support and returning the right

Signed-off-by: René Nussbaumer <>...

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 <>

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 <>

92ea69bf 02/24/2011 03:25 pm Michael Hanselmann

Add function to format ordinals

See [1] for the rules.


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

66d1f035 02/24/2011 12:28 pm René Nussbaumer

Introducing gnt-cluster epo

This is a convenience command to do an automated EPO in the possible limits of

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

View revisions

Also available in: Atom