@property
  def listen_port(self):
    if self._daemon:
      return self._daemon.listen_port

    return None
Returns the port the daemon is listening on.
dataset/ETHPy150Open ganeti/ganeti/lib/masterd/instance.py/DiskImport.listen_port