'Get LUNcopy information.'

def get_luncopy_info(self, luncopy_id):

    url = '/LUNCOPY?range=[0-1023]'
    result = self.call(url, None, 'GET')
    self._assert_rest_result(result, _('Get    LUNcopy    information    error.'))
    luncopyinfo = {}
    if ('data' in result):
        for item in result['data']:
            if (luncopy_id == item['ID']):
                luncopyinfo['name'] = item['NAME']
                luncopyinfo['id'] = item['ID']
                luncopyinfo['state'] = item['HEALTHSTATUS']
                luncopyinfo['status'] = item['RUNNINGSTATUS']
                break
    return luncopyinfo
