The cinder.brick.initiator.linuxfc Module

Generic linux Fibre Channel utilities.

class LinuxFibreChannel(root_helper, execute=<function execute at 0x2af0d33e8668>, *args, **kwargs)

Bases: cinder.brick.initiator.linuxscsi.LinuxSCSI

get_fc_hbas()

Get the Fibre Channel HBA information.

get_fc_hbas_info()

Get Fibre Channel WWNs and device paths from the system, if any.

get_fc_wwnns()

Get Fibre Channel WWNNs from the system, if any.

get_fc_wwpns()

Get Fibre Channel WWPNs from the system, if any.

rescan_hosts(hbas)
class LinuxFibreChannelS390X(root_helper, execute=<function execute at 0x2af0d33e8668>, *args, **kwargs)

Bases: cinder.brick.initiator.linuxfc.LinuxFibreChannel

configure_scsi_device(device_number, target_wwn, lun)

Write the LUN to the port’s unit_add attribute.

If auto-discovery of LUNs is disabled on s390 platforms luns need to be added to the configuration through the unit_add interface

deconfigure_scsi_device(device_number, target_wwn, lun)

Write the LUN to the port’s unit_remove attribute.

If auto-discovery of LUNs is disabled on s390 platforms luns need to be removed from the configuration through the unit_remove interface

get_fc_hbas_info()

Get Fibre Channel WWNs and device paths from the system, if any.

Previous topic

The cinder.brick.initiator.host_driver Module

Next topic

The cinder.brick.initiator.linuxscsi Module

This Page