Add the gnt-storage client
Add a new client called 'gnt-storage'.The client interacts with the ExtStorage interface, similarly tothe way gnt-os interacts with the OS interface.
For now, only two commands are supported: 'info' and 'diagnose'.
'diagnose' calculates the node status of each provider on each node,...
Fix build breakage after exclusive storage commits
This fixes:
htest/Test/Ganeti/Rpc.hs:50:14: Couldn't match expected type `Rpc.RpcCallNodeInfo' against inferred type `Data.Map.Map String Bool -> Rpc.RpcCallNodeInfo'...
Silence erroneous hlint warning
This patch adds an ignore for an hlint warning that wants camelcase to be usedin the name of a "case" test.But if camelcase is used, it is not a valid test name anymore.
Signed-off-by: Michele Tartara <mtartara@google.com>...
Add the parseReply function to the Confd utils
This function will be used by the Haskell Confd client to parse the repliesit receives from the server.
Unit test is included as well.
Signed-off-by: Michele Tartara <mtartara@google.com>Reviewed-by: Iustin Pop <iustin@google.com>
Rename the Confd utils parseMessage function to parseRequest
With the upcoming implementation of the Haskell Confd client, requests willno longer be the only kind of message to be parsed, therefore the parsingfunction for requests is being renamed to be more specific, and to better fit...
Make the parseRequest function more general
The parseRequest function of the Confd utils can be used to parse both request(in the server) and reply (in the client, soon to be implemented) signedmessages.This patch changes the signature of the function to allow this, and its name...
Add function for generating UUIDs in the Haskell codebase
Its first use will be to generate the salt for ConfD requests of the Haskellclient, as in the Python client.
Unit test added as well.
Move rstripSpace from Ssconf to Utils
Also renames it in the process and adds a few tests for it.
Signed-off-by: Iustin Pop <iustin@google.com>Reviewed-by: Michael Hanselmann <hansmi@google.com>
Make node groups' networks field a dict of nicparams
The networks field of the node groups class is a dictionaryof nic params and not a list of networks. This should fixthe broken QA.
Signed-off-by: Helga Velroyen <helgav@google.com>Reviewed-by: Iustin Pop <iustin@google.com>
Renaming fam -> net_family on test network generation
Small renaming to make the test more readable.
Signed-off-by: Helga Velroyen <helgav@google.com>Reviewed-by: Michele Tartara <mtartara@google.com>
View revisions
Also available in: Atom