The cinder.zonemanager.drivers.brocade.brcd_fc_zone_driver Module

The cinder.zonemanager.drivers.brocade.brcd_fc_zone_driver Module

Brocade Zone Driver is responsible to manage access control using FC zoning for Brocade FC fabrics. This is a concrete implementation of FCZoneDriver interface implementing add_connection and delete_connection interfaces.

Related Flags

zone_activate:Used by: class: ‘FCZoneDriver’. Defaults to True
zone_name_prefix:
 Used by: class: ‘FCZoneDriver’. Defaults to ‘openstack’
class BrcdFCZoneDriver(**kwargs)

Bases: cinder.zonemanager.drivers.fc_zone_driver.FCZoneDriver

Brocade FC zone driver implementation.

OpenStack Fibre Channel zone driver to manage FC zoning in Brocade SAN fabrics.

Version history:
1.0 - Initial Brocade FC zone driver 1.1 - Implements performance enhancements 1.2 - Added support for friendly zone name 1.3 - Added HTTP connector support 1.4 - Adds support to zone in Virtual Fabrics 1.5 - Initiator zoning updates through zoneadd/zoneremove
CI_WIKI_NAME = 'Brocade_OpenStack_CI'
VERSION = '1.5'
add_connection(*args, **kwargs)

Concrete implementation of add_connection.

Based on zoning policy and state of each I-T pair, list of zone members are created and pushed to the fabric to add zones. The new zones created or zones updated are activated based on isActivate flag set in cinder.conf returned by volume driver after attach operation.

Parameters:
  • fabric – Fabric name from cinder.conf file
  • initiator_target_map – Mapping of initiator to list of targets
delete_connection(*args, **kwargs)

Concrete implementation of delete_connection.

Based on zoning policy and state of each I-T pair, list of zones are created for deletion. The zones are either updated deleted based on the policy and attach/detach state of each I-T pair.

Parameters:
  • fabric – Fabric name from cinder.conf file
  • initiator_target_map – Mapping of initiator to list of targets
get_san_context(target_wwn_list)

Lookup SAN context for visible end devices.

Look up each SAN configured and return a map of SAN (fabric IP) to list of target WWNs visible to the fabric.

Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.