def _update_partition_out_create(self, tenant_id, tenant_name):
vrf_prof = self.serv_part_vrf_prof<EOL>seg = self.dcnm_obj.get_partition_segmentId(tenant_name,<EOL>fw_const.SERV_PART_NAME)<EOL>if seg is None:<EOL><INDENT>return False<EOL><DEDENT>else:<EOL><INDENT>self._update_partition_dci_id(tenant_name, seg,<EOL>vrf_prof=vrf_prof,<EOL>part_name=fw_const.SERV_PART_NAME)<EOL>return True<EOL><DEDENT>
Function to update a  partition.