mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-06 07:11:13 +02:00
Moves NIO creation to the base manager.
This commit is contained in:
1 parent
6ec4dea9b9
commit
2681defe27
8 files changed
+126
-156
No files matched your search
@@ -48,4 +48,5 @@ class NIO_TAP(object):
|
||||
|
||||
def __json__(self):
|
||||
|
||||
return {"type": "nio_tap", "tap_device": self._tap_device}
|
||||
return {"type": "nio_tap",
|
||||
"tap_device": self._tap_device}
|
||||
@@ -74,4 +74,7 @@ class NIO_UDP(object):
|
||||
|
||||
def __json__(self):
|
||||
|
||||
return {"type": "nio_udp", "lport": self._lport, "rport": self._rport, "rhost": self._rhost}
|
||||
return {"type": "nio_udp",
|
||||
"lport": self._lport,
|
||||
"rport": self._rport,
|
||||
"rhost": self._rhost}
|
||||
Reference in new issue
Block a user