class_docstr: A class for managing multiple kernels.
class_docstr_tok: ["A","class","for","managing","multiple","kernels","."]
docstr: Restart a kernel by its uuid, keeping the same ports.
  
  Parameters
  ==========
  kernel_id : uuid
      The id of the kernel to interrupt.
code: def restart_kernel(self, kernel_id, now=False):
      """Restart a kernel by its uuid, keeping the same ports.
  
      Parameters
      ==========
      kernel_id : uuid
          The id of the kernel to interrupt.
      """
      self.log.info("Kernel restarted: %s" % kernel_id)
  
imports: from __future__ import absolute_import
  import os
  import uuid
  import zmq
  from traitlets.config.configurable import LoggingConfigurable
  from ipython_genutils.importstring import import_item
  from traitlets import Any, Bool, Dict, DottedObjectName, Instance, Unicode, default, observe
  from ipython_genutils.py3compat import unicode_type
  from .kernelspec import NATIVE_KERNEL_NAME, KernelSpecManager
label_desc: Use image node_id 18 for calling the MultiKernelManager obj's underlying member method code with example usage: obj.restart_kernel(kernel_id, now) without return types