'Associate lun to lungroup.'

def associate_lun_to_lungroup(self, lungroup_id, lun_id, lun_type=constants.LUN_TYPE):

    url = '/lungroup/associate'
    data = {'ID': lungroup_id, 'ASSOCIATEOBJTYPE': lun_type, 'ASSOCIATEOBJID': lun_id}
    result = self.call(url, data, 'POST')
    self._assert_rest_result(result, _('Associate    lun    to    lungroup    error.'))
