'Return the active zone configuration.
Return active zoneset from fabric. When none of the configurations
are active then it will return empty map.
:returns: Map -- active zone set map in the following format
.. code-block:: python
\'zones\':
{\'openstack50060b0000c26604201900051ee8e329\':
[\'50060b0000c26604\', \'201900051ee8e329\']
\'active_zone_config\': \'OpenStack_Cfg\''

def get_active_zone_set(self):

    zone_set = {}
    zone = {}
    zone_member = None
    zone_name = None
    switch_data = None
    zone_set_name = None
    try:
        switch_data = self._get_switch_info([zone_constant.GET_ACTIVE_ZONE_CFG])
    except exception.BrocadeZoningCliException:
        with excutils.save_and_reraise_exception():
            LOG.error('Failed    getting    active    zone    set    from    fabric    %s', self.switch_ip)
    try:
        for line in switch_data:
            line_split = re.split('\\t', line)
            if (len(line_split) > 2):
                line_split = [x.replace('\n', '') for x in line_split]
                line_split = [x.replace('    ', '') for x in line_split]
                if (zone_constant.CFG_ZONESET in line_split):
                    zone_set_name = line_split[1]
                    continue
                if line_split[1]:
                    zone_name = line_split[1]
                    zone[zone_name] = list()
                if line_split[2]:
                    zone_member = line_split[2]
                    zone_member_list = zone.get(zone_name)
                    zone_member_list.append(zone_member)
        zone_set[zone_constant.CFG_ZONES] = zone
        zone_set[zone_constant.ACTIVE_ZONE_CONFIG] = zone_set_name
    except Exception:
        msg = (_('Malformed    zone    configuration:    (switch=%(switch)s    zone_config=%(zone_config)s).') % {'switch': self.switch_ip, 'zone_config': switch_data})
        LOG.exception(msg)
        raise exception.FCZoneDriverException(reason=msg)
    switch_data = None
    return zone_set
