'Cleanup zones after terminate connection.
:param zoning_mappings: zoning mapping dict
:returns: data - dict'

def _cleanup_zones(self, zoning_mappings):

    LOG.debug('Looking    for    masking    views    still    associated    with    Port    Group    %s.', zoning_mappings['port_group'])
    masking_views = self.common.get_common_masking_views(zoning_mappings['array'], zoning_mappings['port_group'], zoning_mappings['initiator_group'])
    if masking_views:
        LOG.debug('Found    %(numViews)d    MaskingViews.', {'numViews': len(masking_views)})
        data = {'driver_volume_type': 'fibre_channel', 'data': {}}
    else:
        LOG.debug('No    MaskingViews    were    found.    Deleting    zone.')
        data = {'driver_volume_type': 'fibre_channel', 'data': {'target_wwn': zoning_mappings['target_wwns'], 'initiator_target_map': zoning_mappings['init_targ_map']}}
        LOG.debug('Return    FC    data    for    zone    removal:    %(data)s.', {'data': data})
    return data
