'Gets active zoneset config for vsan.'

def get_active_zone_set(self, fabric_ip, fabric_user, fabric_pwd, fabric_port, zoning_vsan):

    cfgmap = {}
    conn = None
    try:
        LOG.debug('Southbound    connector:    %s', self.configuration.cisco_sb_connector)
        conn = importutils.import_object(self.configuration.cisco_sb_connector, ipaddress=fabric_ip, username=fabric_user, password=fabric_pwd, port=fabric_port, vsan=zoning_vsan)
        cfgmap = conn.get_active_zone_set()
        conn.cleanup()
    except Exception:
        msg = _('Failed    to    access    active    zoning    configuration.')
        LOG.exception(msg)
        raise exception.FCZoneDriverException(msg)
    LOG.debug('Active    zone    set    from    fabric:    %s', cfgmap)
    return cfgmap
