Package pyanaconda :: Package storage :: Module devices :: Class ZFCPDiskDevice
[hide private]
[frames] | no frames]

Class ZFCPDiskDevice

source code

object --+            
         |            
    Device --+        
             |        
 StorageDevice --+    
                 |    
        DiskDevice --+
                     |
                    ZFCPDiskDevice

A mainframe ZFCP disk.

Instance Methods [hide private]
 
__init__(self, device, **kwargs)
Create a DiskDevice instance.
source code
 
__repr__(self)
repr(x)
source code
 
description(self) source code
 
dracutSetupArgs(self) source code

Inherited from DiskDevice: mediaPresent, size

Inherited from DiskDevice (private): _preDestroy

Inherited from StorageDevice: __str__, checkSize, create, currentSize, destroy, dict, disks, encrypted, formatArgs, fstabSpec, growable, isDisk, maxSize, minSize, model, notifyKernel, packages, partedDevice, partitionable, partitioned, path, preCommitFixup, removable, resizable, resize, serial, services, setup, setupParents, status, teardown, updateSysfsPath, vendor

Inherited from Device: __deepcopy__, addChild, dependsOn, isleaf, name, removeChild, teardownParents, type, typeDescription, writeKS

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Class Variables [hide private]
  _type = "zfcp"

Inherited from DiskDevice (private): _isDisk, _partitionable

Inherited from StorageDevice: format, sysfsBlockDir, targetSize

Inherited from StorageDevice (private): _devDir, _resizable

Inherited from Device (private): _id, _packages, _services

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, device, **kwargs)
(Constructor)

source code 
Create a DiskDevice instance.

Arguments:

    name -- the device name (generally a device node's basename)

Keyword Arguments:

    size -- the device's size (units/format TBD)
    major -- the device major
    minor -- the device minor
    sysfsPath -- sysfs device path
    format -- a DeviceFormat instance
    parents -- a list of required Device instances
    removable -- whether or not this is a removable device
    serial -- the ID_SERIAL_SHORT for this device
    vendor -- the manufacturer of this Device
    model -- manufacturer's device model string
    bus -- the interconnect this device uses


DiskDevices always exist.

Overrides: object.__init__
(inherited documentation)

__repr__(self)
(Representation operator)

source code 

repr(x)

Overrides: object.__repr__
(inherited documentation)

description(self)

source code 
Decorators:
  • @property
Overrides: DiskDevice.description

dracutSetupArgs(self)

source code 
Overrides: Device.dracutSetupArgs