Revision 7660aaf3 src/Ganeti/DataCollectors/InstStatus.hs

b/src/Ganeti/DataCollectors/InstStatus.hs
27 27
  ( main
28 28
  , options
29 29
  , arguments
30
  , dcName
31
  , dcVersion
32
  , dcFormatVersion
33
  , dcCategory
34
  , dcKind
30 35
  ) where
31 36

  
32 37

  
......
51 56
import Ganeti.Types
52 57
import Ganeti.Utils
53 58

  
59

  
60
-- | The name of this data collector.
61
dcName :: String
62
dcName = "inst-status-xen"
63

  
64
-- | The version of this data collector.
65
dcVersion :: DCVersion
66
dcVersion = DCVerBuiltin
67

  
68
-- | The version number for the data format of this data collector.
69
dcFormatVersion :: Int
70
dcFormatVersion = 1
71

  
72
-- | The category of this data collector.
73
dcCategory :: Maybe DCCategory
74
dcCategory = Just DCInstance
75

  
76
-- | The kind of this data collector.
77
dcKind :: DCKind
78
dcKind = DCKStatus
79

  
54 80
-- * Command line options
55 81

  
56 82
options :: IO [OptType]

Also available in: Unified diff