Class representing a Cedar Backup store configuration.
As with all of the other classes that represent configuration
sections, all of these values are optional. It is up to some
higher-level construct to decide whether everything they need is filled
in. Some validation is done on non-None
assignments
through the use of the Python property()
construct.
The following restrictions exist on data in this class:
|
__init__(self,
sourceDir=None,
mediaType=None,
deviceType=None,
devicePath=None,
deviceScsiId=None,
driveSpeed=None,
checkData=True,
warnMidnite=True,
noEject=True,
checkMedia=True,
blankBehavior=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
|
|
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.
|
Inherited from object :
__class__
|