This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Ganeti core".
The branch, master has been updated
via effc9cad168b7c720fe01e97e89a0772bb335055 (commit)
via 050927729b871e8e69ceecfcaef3beb1f7edefc0 (commit)
via a64cc96b30cad0359ea088e4b9fd1651de6ec869 (commit)
via b43064d0976299f26d727505b6d69f34894565e5 (commit)
from 3673a326a0cf0ce90b37e852d92f89e98b088821 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit effc9cad168b7c720fe01e97e89a0772bb335055
Author: Helga Velroyen <[email protected]>
Date: Thu Jan 24 15:47:57 2013 +0100
List networks: call client explicitely
This way, it is easier to make it call the haskell
implementation of the network queries.
Signed-off-by: Helga Velroyen <[email protected]>
Reviewed-by: Michael Hanselmann <[email protected]>
commit 050927729b871e8e69ceecfcaef3beb1f7edefc0
Author: Helga Velroyen <[email protected]>
Date: Thu Jan 24 15:51:35 2013 +0100
First part of Network Queries in Haskell
This is the beginning of the implementation of network
queries. This includes establishing all infrastructure
to run the network queries and implement querying of
some simpler fields and the node group listing.
Signed-off-by: Helga Velroyen <[email protected]>
Reviewed-by: Iustin Pop <[email protected]>
commit a64cc96b30cad0359ea088e4b9fd1651de6ec869
Author: Helga Velroyen <[email protected]>
Date: Thu Jan 24 15:50:36 2013 +0100
Convert Maybe results to RSUnavail
When displaying query results of type Maybe, one could use the
function rsMaybe. Unfortunately, this function maps 'Nothing'
values to RSNoData which gets displayed as '?' in the list of
query results. These semantics do not fit if the result is of
a Maybe type, because it is an optional field, because in this
case 'Nothing' is not an error (like for example the consequence
of an RPC error), but a legitimate result and as such should
be displayed as '-' in the result list. For this purpose,
this patch introduces another version of rsMaybe, which is
called rsMaybeUnavail to be used for optional fields.
For consistency, rsMaybe gets renamed to rsMaybeNoData.
Signed-off-by: Helga Velroyen <[email protected]>
Reviewed-by: Iustin Pop <[email protected]>
commit b43064d0976299f26d727505b6d69f34894565e5
Author: Helga Velroyen <[email protected]>
Date: Thu Jan 24 15:46:41 2013 +0100
Extend config by networks and networks by UUIDs
For network queries to work, we need to extend the general
config type to include all available networks. Additionally,
we add UUIDs to the network type itself.
Signed-off-by: Helga Velroyen <[email protected]>
Reviewed-by: Iustin Pop <[email protected]>
-----------------------------------------------------------------------
Summary of changes:
Makefile.am | 1 +
lib/client/gnt_network.py | 4 ++-
src/Ganeti/Config.hs | 45 +++++++++++++++++++++++++
src/Ganeti/Objects.hs | 5 +++
src/Ganeti/Query/Common.hs | 19 ++++++++---
src/Ganeti/Query/Language.hs | 1 +
src/Ganeti/Query/Network.hs | 72 ++++++++++++++++++++++++++++++++++++++++
src/Ganeti/Query/Node.hs | 4 +-
src/Ganeti/Query/Query.hs | 18 +++++++++-
test/hs/Test/Ganeti/Objects.hs | 7 +++-
10 files changed, 165 insertions(+), 11 deletions(-)
create mode 100644 src/Ganeti/Query/Network.hs
hooks/post-receive
--
Ganeti core
--