ZoneManager is responsible to manage access control using FC zoning when zoning mode is set as ‘fabric’. ZoneManager provides interfaces to add connection and remove connection for given initiator and target list associated with a FC volume attach and detach operation.
Related Flags
zone_driver: | Used by:class:ZoneManager. Defaults to cinder.zonemanager.drivers.brocade.brcd_fc_zone_driver.BrcdFCZoneDriver |
---|---|
zoning_policy: | Used by: class: ‘ZoneManager’. Defaults to ‘none’ |
Bases: cinder.zonemanager.fc_common.FCCommon
Manages Connection control during attach/detach.
Add connection control.
Adds connection control for the given initiator target map. initiator_target_map - each initiator WWN mapped to a list of one or more target WWN: eg: {
‘10008c7cff523b01’: [‘20240002ac000a50’, ‘20240002ac000a40’]
}
Delete connection.
Updates/deletes connection control for the given initiator target map. initiator_target_map - each initiator WWN mapped to a list of one or more target WWN: eg: {
‘10008c7cff523b01’: [‘20240002ac000a50’, ‘20240002ac000a40’]
}
SAN lookup for end devices.
Look up each SAN configured and return a map of SAN (fabric IP) to list of target WWNs visible to the fabric.
Reference count check for end devices.
Looks up the reference count for each initiator-target pair from the map and returns a filtered list based on the operation type add_control - operation type can be true for add connection control and false for remove connection control
Zone management state check.
Performs state check for given I-T pair to return the current count of active attach for the pair.