Revision 043a3929 htools/Ganeti/HTools/CLI.hs

b/htools/Ganeti/HTools/CLI.hs
47 47
    , oGroup
48 48
    , oIDisk
49 49
    , oIMem
50
    , oINodes
51 50
    , oIVcpus
52 51
    , oInstMoves
53 52
    , oLuxiSocket
......
113 112
    , optExecJobs    :: Bool           -- ^ Execute the commands via Luxi
114 113
    , optGroup       :: Maybe GroupID  -- ^ The UUID of the group to process
115 114
    , optSelInst     :: [String]       -- ^ Instances to be excluded
116
    , optINodes      :: Int            -- ^ Nodes required for an instance
117 115
    , optISpec       :: RSpec          -- ^ Requested instance specs
118 116
    , optLuxi        :: Maybe FilePath -- ^ Collect data from Luxi
119 117
    , optMaster      :: String         -- ^ Collect data from RAPI
......
153 151
 , optExecJobs    = False
154 152
 , optGroup       = Nothing
155 153
 , optSelInst     = []
156
 , optINodes      = 2
157 154
 , optISpec       = RSpec 1 4096 102400
158 155
 , optLuxi        = Nothing
159 156
 , optMaster      = ""
......
262 259
                     in Ok opts { optISpec = nspec }) "MEMORY")
263 260
        "memory size for instances"
264 261

  
265
oINodes :: OptType
266
oINodes = Option "" ["req-nodes"]
267
          (ReqArg (\ n opts -> Ok opts { optINodes = read n }) "NODES")
268
          "number of nodes for the new instances (1=plain, 2=mirrored)"
269

  
270 262
oIVcpus :: OptType
271 263
oIVcpus = Option "" ["vcpus"]
272 264
          (ReqArg (\ p opts ->

Also available in: Unified diff