Documentation ¶
Index ¶
Constants ¶
const ApiAbortBackup = "AbortBackup"
const ApiActivateRsc = "ActivateRsc"
const ApiAdjustRscGrp = "AdjustRscGrp"
const ApiAutoPlaceRsc = "AutoPlaceRsc"
const ApiBackupInfo = "BackupInfo"
const ApiCallAuthReq = (0x0FFFFFFFFFFFFFFE | MaskError)
const ApiCallParseError = (0x0FFFFFFFFFFFFFFD | MaskError)
const ApiCheckExtFile = "CheckExtFile"
const ApiCloneRscdfn = "CloneRscDfn"
const ApiCloneRscdfnStatus = "CloneRscDfnStatus"
const ApiCmdShutdown = "Shutdown"
const ApiControlCtrl = "ControlCtrl"
## Command APIs ###
const ApiCreateDevicePool = "CreateDevicePool"
const ApiCrtBackup = "CrtBackup"
const ApiCrtCryptPass = "CrtCryptPass"
const ApiCrtDbgCnsl = "CrtDbgCnsl"
## Debug APIs ###
const ApiCrtExosEnclosure = "CrtExosEnclosure"
const ApiCrtNetIf = "CrtNetIf"
const ApiCrtNode = "CrtNode"
## Create object APIs ###
const ApiCrtNodeConn = "CrtNodeConn"
const ApiCrtRsc = "CrtRsc"
const ApiCrtRscConn = "CrtRscConn"
const ApiCrtRscDfn = "CrtRscDfn"
const ApiCrtRscGrp = "CrtRscGrp"
const ApiCrtSchedule = "CrtSchedule"
const ApiCrtSnapshot = "CrtSnapshot"
const ApiCrtSnapshotMulti = "CrtSnapshotMulti"
const ApiCrtStorPool = "CrtStorPool"
const ApiCrtStorPoolDfn = "CrtStorPoolDfn"
const ApiCrtVlmConn = "CrtVlmConn"
const ApiCrtVlmDfn = "CrtVlmDfn"
const ApiCrtVlmGrp = "CrtVlmGrp"
const ApiCrtWatch = "CrtWatch"
## Event APIs ###
const ApiDbExport = "DbExport"
## Database APIs ###
const ApiDeactivateRsc = "DeactivateRsc"
const ApiDelBackup = "DelBackup"
const ApiDelCtrlProp = "DelCtrlProp"
const ApiDelErrorReport = "DelErrorReport"
const ApiDelErrorReports = "DelErrorReports"
const ApiDelExosEnclosure = "DelExosEnclosure"
const ApiDelExtFile = "DeleteExtFile"
const ApiDelKvs = "DelKvs"
const ApiDelNetIf = "DelNetIf"
const ApiDelNode = "DelNode"
## Delete object APIs ###
const ApiDelNodeConn = "DelNodeConn"
const ApiDelRsc = "DelRsc"
const ApiDelRscConn = "DelRscConn"
const ApiDelRscDfn = "DelRscDfn"
const ApiDelRscGrp = "DelRscGrp"
const ApiDelSchedule = "DelSchedule"
const ApiDelSnapshot = "DelSnapshot"
const ApiDelStorPool = "DelStorPool"
const ApiDelStorPoolDfn = "DelStorPoolDfn"
const ApiDelVlmConn = "DelVlmConn"
const ApiDelVlmDfn = "DelVlmDfn"
const ApiDelVlmGrp = "DelVlmGrp"
const ApiDelWatch = "DelWatch"
const ApiDeployExtFile = "DeployExtFile"
const ApiDisableDrbdProxy = "DisableDrbdProxy"
const ApiDstrDbgCnsl = "DstrDbgCnsl"
const ApiEnableDrbdProxy = "EnableDrbdProxy"
const ApiEndOfImmediateAnswers = "EndOfImmediateAnswers"
Indicates that the immediate answers to the API call are complete
const ApiEnterCryptPass = "EnterCryptPass"
## Encryption APIs ###
const ApiErrReportStats = "ErrReportStats"
const ApiEvent = "Event"
const ApiExosEnclosureEvents = "ExosEvents"
const ApiExosExec = "ExosExec"
const ApiExosMap = "ExosMap"
const ApiLostNode = "LostNode"
const ApiLostStorPool = "LostStorPool"
const ApiLstBackups = "LstBackups"
const ApiLstCtrlProps = "LstCtrlProps"
const ApiLstErrorReports = "LstErrorReports"
const ApiLstExosDflts = "LstExosDefaults"
const ApiLstExosEnclosures = "LstExosEnclosures"
const ApiLstExtFiles = "LstExtFiles"
const ApiLstKvs = "LstKvs"
const ApiLstNetIf = "LstNetIf"
const ApiLstNode = "LstNode"
## List object APIs ###
const ApiLstNodeConn = "LstNodeConn"
const ApiLstPhysStor = "LstPhysicalStorage"
const ApiLstPropsInfo = "LstPropsInfo"
const ApiLstQueue = "LstQueue"
const ApiLstRemote = "LstRemote"
const ApiLstRsc = "LstRsc"
const ApiLstRscConn = "LstRscConn"
const ApiLstRscDfn = "LstRscDfn"
const ApiLstRscGrp = "LstRscGrp"
const ApiLstSchedule = "LstSchedule"
const ApiLstSnapshotDfn = "LstSnapshotDfn"
const ApiLstSnapshotShippings = "LstSnapShips"
const ApiLstStorPool = "LstStorPool"
const ApiLstStorPoolDfn = "LstStorPoolDfn"
const ApiLstVlm = "LstVlm"
const ApiLstVlmDfn = "LstVlmDfn"
const ApiLstVlmGrp = "LstVlmGrp"
const ApiMakeRscAvail = "MakeRscAvail"
const ApiModCryptPass = "ModCryptPass"
const ApiModDrbdProxy = "ModifyDrbdProxy"
const ApiModExosDflts = "ModifyExosDefaults"
const ApiModExosEnclosure = "ModExosEnclosure"
const ApiModInf = "ModInf"
const ApiModKvs = "ModifyKvs"
const ApiModNetIf = "ModNetIf"
const ApiModNode = "ModNode"
## Modify object APIs ###
const ApiModNodeConn = "ModNodeConn"
const ApiModRsc = "ModRsc"
const ApiModRscConn = "ModRscConn"
const ApiModRscDfn = "ModRscDfn"
const ApiModRscGrp = "ModifyRscGrp"
const ApiModSchedule = "ModSchedule"
const ApiModSnapshot = "ModSnapshot"
const ApiModStorPool = "ModStorPool"
const ApiModStorPoolDfn = "ModStorPoolDfn"
const ApiModVlm = "ModVlm"
const ApiModVlmConn = "ModVlmConn"
const ApiModVlmDfn = "ModVlmDfn"
const ApiModVlmDfnPass = "ModVlmDfnPassphrase"
const ApiModVlmGrp = "ModifyVlmGrp"
const ApiNodeEvacuate = "NodeEvacuate"
const ApiNodeEvict = "NodeEvict"
const ApiNodeReconnect = "NodeReconnect"
const ApiNodeRestore = "NodeRestore"
const ApiNodeStats = "NodeStats"
const ApiPing = "Ping"
const ApiPong = "Pong"
const ApiQryAllSizeInfo = "QryAllSizeInfo"
const ApiQryMaxVlmSize = "QryMaxVlmSize"
## Query APIs ###
const ApiQrySizeInfo = "QrySizeInfo"
const ApiReply = "Reply"
## Special answer message content types ### Textual MsgApiCallResponse responses
const ApiReqErrorReports = "ReqErrorReports"
const ApiReqRscConnList = "ReqRscConnList"
const ApiReqSosReport = "ReqSosReport"
const ApiRestoreBackup = "RstBackup"
const ApiRestoreSnapshot = "RestoreSnapshot"
const ApiRestoreVlmDfn = "RestoreVlmDfn"
const ApiRollbackSnapshot = "RollbackSnapshot"
const ApiRptSpc = "RptSpc"
const ApiRscDfnStats = "RscDfnStats"
const ApiRscGrpStats = "RscGrpStats"
const ApiRscStats = "RscStats"
const ApiRscdfnSyncStatus = "RscDfnSyncStatus"
const ApiRspMaxVlmSize = "RspMaxVlmSize"
const ApiSetCtrlProp = "SetCtrlProp"
const ApiSetExtFile = "SetExtFile"
## External files APIs ###
const ApiSetRemote = "SetRemote"
const ApiShipBackup = "ShipBackup"
const ApiShipSnapshot = "ShipSnapshot"
const ApiSignIn = "SignIn"
## Authentication APIs ###
const ApiSpawnRscDfn = "SpawnRscDfn"
const ApiStorPoolStats = "StorPoolStats"
const ApiToggleDisk = "ToggleDisk"
const ApiUndeployExtFile = "UndeployExtFile"
const ApiVersion = "Version"
const ApiVsnInf = "VsnInf"
const Created = (1 | MaskSuccess)
## Codes 1-9: success ###
const DefaultNetif = "default"
## Default names ###
const Deleted = (2 | MaskSuccess)
const DfltAutoSnapshotKeep = "10"
## Default values ###
const DfltCtrlPortPlain = 3370
const DfltCtrlPortSsl = 3371
## Default ports ###
const DfltShippedSnapshotKeep = "10"
const DfltSnapshotShippingPrefix = "ship"
const DfltStltPortPlain = 3366
const DfltStltPortSsl = 3367
const FailAccDeniedCommand = (412 | MaskError)
const FailAccDeniedCtrlCfg = (411 | MaskError)
const FailAccDeniedExtFile = (422 | MaskError)
const FailAccDeniedFreeSpaceMgr = (417 | MaskError)
const FailAccDeniedKvs = (418 | MaskError)
const FailAccDeniedNode = (400 | MaskError)
## Codes 400-499: access denied failures ###
const FailAccDeniedNodeConn = (407 | MaskError)
const FailAccDeniedRemote = (423 | MaskError)
const FailAccDeniedRsc = (402 | MaskError)
const FailAccDeniedRscConn = (408 | MaskError)
const FailAccDeniedRscDfn = (401 | MaskError)
const FailAccDeniedRscGrp = (419 | MaskError)
const FailAccDeniedSchedule = (424 | MaskError)
const FailAccDeniedSnapDfn = (421 | MaskError)
const FailAccDeniedSnapshot = (415 | MaskError)
const FailAccDeniedSnapshotDfn = (414 | MaskError)
const FailAccDeniedSnapshotVlmDfn = (416 | MaskError)
const FailAccDeniedStltConn = (410 | MaskError)
const FailAccDeniedStorPool = (406 | MaskError)
const FailAccDeniedStorPoolDfn = (405 | MaskError)
const FailAccDeniedVlm = (404 | MaskError)
const FailAccDeniedVlmConn = (409 | MaskError)
const FailAccDeniedVlmDfn = (403 | MaskError)
const FailAccDeniedVlmGrp = (420 | MaskError)
const FailAccDeniedWatch = (413 | MaskError)
const FailBackupIncompatibleVersion = (978 | MaskError)
const FailBackupUnknownCluster = (976 | MaskError)
const FailCryptInit = (982 | MaskError)
const FailDependendBackup = (977 | MaskError)
const FailEbsCooldown = (973 | MaskError)
const FailEvacuating = (975 | MaskError)
const FailExistsCryptPassphrase = (512 | MaskError)
const FailExistsExosEnclosure = (526 | MaskError)
const FailExistsExtName = (517 | MaskError)
const FailExistsNetIf = (505 | MaskError)
const FailExistsNode = (500 | MaskError)
## Codes 500-599: data already exists failures ###
const FailExistsNodeConn = (506 | MaskError)
const FailExistsNvmeInitiatorPerRscDfn = (519 | MaskError)
const FailExistsNvmeTargetPerRscDfn = (518 | MaskError)
const FailExistsRemote = (527 | MaskError)
const FailExistsRsc = (502 | MaskError)
const FailExistsRscConn = (507 | MaskError)
const FailExistsRscDfn = (501 | MaskError)
const FailExistsRscGrp = (522 | MaskError)
const FailExistsSchedule = (528 | MaskError)
const FailExistsSnapshot = (516 | MaskError)
const FailExistsSnapshotDfn = (514 | MaskError)
const FailExistsSnapshotShipping = (525 | MaskError)
const FailExistsStltConn = (511 | MaskError)
const FailExistsStorPool = (510 | MaskError)
const FailExistsStorPoolDfn = (509 | MaskError)
const FailExistsVlm = (504 | MaskError)
const FailExistsVlmConn = (508 | MaskError)
const FailExistsVlmDfn = (503 | MaskError)
const FailExistsVlmGrp = (523 | MaskError)
const FailExistsWatch = (513 | MaskError)
const FailImplError = (999 | MaskError)
const FailInUse = (997 | MaskError)
const FailInsufficientPeerSlots = (993 | MaskError)
const FailInsufficientReplicaCount = (991 | MaskError)
const FailInvldBackupConfig = (238 | MaskError)
const FailInvldConf = (230 | MaskError)
const FailInvldCryptPassphrase = (216 | MaskError)
const FailInvldDbExportFile = (242 | MaskError)
const FailInvldDrbdProxyCompressionType = (222 | MaskError)
const FailInvldEncryptType = (217 | MaskError)
const FailInvldExtFile = (236 | MaskError)
const FailInvldExtFileName = (235 | MaskError)
const FailInvldExtName = (226 | MaskError)
const FailInvldFreeSpaceMgrName = (220 | MaskError)
const FailInvldKvsName = (223 | MaskError)
const FailInvldLayerKind = (224 | MaskError)
const FailInvldLayerStack = (225 | MaskError)
const FailInvldMinorNr = (207 | MaskError)
const FailInvldNetAddr = (210 | MaskError)
const FailInvldNetName = (209 | MaskError)
const FailInvldNetPort = (211 | MaskError)
const FailInvldNetType = (212 | MaskError)
const FailInvldNodeId = (204 | MaskError)
const FailInvldNodeName = (200 | MaskError)
## Codes 200-299: invalid * failures ###
const FailInvldNodeType = (201 | MaskError)
const FailInvldPlaceCount = (219 | MaskError)
const FailInvldProp = (213 | MaskError)
const FailInvldProvider = (227 | MaskError)
const FailInvldRemoteName = (239 | MaskError)
const FailInvldRequest = (234 | MaskError)
const FailInvldRscGrpName = (237 | MaskError)
const FailInvldRscName = (202 | MaskError)
const FailInvldRscPort = (203 | MaskError)
const FailInvldScheduleName = (241 | MaskError)
const FailInvldSnapshotName = (218 | MaskError)
const FailInvldSnapshotShippingSource = (231 | MaskError)
const FailInvldSnapshotShippingTarget = (232 | MaskError)
const FailInvldStorDriver = (221 | MaskError)
const FailInvldStorPoolName = (208 | MaskError)
const FailInvldTcpPort = (215 | MaskError)
const FailInvldTimeParam = (240 | MaskError)
const FailInvldTransportType = (214 | MaskError)
const FailInvldVlmCount = (229 | MaskError)
const FailInvldVlmNr = (205 | MaskError)
const FailInvldVlmSize = (206 | MaskError)
const FailInvldVlmSizes = (228 | MaskError)
const FailLinstorManagedSatelliteDidNotStartProperly = (987 | MaskError)
const FailLostStorPool = (521 | MaskError)
const FailMissingEbsTarget = (611 | MaskError)
const FailMissingExtName = (606 | MaskError)
const FailMissingNetcom = (603 | MaskError)
const FailMissingNvmeTarget = (608 | MaskError)
const FailMissingProps = (600 | MaskError)
## Codes 600-699: data missing failures ###
const FailMissingPropsNetcomPort = (602 | MaskError)
const FailMissingPropsNetcomType = (601 | MaskError)
const FailMissingPropsNetifName = (604 | MaskError)
const FailMissingStltConn = (605 | MaskError)
const FailNoStltConnDefined = (609 | MaskError)
const FailNodeHasUsedRsc = (233 | MaskError)
const FailNotAllUptodate = (974 | MaskError)
const FailNotConnected = (995 | MaskError)
const FailNotEnoughFreeSpace = (980 | MaskError)
const FailNotEnoughNodes = (996 | MaskError)
const FailNotFoundBackup = (322 | MaskError)
const FailNotFoundCryptKey = (312 | MaskError)
const FailNotFoundDfltStorPool = (311 | MaskError)
const FailNotFoundExosEnclosure = (319 | MaskError)
const FailNotFoundExtFile = (320 | MaskError)
const FailNotFoundKvs = (316 | MaskError)
const FailNotFoundNetIf = (305 | MaskError)
const FailNotFoundNode = (300 | MaskError)
## Codes 300-399: dependency not found failures ###
const FailNotFoundNodeConn = (306 | MaskError)
const FailNotFoundRemote = (321 | MaskError)
const FailNotFoundRsc = (302 | MaskError)
const FailNotFoundRscConn = (307 | MaskError)
const FailNotFoundRscDfn = (301 | MaskError)
const FailNotFoundRscGrp = (317 | MaskError)
const FailNotFoundSchedule = (323 | MaskError)
const FailNotFoundSnapshot = (315 | MaskError)
const FailNotFoundSnapshotDfn = (313 | MaskError)
const FailNotFoundSnapshotVlmDfn = (314 | MaskError)
const FailNotFoundStorPool = (310 | MaskError)
const FailNotFoundStorPoolDfn = (309 | MaskError)
const FailNotFoundVlm = (304 | MaskError)
const FailNotFoundVlmConn = (308 | MaskError)
const FailNotFoundVlmDfn = (303 | MaskError)
const FailNotFoundVlmGrp = (318 | MaskError)
const FailPoolExhaustedBackupShippingTcpPort = (807 | MaskError)
const FailPoolExhaustedMinorNr = (801 | MaskError)
const FailPoolExhaustedNodeId = (803 | MaskError)
const FailPoolExhaustedRscLayerId = (804 | MaskError)
const FailPoolExhaustedSnapshotShippingTcpPort = (806 | MaskError)
const FailPoolExhaustedSpecialSatellteTcpPort = (805 | MaskError)
const FailPoolExhaustedTcpPort = (802 | MaskError)
const FailPoolExhaustedVlmNr = (800 | MaskError)
## Codes 800-899: number pools exhausted ###
const FailPreSelectScriptDidNotTerminate = (986 | MaskError)
const FailRscBusy = (992 | MaskError)
const FailSignIn = (10000 | MaskError)
const FailSignInMissingCredentials = (10001 | MaskError)
const FailSnapshotNotUptodate = (979 | MaskError)
const FailSnapshotRollbackInProgress = (971 | MaskError)
## Other failures ###
const FailSnapshotShippingInProgress = (984 | MaskError)
const FailSnapshotShippingNotSupported = (983 | MaskError)
const FailSnapshotsNotSupported = (994 | MaskError)
const FailSpMixingNotAllowed = (972 | MaskError)
const FailSql = (100 | MaskError)
## Codes 100 - 199: sql failures ###
const FailSqlRollback = (101 | MaskError)
const FailStltDoesNotSupportLayer = (988 | MaskError)
const FailStltDoesNotSupportProvider = (989 | MaskError)
const FailStorPoolConfigurationError = (990 | MaskError)
const FailUndecidableAutoplacment = (985 | MaskError)
const FailUnknownError = (998 | MaskError)
const FailUuidKvs = (711 | MaskError)
const FailUuidNetIf = (705 | MaskError)
const FailUuidNode = (700 | MaskError)
## Codes 700-799: uuid mismatch failures ###
const FailUuidNodeConn = (706 | MaskError)
const FailUuidRsc = (702 | MaskError)
const FailUuidRscConn = (707 | MaskError)
const FailUuidRscDfn = (701 | MaskError)
const FailUuidStorPool = (710 | MaskError)
const FailUuidStorPoolDfn = (709 | MaskError)
const FailUuidVlm = (704 | MaskError)
const FailUuidVlmConn = (708 | MaskError)
const FailUuidVlmDfn = (703 | MaskError)
const FlagAutoSnapshot = "AUTO_SNAPSHOT"
const FlagBackup = "BACKUP"
const FlagBackupSource = "BACKUP_SOURCE"
const FlagBackupTarget = "BACKUP_TARGET"
const FlagClean = "CLEAN"
## Flag string values ###
const FlagDelete = "DELETE"
const FlagDiskAddRequested = "DISK_ADD_REQUESTED"
const FlagDiskAdding = "DISK_ADDING"
const FlagDiskRemoveRequested = "DISK_REMOVE_REQUESTED"
const FlagDiskRemoving = "DISK_REMOVING"
const FlagDiskless = "DISKLESS"
const FlagDrbdDelete = "DRBD_DELETE"
const FlagDrbdDiskless = "DRBD_DISKLESS"
const FlagEbsInitiator = "EBS_INITIATOR"
const FlagEncrypted = "ENCRYPTED"
const FlagEvacuate = "EVACUATE"
const FlagEvicted = "EVICTED"
const FlagFailedDeployment = "FAILED_DEPLOYMENT"
const FlagFailedDisconnect = "FAILED_DISCONNECT"
const FlagGrossSize = "GROSS_SIZE"
const FlagNvmeInitiator = "NVME_INITIATOR"
const FlagQignore = "QIGNORE"
const FlagResize = "RESIZE"
const FlagRestoreBackupOnSuccess = "RESTORE_BACKUP_ON_SUCCESS"
const FlagRscInactive = "INACTIVE"
const FlagShipped = "SHIPPED"
const FlagShipping = "SHIPPING"
const FlagShippingAbort = "SHIPPING_ABORT"
const FlagShippingCleanup = "SHIPPING_CLEANUP"
const FlagSuccessful = "SUCCESSFUL"
const FlagTieBreaker = "TIE_BREAKER"
const InfoAbortedFailedSnapshotRollback = (10009 | MaskInfo)
const InfoAutoDrbdProxyCreated = (10007 | MaskInfo)
const InfoNoRscSpawned = (10000 | MaskInfo)
## Codes 10000-19999: info ###
const InfoNodeNameMismatch = (10001 | MaskInfo)
const InfoNoop = (10007 | MaskInfo)
const InfoPropRemoved = (10005 | MaskInfo)
const InfoPropSet = (10002 | MaskInfo)
const InfoRecoveringFailedSnapshotRollback = (10010 | MaskInfo)
const InfoRscAlreadyExists = (10008 | MaskInfo)
const InfoTieBreakerCreated = (10003 | MaskInfo)
const InfoTieBreakerDeleting = (10004 | MaskInfo)
const InfoTieBreakerTakeover = (10006 | MaskInfo)
const Key1StNode = "FirstNode"
const Key2NdNode = "SecondNode"
const KeyAllowForceRestore = "AllowForceRestore"
const KeyAutoEvictAfterTime = "AutoEvictAfterTime"
const KeyAutoEvictAllowEviction = "AutoEvictAllowEviction"
const KeyAutoEvictMaxDisconnectedNodes = "AutoEvictMaxDisconnectedNodes"
const KeyAutoEvictMinReplicaCount = "AutoEvictMinReplicaCount"
## Auto-Evict property keys ###
const KeyAutoSnapshotNextId = "NextAutoId"
const KeyAutoSnapshotPrefix = "Prefix"
const KeyAutoplaceAllowTarget = "AutoplaceTarget"
const KeyAutoplaceMaxThroughput = "MaxThroughput"
const KeyAutoplacePreSelectFileName = "PreSelectScript"
const KeyAutoplacePreSelectScriptTimeout = "PreSelectScriptTimeout"
const KeyAutoplaceStratWeightMaxFreespace = "MaxFreeSpace"
## Autoplace property keys ###
const KeyAutoplaceStratWeightMinReservedSpace = "MinReservedSpace"
const KeyAutoplaceStratWeightMinRscCount = "MinRscCount"
const KeyBackupS3Suffix = "S3KeySuffix"
const KeyBackupTimeout = "BackupTimeout"
## Backup shipping property keys ###
const KeyBalanceResourcesEnabled = "BalanceResourcesEnabled"
const KeyBalanceResourcesGracePeriod = "BalanceResourcesGracePeriod"
const KeyBalanceResourcesInterval = "BalanceResourcesInterval"
const KeyBcacheBlocksize = "Blocksize"
const KeyBcacheBucketsize = "Bucketsize"
const KeyBcacheCacheReplacementPolicy = "CacheReplacementPolicy"
const KeyBcacheDataOffset = "DataOffset"
const KeyBcacheDiscard = "Discard"
const KeyBcachePoolName = "PoolName"
## BCache property keys ###
const KeyBcacheSize = "Size"
const KeyBcacheWriteback = "Writeback"
const KeyCacheBlockSize = "Blocksize"
const KeyCacheCachePoolName = "CachePool"
const KeyCacheCacheSize = "Cachesize"
const KeyCacheMetaPoolName = "MetaPool"
const KeyCacheMetaSize = "Metasize"
const KeyCacheOperatingMode = "OpMode"
## Cache property keys ###
const KeyCachePolicy = "Policy"
const KeyCurStltConnName = "CurStltConnName"
const KeyDisableHttpMetrics = "disable-http-metrics"
const KeyDmstats = "DMStats"
const KeyDrbdAutoAddQuorumTiebreaker = "auto-add-quorum-tiebreaker"
const KeyDrbdAutoDiskful = "auto-diskful"
const KeyDrbdAutoDiskfulAllowCleanup = "auto-diskful-allow-cleanup"
const KeyDrbdAutoQuorum = "auto-quorum"
const KeyDrbdAutoRsDiscardGranularity = "auto-rs-discard-granularity"
const KeyDrbdAutoVerifyAlgoAllowedUser = "auto-verify-algo-allowed-user-list"
const KeyDrbdCurrentGi = "DrbdCurrentGi"
const KeyDrbdDisableAutoResyncAfter = "auto-resync-after-disable"
const KeyDrbdDisableAutoVerifyAlgo = "auto-verify-algo-disable"
const KeyDrbdExactSize = "ExactSize"
const KeyDrbdProxyAutoEnable = "AutoEnable"
const KeyDrbdProxyCompressionType = "CompressionType"
## DRBD Proxy keys (other than 'options') ###
const KeyDrbdSkipDisk = "SkipDisk"
const KeyEbsVolumeType = "EBS/VolumeType"
const KeyExtCmdWaitTo = "ExtCmdWaitTimeout"
## External commands keys ###
const KeyExtFile = "ExtFile"
## External files keys ###
const KeyForceInitialSync = "ForceInitialSync"
const KeyFsGroup = "Group"
const KeyFsMkfsparameters = "MkfsParams"
const KeyFsType = "Type"
## File system property keys ###
const KeyFsUser = "User"
const KeyKeep = "Keep"
const KeyMaxConcurrentBackupsPerNode = "MaxConcurrentBackupsPerNode"
const KeyMinorNrAutoRange = "MinorNrAutoRange"
const KeyNetcomBindAddress = "BindAddress"
const KeyNetcomEnabled = "Enabled"
## NetCom namespaces ###
const KeyNetcomKeyPasswd = "KeyPasswd"
const KeyNetcomKeyStore = "KeyStore"
const KeyNetcomKeyStorePasswd = "KeyStorePasswd"
const KeyNetcomPort = "Port"
const KeyNetcomSslProtocol = "SslProtocol"
const KeyNetcomTrustStore = "TrustStore"
const KeyNetcomTrustStorePasswd = "TrustStorePasswd"
const KeyNetcomType = "Type"
const KeyNode = "Node"
## Node property keys ###
const KeyPassphrase = "Passphrase"
## Volume-definition property keys ###
const KeyPeerSlots = "PeerSlots"
const KeyPeerSlotsNewResource = "PeerSlotsNewResource"
const KeyPoolName = "PoolName"
const KeyPort = "Port"
## Network Interface property keys ###
const KeyPrefNic = "PrefNic"
const KeyRemote = "Remote"
const KeyRscAllowMixingDeviceKind = "AllowMixingStoragePoolDriver"
const KeyRscDfn = "RscDfn"
## Resource property keys ###
const KeyRscDiskfulBy = "DiskfulBy"
const KeyRscGrp = "RscGrp"
const KeyRscMigrateFrom = "MigrateFrom"
const KeyRscRollbackTarget = "RollbackTarget"
const KeyRunEvery = "RunEvery"
const KeySearchDomain = "SearchDomain"
## ldap property keys ###
const KeySecDomain = "SecDomain"
const KeySecIdentity = "SecIdentity"
## Authentication keys ###
const KeySecPassword = "SecPassword"
const KeySecRole = "SecRole"
const KeySecType = "SecType"
const KeySite = "Site"
const KeySnapshot = "Snapshot"
## Snapshot property keys ###
const KeySnapshotDfnSequenceNumber = "SequenceNumber"
const KeySnapshotShippingPrefix = "SnapshotShippingPrefix"
## Snapshot shipping property keys ###
const KeySourceNode = "SourceNode"
const KeySpecStltPortAutoRange = "SpecStltPortAutoRange"
const KeyStorPoolAllocationUnit = "AllocationUnit"
Unit of smallest allocation. The size in KiB as a decimal number.
const KeyStorPoolCryptPasswd = "CryptPasswd"
const KeyStorPoolDfn = "StorPoolDfn"
## Storage pool property keys ###
const KeyStorPoolDrbdMetaName = "StorPoolNameDrbdMeta"
const KeyStorPoolExosApiIp = "IP"
const KeyStorPoolExosApiIpEnv = "IPEnv"
const KeyStorPoolExosApiPassword = "Password"
const KeyStorPoolExosApiPasswordEnv = "PasswordEnv"
const KeyStorPoolExosApiPort = "Port"
const KeyStorPoolExosApiUser = "Username"
const KeyStorPoolExosApiUserEnv = "UsernameEnv"
const KeyStorPoolExosCreateVolumeOptions = "CreateVolumeOptions"
const KeyStorPoolExosEnclosure = "Enclosure"
const KeyStorPoolExosPoolSn = "PoolSN"
const KeyStorPoolExosVlmType = "VolumeType"
const KeyStorPoolFileDirectory = "FileDir"
const KeyStorPoolLvcreateOptions = "LvcreateOptions"
const KeyStorPoolLvcreateSnapshotOptions = "LvcreateSnapshotOptions"
const KeyStorPoolLvcreateType = "LvcreateType"
const KeyStorPoolMaxFreeCapacityOversubscriptionRatio = "MaxFreeCapacityOversubscriptionRatio"
const KeyStorPoolMaxOversubscriptionRatio = "MaxOversubscriptionRatio"
const KeyStorPoolMaxTotalCapacityOversubscriptionRatio = "MaxTotalCapacityOversubscriptionRatio"
const KeyStorPoolName = "StorPoolName"
const KeyStorPoolOverrideVlmId = "OverrideVlmId"
const KeyStorPoolPrefNic = "PrefNic"
const KeyStorPoolProvisioning = "Provisioning"
const KeyStorPoolRemoteSpdkApiHost = "RemoteSpdk/ApiHost"
const KeyStorPoolRemoteSpdkApiPort = "RemoteSpdk/ApiPort"
const KeyStorPoolRemoteSpdkApiUserName = "RemoteSpdk/UserName"
const KeyStorPoolRemoteSpdkApiUserNameEnv = "RemoteSpdk/UserNameEnv"
const KeyStorPoolRemoteSpdkApiUserPw = "RemoteSpdk/UserPassword"
const KeyStorPoolRemoteSpdkApiUserPwEnv = "RemoteSpdk/UserPasswordEnv"
const KeyStorPoolSupportsSnapshots = "SupportsSnapshots"
## Storage pool traits keys ###
const KeyStorPoolThinPool = "ThinPool"
const KeyStorPoolVolumeGroup = "LvmVg"
const KeyStorPoolWaitTimeoutAfterCreate = "WaitTimeoutAfterCreate"
const KeyStorPoolZfsCreateOptions = "ZfscreateOptions"
const KeyStorPoolZfsSnapshotOptions = "ZfsSnapshotOptions"
const KeyStorPoolZpool = "ZPool"
const KeyStorPoolZpoolthin = "ZPoolThin"
const KeySysFsBlkioThrottleRead = "blkio_throttle_read"
## sys/fs property keys ###
const KeySysFsBlkioThrottleReadIops = "blkio_throttle_read_iops"
const KeySysFsBlkioThrottleWrite = "blkio_throttle_write"
const KeySysFsBlkioThrottleWriteIops = "blkio_throttle_write_iops"
const KeyTargetNode = "TargetNode"
const KeyTcpPortAutoRange = "TcpPortAutoRange"
const KeyTcpPortRange = "TcpPortRange"
const KeyTrType = "TRType"
## nvme property keys ###
const KeyUpdateCacheInterval = "UpdateCacheInterval"
const KeyUseZfsClone = "UseZFSClone"
## Clone property keys ###
const KeyUuid = "UUID"
## DRBD property keys ###
const KeyVlmGrp = "VlmGrp"
## Volume property keys ###
const KeyVlmNr = "VlmNr"
const KeyVlmRestoreFromResource = "RestoreFromResource"
const KeyVlmRestoreFromSnapshot = "RestoreFromSnapshot"
const KeyWritecacheBlocksize = "Blocksize"
## Writecache property keys ###
const KeyWritecacheOptionAdditional = "Additional"
const KeyWritecacheOptionAutocommitBlocks = "AutocommitBlocks"
const KeyWritecacheOptionAutocommitTime = "AutocommitTime"
const KeyWritecacheOptionFua = "Fua"
const KeyWritecacheOptionHighWatermark = "HighWatermark"
const KeyWritecacheOptionLowWatermark = "LowWatermark"
const KeyWritecacheOptionStartSector = "StartSector"
const KeyWritecacheOptionWritebackJobs = "WritebackJobs"
const KeyWritecachePoolName = "PoolName"
const KeyWritecacheSize = "Size"
const MaskBackup = 0x0000000000080000
const MaskBitsCode = 0x0000000000007FFF
## Codes ###
const MaskBitsObj = 0x00000000007C0000
## Type masks (Node, ResDfn, Res, VolDfn, Vol, NetInterface, ...) ###
const MaskBitsOp = 0x0000000003000000
## Operation type masks ###
const MaskBitsType = 0xC000000000000000
## Bits 62 - 63 (most significant 2) are reserved for the message type masks (error, warning, info) Bits 25 - 26 are reserved for the operation type masks (create, modify, delete) Bits 18 - 22 are reserved for the object type masks (node, resource, resource definition, ...) Bits 0 - 14 are reserved for codes ###
const MaskCrt = 0x0000000001000000
const MaskCtrlConf = 0x0000000000100000
const MaskDel = 0x0000000003000000
const MaskError = 0xC000000000000000
const MaskExtFiles = 0x0000000000500000
const MaskInfo = 0x4000000000000000
const MaskKvs = 0x0000000000400000
const MaskMod = 0x0000000002000000
const MaskNetIf = 0x00000000001C0000
const MaskNode = 0x00000000003C0000
const MaskNodeConn = 0x0000000000280000
const MaskPhysicalDevice = 0x00000000004C0000
const MaskRemote = 0x0000000000040000
const MaskRsc = 0x0000000000340000
const MaskRscConn = 0x0000000000240000
const MaskRscDfn = 0x0000000000380000
const MaskRscGrp = 0x0000000000440000
const MaskSchedule = 0x0000000000540000
const MaskSnapshot = 0x00000000000C0000
const MaskStorPool = 0x0000000000140000
const MaskStorPoolDfn = 0x0000000000180000
const MaskSuccess = 0x0000000000000000
const MaskVlm = 0x00000000002C0000
const MaskVlmConn = 0x0000000000200000
const MaskVlmDfn = 0x0000000000300000
const MaskVlmGrp = 0x0000000000480000
const MaskWarn = 0x8000000000000000
const Modified = (3 | MaskSuccess)
const NamespcAlloc = "Allocation"
const NamespcAutoSnapshot = "AutoSnapshot"
const NamespcAutoplacer = "Autoplacer"
const NamespcAutoplacerWeights = "Autoplacer/Weights"
const NamespcAuxiliary = "Aux"
const NamespcBackupShipping = "BackupShipping"
const NamespcBcache = "BCache"
const NamespcCache = "Cache"
const NamespcCacheFeatures = "Cache/Features"
const NamespcCachePolicyArgs = "Cache/Policy"
const NamespcCluster = "Cluster"
const NamespcClusterRemote = "Cluster/Remote"
const NamespcConnectionPaths = "Paths"
const NamespcDflt = "Default"
const NamespcDrbdDiskOptions = "DrbdOptions/Disk"
const NamespcDrbdHandlerOptions = "DrbdOptions/Handlers"
const NamespcDrbdNetOptions = "DrbdOptions/Net"
const NamespcDrbdOptions = "DrbdOptions"
const NamespcDrbdPeerDeviceOptions = "DrbdOptions/PeerDevice"
const NamespcDrbdProxy = "DrbdProxy"
const NamespcDrbdProxyCompressionOptions = "DrbdOptions/ProxyCompression"
const NamespcDrbdProxyOptions = "DrbdOptions/Proxy"
const NamespcDrbdResourceOptions = "DrbdOptions/Resource"
const NamespcEbs = "EBS"
const NamespcEncryption = "Encryption"
const NamespcExos = "StorDriver/Exos"
const NamespcFilesystem = "FileSystem"
const NamespcLogging = "Logging"
const NamespcNetcom = "NetCom"
## Property namespaces ###
const NamespcNetif = "NetIf"
const NamespcNode = "Node"
const NamespcNvme = "NVMe"
const NamespcRest = "REST"
const NamespcSed = "SED"
const NamespcSnapshotShipping = "SnapshotShipping"
const NamespcStlt = "Satellite"
const NamespcStltDevSymlinks = "Satellite/Device/Symlinks"
const NamespcStorageDriver = "StorDriver"
const NamespcSysFs = "sys/fs"
const NamespcTags = "Tags"
const NamespcWritecache = "Writecache"
const NamespcWritecacheOptions = "Writecache/Options"
const PassphraseAccepted = (4 | MaskSuccess)
const SuccessSignIn = (10000 | MaskSuccess)
## SignIn codes ###
const UnknownApiCall = (0x0FFFFFFFFFFFFFFF | MaskError)
## Special codes ###
const ValDrbdAutoQuorumDisabled = "disabled"
const ValDrbdAutoQuorumIoError = "io-error"
const ValDrbdAutoQuorumSuspendIo = "suspend-io"
const ValDrbdProxyCompressionLz4 = "lz4"
const ValDrbdProxyCompressionLzma = "lzma"
const ValDrbdProxyCompressionNone = "none"
## DRBD related property values ###
const ValDrbdProxyCompressionZlib = "zlib"
const ValDrbdProxyCompressionZstd = "zstd"
const ValFalse = "False"
const ValFsTypeExt4 = "ext4"
const ValFsTypeXfs = "xfs"
const ValNetcomTypePlain = "Plain"
const ValNetcomTypeSsl = "SSL"
## Property values ###
const ValNetifTypeIp = "IP"
## Net interface Type values ###
const ValNetifTypeRdma = "RDMA"
const ValNetifTypeRoce = "RoCE"
const ValNo = "No"
const ValNodeTypeAux = "Auxiliary"
const ValNodeTypeCmbd = "Combined"
const ValNodeTypeCtrl = "Controller"
## Node Type values ###
const ValNodeTypeExosTarget = "Exos_Target"
const ValNodeTypeRemoteSpdk = "Remote_Spdk"
const ValNodeTypeStlt = "Satellite"
const ValNodeUndecided = "<undecided>"
const ValSnapShipName = "SnapshotShipping"
## Snapshot-shipping values ###
const ValSslProtoTlsv1 = "TLSv1"
const ValStorPoolDrbdMetaInternal = ".internal"
const ValStorPoolProvisioningFat = "Fat"
## Storage pool traits values ###
const ValStorPoolProvisioningThin = "Thin"
const ValStorPoolSpaceEnough = 9223372036854775807
const ValStorPoolSpaceNotFound = -1
const ValTrue = "True"
## Boolean values ###
const ValWritecacheFuaOff = "Off"
const ValWritecacheFuaOn = "On"
## Writecache option values ###
const ValYes = "Yes"
const WarnAllDiskless = (1009 | MaskWarn)
const WarnBackupDlOnly = (1019 | MaskWarn)
const WarnDelUnsetProp = (1005 | MaskWarn)
const WarnDeprecated = (4000 | MaskWarn)
const WarnInvldConf = (1021 | MaskWarn)
const WarnInvldOptPropNetcomEnabled = (1001 | MaskWarn)
## Codes 1000-9999: warnings ###
const WarnInvldSnapshotShippingPrefix = (1016 | MaskWarn)
const WarnMixedPmemAndNonPmem = (1014 | MaskWarn)
const WarnNoStltConnDefined = (1004 | MaskWarn)
const WarnNodeEvicted = (1017 | MaskWarn)
const WarnNotConnected = (1002 | MaskWarn)
const WarnNotEnoughNodesForTieBreaker = (1013 | MaskWarn)
const WarnNotEvacuating = (1020 | MaskWarn)
const WarnNotFound = (3000 | MaskWarn)
const WarnNotFoundCryptKey = (1011 | MaskWarn)
const WarnRscAlreadyDeployed = (1006 | MaskWarn)
const WarnRscAlreadyDiskless = (1008 | MaskWarn)
const WarnRscAlreadyHasDisk = (1007 | MaskWarn)
const WarnRscDeactivated = (1018 | MaskWarn)
const WarnStltNotUpdated = (1003 | MaskWarn)
const WarnStorageError = (1010 | MaskWarn)
const WarnStorageKindAdded = (1012 | MaskWarn)
const WarnStorpoolRenameNotAllowed = (1022 | MaskWarn)
const WarnUneffectiveProp = (1015 | MaskWarn)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.