276. ZFCPController

Controller settings, input and output functions

276.1. 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.

276.2. Global Functions

276.2.1. Abort

Abort function

Return value

  • boolean - blah blah lahjk

276.2.2. ActivateDisk

Activate a disk

Function parameters

  • string channel

  • string wwpn

  • string lun

Return value

  • void

276.2.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.

276.2.4. Available

Is this kind of disk controller available?

Return value

  • boolean - true if it is

276.2.5. DeactivateDisk

Activate a disk

Function parameters

  • string channel

  • string wwpn

  • string lun

Return value

  • void

276.2.6. Export

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

Return value

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

276.2.7. GetControllers

Get available zfcp controllers

Return value

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

276.2.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

276.2.9. Import

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

Function parameters

  • map settings

Return value

  • boolean - True on success

276.2.10. IsAvailable

Check if ZFCP subsystem is available

Return value

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

276.2.11. Modified

Prototypes

Return value

  • boolean

276.2.12. Modified

Data was modified?

Return value

  • boolean - true if modified

276.2.13. ProbeDisks

Get available disks

Return value

  • void

276.2.14. Read

Read all controller settings

Return value

  • boolean - true on success

276.2.15. Summary

Create a textual summary and a list of unconfigured cards

Return value

  • list<string> - summary of the current configuration

276.2.16. Write

Write all controller settings

Return value

  • boolean - true on success

276.3. Global Variables

276.3.1. modified

Data was modified?

276.3.2. proposal_valid

276.3.3. write_only

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

276.4. Module Requirements

276.4.1. Module Imports

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

276.4.2. Module Includes