Statistics
| Branch: | Tag: | Revision:

root / src / Ganeti / Query @ 88acff3f

Name Size
Cluster.hs 1.2 kB
Common.hs 8.8 kB
Export.hs 2.7 kB
Filter.hs 9.8 kB
Group.hs 3.4 kB
Instance.hs 33.1 kB
Job.hs 5.6 kB
Language.hs 15.2 kB
Network.hs 6.9 kB
Node.hs 11.6 kB
Query.hs 14.6 kB
Server.hs 10.9 kB
Types.hs 2.7 kB

Latest revisions

# Date Author Comment
46cc1ab4 10/28/2013 01:48 pm Hrvoje Ribicic

Refactor `getAllConsoleParams` to be more readable

Instead of creating a lot of lists and then zipping them, just work
on every item one at a time. It makes the code much more readable.
This changes the ordering of "effects", but the "effects" here are just...

ee8bb326 10/17/2013 11:09 am Hrvoje Ribicic

Optimize instance query speed

The instance queries have a field called console which requires an
extra RPC call. This commit allows extra parameters to be passed on
to the query logic, which allows us to determine when to make the
extra call.

Signed-off-by: Hrvoje Ribicic <>...

efa0d4fd 10/17/2013 11:09 am Hrvoje Ribicic

Tests for InstanceInfo retrieval added

As the retrieval of instance information is a tricky operation which
affects the way the instance status is calculated, a few tests have
been added to ensure its behaviour remains constant.

Signed-off-by: Hrvoje Ribicic <>...

b9666288 10/17/2013 11:09 am Hrvoje Ribicic

Add the console field

This patch adds the final console field, using the RPC calls of the
previous commit.

As this requires another RPC call, the live data retrieval functions
of the instance queries are modified and refactored slightly.

Signed-off-by: Hrvoje Ribicic <>...

1d3d454f 10/17/2013 11:09 am Hrvoje Ribicic

Add the last leftover fields

A few fields were missing from earlier work. The timestamp fields,
the pnode.group.uuid field, and the custom nic parameters.
Just the console remains.

Signed-off-by: Hrvoje Ribicic <>
Reviewed-by: Jose A. Lopes <>

3fd38382 10/17/2013 11:09 am Hrvoje Ribicic

Add aliases of existing instance fields

For legacy reasons, some instance fields are aliased. The aliases have
the same definition but appear under different names. Support for such
fields has been added to Query/Common.hs
As aliases can cause somewhat harder to find bugs, a new test was...

3b89cb1b 10/17/2013 11:09 am Hrvoje Ribicic

Rename Fillable fields to Indexed fields

The naming used in the previous commits did not reflect the use of
the fields well, and clashed with the concept of fillable parameters.
Thus some renaming was done, with slight documentation improvements.

Signed-off-by: Hrvoje Ribicic <>...

a861d322 10/17/2013 11:09 am Hrvoje Ribicic

Add instance network fields

This commit adds the instance network fields. Some of these fields are
also present for every NIC, requiring the reuse of functions from the
previous disk instance fields commit.

Signed-off-by: Hrvoje Ribicic <>...

88b58ed6 10/16/2013 08:57 pm Hrvoje Ribicic

Add instance disk fields

The instance disk fields have been added. As these are the first
fields to be duplicated, some helper functions are present to support
easier specification of fields which have to be duplicated for every
entry in an array of configuration objects, and numbered accordingly....

4e6f1cde 10/16/2013 08:57 pm Hrvoje Ribicic

Add instance parameter fields

This patch adds instance parameter fields to the Haskell instance
queries. The fields retrieve maps of parameters related to e.g.
hypervisors, or operating systems.
Every instance can have parameters different from the defaults,...

View revisions

Also available in: Atom