'Find target portgroup id by target port group name.'

def get_tgt_port_group(self, tgt_port_group):

    url = '/portgroup?range=[0-8191]&TYPE=257'
    result = self.call(url, None, 'GET')
    msg = _('Find    portgroup    error.')
    self._assert_rest_result(result, msg)
    return self._get_id_from_result(result, tgt_port_group, 'NAME')
