def _terminate_process_iou(self):
        """
        Terminate the IOU process if running
        """

        if self._iou_process:
            log.info('Stopping IOU process for IOU VM "{}" PID={}'.format(self.name, self._iou_process.pid))
            try:
                self._iou_process.terminate()
            # Sometime the process can already be dead when we garbage collect
            except ProcessLookupError:
                pass
        self._started = False
        self.status = "stopped"
def _terminate_process_iou ( self ) : if self . _iou_process : log . info ( 'Stopping IOU process for IOU VM "{}" PID={}' . format ( self . name , self . _iou_process . pid ) ) try : self . _iou_process . terminate ( ) except ProcessLookupError : pass self . _started = False self . status = "stopped"
Terminate the IOU process if running