htools: remove obsolete option INodes
authorIustin Pop <iustin@google.com>
Sat, 2 Jul 2011 22:08:00 +0000 (00:08 +0200)
committerIustin Pop <iustin@google.com>
Wed, 13 Jul 2011 10:46:14 +0000 (12:46 +0200)
hspace no longer uses it, hence it can be removed.

Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>

htools/Ganeti/HTools/CLI.hs

index 01bf935..7d561ae 100644 (file)
@@ -47,7 +47,6 @@ module Ganeti.HTools.CLI
     , oGroup
     , oIDisk
     , oIMem
-    , oINodes
     , oIVcpus
     , oInstMoves
     , oLuxiSocket
@@ -113,7 +112,6 @@ data Options = Options
     , optExecJobs    :: Bool           -- ^ Execute the commands via Luxi
     , optGroup       :: Maybe GroupID  -- ^ The UUID of the group to process
     , optSelInst     :: [String]       -- ^ Instances to be excluded
-    , optINodes      :: Int            -- ^ Nodes required for an instance
     , optISpec       :: RSpec          -- ^ Requested instance specs
     , optLuxi        :: Maybe FilePath -- ^ Collect data from Luxi
     , optMaster      :: String         -- ^ Collect data from RAPI
@@ -153,7 +151,6 @@ defaultOptions  = Options
  , optExecJobs    = False
  , optGroup       = Nothing
  , optSelInst     = []
- , optINodes      = 2
  , optISpec       = RSpec 1 4096 102400
  , optLuxi        = Nothing
  , optMaster      = ""
@@ -262,11 +259,6 @@ oIMem = Option "" ["memory"]
                      in Ok opts { optISpec = nspec }) "MEMORY")
         "memory size for instances"
 
-oINodes :: OptType
-oINodes = Option "" ["req-nodes"]
-          (ReqArg (\ n opts -> Ok opts { optINodes = read n }) "NODES")
-          "number of nodes for the new instances (1=plain, 2=mirrored)"
-
 oIVcpus :: OptType
 oIVcpus = Option "" ["vcpus"]
           (ReqArg (\ p opts ->