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

Class FcoeDiskDevice

source code

  object --+            
           |            
      Device --+        
               |        
   StorageDevice --+    
                   |    
          DiskDevice --+
                       |
          object --+   |
                   |   |
NetworkStorageDevice --+
                       |
                      FcoeDiskDevice

An FCoE disk.

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

Inherited from DiskDevice: __repr__, description, 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 = "fcoe"
  _packages = ["fcoe-utils", "dracut-network"]

Inherited from DiskDevice (private): _isDisk, _partitionable

Inherited from StorageDevice: format, sysfsBlockDir, targetSize

Inherited from StorageDevice (private): _devDir, _resizable

Inherited from Device (private): _id, _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)

dracutSetupArgs(self)

source code 
Overrides: Device.dracutSetupArgs