325. ZFCPController

Controller settings, input and output functions

325.1. Authors

  • Jiri Srain <jsrain@suse.cz>

325.2. Summary of Module Globals

List of Global Functions

  • Abort - Abort function

  • ActivateDisk - Activate a disk

  • AutoPackages - Return packages needed to be installed and removed during Autoinstallation to insure module has all needed software installed.

  • Available - Is this kind of disk controller available?

  • DeactivateDisk - Activate a disk

  • Export - Dump the controller settings to a single map (For use by autoinstallation.)

  • GetControllers - Get available zfcp controllers

  • HexNumSize - Update the size of hexa number via adding leading zeros

  • Import - Get all controller settings from the first parameter (For use by autoinstallation.)

  • IsAvailable - Check if ZFCP subsystem is available

  • Modified - Prototypes

  • Modified - Data was modified?

  • ProbeDisks - Get available disks

  • Read - Read all controller settings

  • Summary - Create a textual summary and a list of unconfigured cards

  • Write - Write all controller settings

List of Global Variables

  • modified - Data was modified?

  • proposal_valid -

  • write_only - Write only, used during autoinstallation. Don't run services and SuSEconfig, it's all done at one place.

325.3. Global Functions

325.3.1. Abort

Abort function

Return value

  • boolean - blah blah lahjk

325.3.2. ActivateDisk

Activate a disk

Function parameters

  • string channel

  • string wwpn

  • string lun

Return value

  • void

325.3.3. AutoPackages

Return packages needed to be installed and removed during Autoinstallation to insure module has all needed software installed.

Return value

  • map - with 2 lists.

325.3.4. Available

Is this kind of disk controller available?

Return value

  • boolean - true if it is

325.3.5. DeactivateDisk

Activate a disk

Function parameters

  • string channel

  • string wwpn

  • string lun

Return value

  • void

325.3.6. Export

Dump the controller settings to a single map (For use by autoinstallation.)

Return value

  • map - Dumped settings (later acceptable by Import ())

325.3.7. GetControllers

Get available zfcp controllers

Return value

  • list<map<string,any> > - of availabel Controllers

325.3.8. HexNumSize

Update the size of hexa number via adding leading zeros

Function parameters

  • string hex

  • integer digits

Return value

  • string - hex string with specified length

325.3.9. Import

Get all controller settings from the first parameter (For use by autoinstallation.)

Function parameters

  • map settings

Return value

  • boolean - True on success

325.3.10. IsAvailable

Check if ZFCP subsystem is available

Return value

  • boolean - whether the ZFCP-System is availble at all

325.3.11. Modified

Prototypes

Return value

  • boolean

325.3.12. Modified

Data was modified?

Return value

  • boolean - true if modified

325.3.13. ProbeDisks

Get available disks

Return value

  • void

325.3.14. Read

Read all controller settings

Return value

  • boolean - true on success

325.3.15. Summary

Create a textual summary and a list of unconfigured cards

Return value

  • list<string> - summary of the current configuration

325.3.16. Write

Write all controller settings

Return value

  • boolean - true on success

325.4. Global Variables

325.4.1. modified

Data was modified?

325.4.2. proposal_valid

325.4.3. write_only

Write only, used during autoinstallation. Don't run services and SuSEconfig, it's all done at one place.

325.5. Module Requirements

325.5.1. Module Imports

  • Arch
  • Mode
  • Popup
  • Progress
  • Report
  • Stage
  • Summary

325.5.2. Module Includes