mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 05:51:15 +02:00
feat: add endpoint to get iface/udp tunnel from links with Cloud,Nat
This commit is contained in:
3 files changed
+72
-1
No files matched your search
@@ -92,3 +92,21 @@ class Link(LinkBase):
|
||||
None,
|
||||
description="Read only property. The compute identifier where a capture is running"
|
||||
)
|
||||
|
||||
|
||||
class UdpPort(BaseModel):
|
||||
"""
|
||||
UDP port information.
|
||||
"""
|
||||
|
||||
lport: int
|
||||
rhost: str
|
||||
rport: int
|
||||
|
||||
|
||||
class EthernetPort(BaseModel):
|
||||
"""
|
||||
Ethernet port information.
|
||||
"""
|
||||
|
||||
interface: str
|
||||
Reference in new issue
Block a user