The cinder.interface.fczm_driver Module

Core fibre channel zone manager driver interface.

All fczm drivers should support this interface as a bare minimum.

class FibreChannelZoneManagerDriver

Bases: cinder.interface.base.CinderInterface

FCZM driver required interface.

add_connection(fabric, initiator_target_map, host_name=None, storage_system=None)

Add a new initiator<>target connection.

All implementing drivers should provide concrete implementation for this API.

Parameters:
  • fabric – Fabric name from cinder.conf file
  • initiator_target_map – Mapping of initiator to list of targets
Example initiator_target_map:

{
    '10008c7cff523b01': ['20240002ac000a50', '20240002ac000a40']
}

Note that WWPN can be in lower or upper case and can be ‘:’ separated strings.

delete_connection(fabric, initiator_target_map, host_name=None, storage_system=None)

Delete an initiator<>target connection.

Parameters:
  • fabric – Fabric name from cinder.conf file
  • initiator_target_map – Mapping of initiator to list of targets
Example initiator_target_map:

{
    '10008c7cff523b01': ['20240002ac000a50', '20240002ac000a40']
}

Note that WWPN can be in lower or upper case and can be ‘:’ separated strings.

get_san_context(target_wwn_list)

Get SAN context for end devices.

Parameters:target_wwn_list – Mapping of initiator to list of targets

Example initiator_target_map: [‘20240002ac000a50’, ‘20240002ac000a40’] Note that WWPN can be in lower or upper case and can be ‘:’ separated strings.

Previous topic

The cinder.interface.base Module

Next topic

The cinder.interface.util Module

This Page