The cinder.zonemanager.drivers.brocade.brcd_fc_san_lookup_service
Module¶
-
class
BrcdFCSanLookupService
(**kwargs)¶ Bases:
cinder.zonemanager.fc_san_lookup_service.FCSanLookupService
The SAN lookup service that talks to Brocade switches.
- Version History:
- 1.0.0 - Initial version 1.1 - Add support to use config option for switch southbound protocol
-
VERSION
= '1.1'¶
-
create_configuration
()¶ Configuration specific to SAN context values.
-
get_device_mapping_from_network
(initiator_wwn_list, target_wwn_list)¶ Provides the initiator/target map for available SAN contexts.
Looks up nameserver of each fc SAN configured to find logged in devices and returns a map of initiator and target port WWNs for each fabric.
Parameters: - initiator_wwn_list – List of initiator port WWN
- target_wwn_list – List of target port WWN
Returns: List – device wwn map in following format
{ <San name>: { 'initiator_port_wwn_list': ('200000051e55a100', '200000051e55a121'..) 'target_port_wwn_list': ('100000051e55a100', '100000051e55a121'..) } }
Raises: Exception when connection to fabric is failed