Statistics
| Branch: | Tag: | Revision:

root / src / Ganeti @ ee8bb326

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.5 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 10.3 kB
Jobs.hs 3.3 kB
Logging.hs 4.6 kB
Luxi.hs 16.1 kB
Network.hs 3.5 kB
Objects.hs 24.3 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 18 kB
Runtime.hs 6.9 kB
Ssconf.hs 5 kB
THH.hs 46.8 kB
Types.hs 26.4 kB
Utils.hs 16.9 kB
Version.hs.in 246 Bytes

Latest revisions

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

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

Haskell RPCs can now differ in parameters

The Haskell interface allowed multi-node RPCs to be executed in
parallel, but with the same parameters every time. This restriction
is now lifted by providing a function call accepting pairs of nodes
and parameters....

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

Add a console information RPC call

As the instance queries need console information, and the information
is retrieved through python classes that should not be ported yet, an
RPC call supplying the information has been added. Some tests as well.

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

View revisions

Also available in: Atom