Class representing a Cedar Backup store configuration.
Note that although the blanking factor must be a positive floating
point number, it is stored as a string. This is done so that we can
losslessly go back and forth between XML and object representations of
configuration.
|
__init__(self,
sourceDir=None,
mediaType=None,
deviceType=None,
devicePath=None,
deviceScsiId=None,
driveSpeed=None,
checkData=False,
warnMidnite=False,
noEject=False,
checkMedia=False,
blankBehavior=None,
refreshMediaDelay=None)
Constructor for the StoreConfig class. |
source code
|
|
|
|
|
|
|
|
|
|
|
_getSourceDir(self)
Property target used to get the source directory. |
source code
|
|
|
|
|
_getMediaType(self)
Property target used to get the media type. |
source code
|
|
|
|
|
_getDeviceType(self)
Property target used to get the device type. |
source code
|
|
|
|
|
_getDevicePath(self)
Property target used to get the device path. |
source code
|
|
|
|
|
_getDeviceScsiId(self)
Property target used to get the SCSI id. |
source code
|
|
|
|
|
_getDriveSpeed(self)
Property target used to get the drive speed. |
source code
|
|
|
|
|
_getCheckData(self)
Property target used to get the check data flag. |
source code
|
|
|
|
|
_getCheckMedia(self)
Property target used to get the check media flag. |
source code
|
|
|
|
|
_getWarnMidnite(self)
Property target used to get the midnite warning flag. |
source code
|
|
|
|
|
_getNoEject(self)
Property target used to get the no-eject flag. |
source code
|
|
|
|
|
_getBlankBehavior(self)
Property target used to get the blanking behavior configuration. |
source code
|
|
|
|
|
_getRefreshMediaDelay(self)
Property target used to get the action refreshMediaDelay. |
source code
|
|
Inherited from object :
__delattr__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__setattr__
|
|
sourceDir
Directory whose contents should be written to media.
|
|
mediaType
Type of the media (see notes above).
|
|
deviceType
Type of the device (optional, see notes above).
|
|
devicePath
Filesystem device name for writer device.
|
|
deviceScsiId
SCSI id for writer device (optional, see notes above).
|
|
driveSpeed
Speed of the drive.
|
|
checkData
Whether resulting image should be validated.
|
|
checkMedia
Whether media should be checked before being written to.
|
|
warnMidnite
Whether to generate warnings for crossing midnite.
|
|
noEject
Indicates that the writer device should not be ejected.
|
|
blankBehavior
Controls optimized blanking behavior.
|
|
refreshMediaDelay
Delay, in seconds, to add after refreshing media.
|
Inherited from object :
__class__
|