The cinder.zonemanager.drivers.cisco.cisco_fc_san_lookup_service Module

class CiscoFCSanLookupService(**kwargs)

Bases: cinder.zonemanager.fc_san_lookup_service.FCSanLookupService

The SAN lookup service that talks to Cisco switches.

Version History:
1.0.0 - Initial version
VERSION = '1.0.0'
cleanup()
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 fcns database 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_nameserver_info(fabric_vsan)

Get fcns database info from fabric.

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

Previous topic

The cinder.zonemanager.drivers.cisco.cisco_fabric_opts Module

Next topic

The cinder.zonemanager.drivers.cisco.cisco_fc_zone_client_cli Module

This Page