'Get lungroup from the given map'

def find_lungroup_from_map(self, view_id):

    url = ('/mappingview/associate/lungroup?TYPE=256&ASSOCIATEOBJTYPE=245&ASSOCIATEOBJID=%s' % view_id)
    result = self.call(url, None, 'GET')
    self._assert_rest_result(result, _('Find    lun    group    from    mapping    view    error.'))
    lungroup_id = None
    if ('data' in result):
        for item in result['data']:
            lungroup_id = item['ID']
    return lungroup_id
