Revision b7b8ff87 src/Ganeti/HsConstants.hs

b/src/Ganeti/HsConstants.hs
1075 1075
maxTagsPerObj :: Int
1076 1076
maxTagsPerObj = 4096
1077 1077

  
1078
-- * Others
1079

  
1080
defaultBridge :: String
1081
defaultBridge = "xen-br0"
1082

  
1083
defaultOvs :: String
1084
defaultOvs = "switch1"
1085

  
1086
-- | 60 MiB, expressed in KiB
1087
classicDrbdSyncSpeed :: Int
1088
classicDrbdSyncSpeed = 60 * 1024
1089

  
1090
ip4AddressAny :: String
1091
ip4AddressAny = "0.0.0.0"
1092

  
1093
ip4AddressLocalhost :: String
1094
ip4AddressLocalhost = "127.0.0.1"
1095

  
1096
ip6AddressAny :: String
1097
ip6AddressAny = "::"
1098

  
1099
ip6AddressLocalhost :: String
1100
ip6AddressLocalhost = "::1"
1101

  
1102
ip4Version :: Int
1103
ip4Version = 4
1104

  
1105
ip6Version :: Int
1106
ip6Version = 6
1107

  
1108
validIpVersions :: FrozenSet Int
1109
validIpVersions = ConstantUtils.mkSet [ip4Version, ip6Version]
1110

  
1111
tcpPingTimeout :: Int
1112
tcpPingTimeout = 10
1113

  
1114
defaultVg :: String
1115
defaultVg = "xenvg"
1116

  
1117
defaultDrbdHelper :: String
1118
defaultDrbdHelper = "/bin/true"
1119

  
1120
minVgSize :: Int
1121
minVgSize = 20480
1122

  
1123
defaultMacPrefix :: String
1124
defaultMacPrefix = "aa:00:00"
1125

  
1126
-- | Default maximum instance wait time, in seconds.
1127
defaultShutdownTimeout :: Int
1128
defaultShutdownTimeout = 120
1129

  
1078 1130
-- | Node clock skew in seconds
1079 1131
nodeMaxClockSkew :: Int
1080 1132
nodeMaxClockSkew = 150

Also available in: Unified diff