feat: add endpoint to get iface/udp tunnel from links with Cloud,Nat

This commit is contained in:
Mark Paronyan committed 2025-03-23 13:46:27 +00:00
1 parent 8e6f5d2b57
commit ea2856289a
3 files changed
+72 -1

No files matched your search

+18
View File
@@ -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