mirror of
https://github.com/GNS3/gns3-server.git
synced 2025-06-17 06:48:18 +00:00
General work on the Dynamips backend (need to finish and polish).
This commit is contained in:
@ -21,6 +21,9 @@ Interface for UNIX NIOs (Unix based OSes only).
|
||||
|
||||
from .nio import NIO
|
||||
|
||||
import logging
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class NIO_UNIX(NIO):
|
||||
"""
|
||||
@ -48,6 +51,18 @@ class NIO_UNIX(NIO):
|
||||
local=local_file,
|
||||
remote=remote_file))
|
||||
|
||||
log.info("NIO UNIX {name} created with local file {local} and remote file {remote}".format(name=self._name,
|
||||
local=local_file,
|
||||
remote=remote_file))
|
||||
|
||||
@classmethod
|
||||
def reset(cls):
|
||||
"""
|
||||
Reset the instance count.
|
||||
"""
|
||||
|
||||
cls._instance_count = 0
|
||||
|
||||
@property
|
||||
def local_file(self):
|
||||
"""
|
||||
|
Reference in New Issue
Block a user