def update_segmentid_range(self, orchestrator_id, segid_min, segid_max):
url = "<STR_LIT>" % (self._segmentid_ranges_url, orchestrator_id)<EOL>payload = {'<STR_LIT>': orchestrator_id,<EOL>'<STR_LIT>': "<STR_LIT>" % (segid_min, segid_max)}<EOL>res = self._send_request('<STR_LIT>', url, payload, '<STR_LIT>')<EOL>if not (res and res.status_code in self._resp_ok):<EOL><INDENT>LOG.error("<STR_LIT>"<EOL>"<STR_LIT>",<EOL>{'<STR_LIT>': orchestrator_id, '<STR_LIT:text>': res.text})<EOL>raise dexc.DfaClientRequestFailed(reason=self._failure_msg(res))<EOL><DEDENT>
update segment id range in DCNM.