Statistics
| Branch: | Tag: | Revision:

root / src / Ganeti @ 4e6f1cde

Name Size
  Confd
  Cpu
  Curl
  DataCollectors
  HTools
  Hs2Py
  Hypervisor
  Monitoring
  Query
  Storage
BasicTypes.hs 8 kB
Common.hs 14.4 kB
Compat.hs 1.4 kB
Config.hs 14.6 kB
ConfigReader.hs 11.6 kB
ConstantUtils.hs 5.1 kB
Constants.hs 990 Bytes
Daemon.hs 15.6 kB
Errors.hs 6.4 kB
Hash.hs 1.8 kB
HsConstants.hs 94.1 kB
JQueue.hs 10.7 kB
JSON.hs 9.9 kB
Jobs.hs 3.3 kB
Logging.hs 4.6 kB
Luxi.hs 16.1 kB
Network.hs 3.5 kB
Objects.hs 23.8 kB
OpCodes.hs 27 kB
OpParams.hs 45 kB
Parsers.hs 1.7 kB
Path.hs 3.4 kB
PyConstants.hs.in 945 Bytes
PyValueInstances.hs 2.2 kB
Rpc.hs 15.6 kB
Runtime.hs 6.9 kB
Ssconf.hs 5 kB
THH.hs 46.8 kB
Types.hs 26.4 kB
Utils.hs 16.5 kB
Version.hs.in 246 Bytes

Latest revisions

# Date Author Comment
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,...

9491766c 10/16/2013 08:57 pm Hrvoje Ribicic

Add further fields to instance queries

This commit adds some more fields that are simple to retrieve, as
they are properties of instances recorded in the configuration.

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

df583eaf 10/16/2013 08:57 pm Hrvoje Ribicic

Add the first instance query live fields

This patch adds live fields which can be implemented with the existing
RPC calls. Some fields require additional call types and will be added
later. Most of them can be added at this point.
The status field is especially interesting, as it depends not on the...

11d09d75 10/16/2013 08:57 pm Hrvoje Ribicic

Add a new field type - FieldConfigRuntime

In the instance queries, some fields require both config and runtime
information. This patch adds a new field type for this purpose.

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

c2fe6008 10/16/2013 08:57 pm Hrvoje Ribicic

Move hypervisor fetches from Node.hs to Common.hs

As patches that follow will need the functionality in
Ganeti.Query.Node, this patch moves it to the common query file.

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

c14ba680 10/16/2013 08:56 pm Hrvoje Ribicic

Enable 'AllInstancesInfo' RPC call in Haskell

The AllInstancesInfo call appears to have been implemented but never
used. The commit makes it usable by modifying the parameter type and
serialization.

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

d286d795 10/16/2013 08:56 pm Hrvoje Ribicic

Unify all live calls which return no data

With the (current) instance query, there are three queries which do not
require live data: instance, network, and group queries.
The collectors and runtime types for these have been unified.

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

1df0266e 10/16/2013 08:56 pm Hrvoje Ribicic

Initial changes for adding instance queries

Add basic instance querying capabilities to the Haskell codebase.
Several fields are present, more to come.

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

5771c501 10/16/2013 08:56 pm Hrvoje Ribicic

Document the generic query function

The way the generic query works was not documented anywhere. For
greater readability, add a short explanation to the genericQuery
function.

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

4f90370c 10/15/2013 02:13 pm Helga Velroyen

Make 'gnt-node list-storage' use default storage type

Currently, when no explicit storage type is given, the
'gnt-node list-storage' command defaults to file storage
whether or not file storage is enabled on the cluster
or not. This patch fixes it by defaulting to the default...

View revisions

Also available in: Atom