def _get_pipe_name(self):
        """
        Returns the pipe name to create a serial connection.

        :returns: pipe path (string)
        """

        if sys.platform.startswith("win"):
            pipe_name = r"\\.\pipe\gns3_vmware\{}".format(self.id)
        else:
            pipe_name = os.path.join(tempfile.gettempdir(), "gns3_vmware", "{}".format(self.id))
            try:
                os.makedirs(os.path.dirname(pipe_name), exist_ok=True)
            except OSError as e:
                raise VMwareError("Could not create the VMware pipe directory: {}".format(e))
        return pipe_name
def _get_pipe_name ( self ) : if sys . platform . startswith ( "win" ) : pipe_name = r"\\.\pipe\gns3_vmware\{}" . format ( self . id ) else : pipe_name = os . path . join ( tempfile . gettempdir ( ) , "gns3_vmware" , "{}" . format ( self . id ) ) try : os . makedirs ( os . path . dirname ( pipe_name ) , exist_ok = True ) except OSError as e : raise VMwareError ( "Could not create the VMware pipe directory: {}" . format ( e ) ) return pipe_name
Returns the pipe name to create a serial connection.

        :returns: pipe path (string)