This patch does some small changes:
- fixes a comment
- export more node functions (unneeded now, but hscan will use them)
- fixes Makefile rule for building the programs
(ktn, nl) = loadTabular ndata
(\ (i:jt:jf:kt:kf:[]) -> (i, Node.create jt jf kt kf))
Node.setIdx
- {- instance file: name mem disk -}
+ {- instance file: name mem disk pnode snode -}
(kti, il) = loadTabular idata
(\ (i:j:k:l:m:[]) -> (i,
Instance.create j k
module Ganeti.HTools.Node
(
- Node(failN1, idx, f_mem, f_dsk, p_mem, p_dsk, slist, plist,
- p_rem, offline)
+ Node(failN1, idx, t_mem, f_mem, t_dsk, f_dsk, p_mem, p_dsk, p_rem,
+ plist, slist, offline)
-- * Constructor
, create
-- ** Finalization after data loading
all: $(HPROGS)
-hn1 hbal: % : %.hs Ganeti/HTools/Version.hs $(HSRCS) Makefile
+$(HPROGS): %: %.hs Ganeti/HTools/Version.hs $(HSRCS) Makefile
ghc --make -O2 -W $@
$(DOCS) : %.html : %