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
VERSION = '1.0.0'
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

get_formatted_wwn(wwn_str)

Utility API that formats WWN to insert ‘:’.

get_nameserver_info(ssh_pool)

Get name server data from fabric.

This method will return the connected node port wwn list(local and remote) for the given switch fabric

Parameters:ssh_pool – SSH connections for the current fabric

Previous topic

The cinder.zonemanager.drivers.brocade.brcd_fabric_opts Module

Next topic

The cinder.zonemanager.drivers.brocade.brcd_fc_zone_client_cli Module

Project Source

This Page