Commit 80929ecb authored by Jose A. Lopes's avatar Jose A. Lopes
Browse files

Add metadata daemon types



The metadata daemon will be responsible for receiving the instance
parameters from the node daemon and keeping them in memory.  The type
of the instance parameters in defined in a separate module because it
will be shared between the web server and the configuration server.
Signed-off-by: default avatarJose A. Lopes <jabolopes@google.com>
Reviewed-by: default avatarHrvoje Ribicic <riba@google.com>
parent 57ccc712
......@@ -773,6 +773,7 @@ HS_LIB_SRCS = \
src/Ganeti/Logging.hs \
src/Ganeti/Logging/Lifted.hs \
src/Ganeti/Luxi.hs \
src/Ganeti/Metad/Types.hs \
src/Ganeti/Metad/WebServer.hs \
src/Ganeti/Monitoring/Server.hs \
src/Ganeti/Network.hs \
......
{-| Metadata daemon types.
-}
{-
Copyright (C) 2014 Google Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301, USA.
-}
module Ganeti.Metad.Types where
import Data.Map (Map)
import Text.JSON
type InstanceParams = Map String JSValue
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment