Island: Add tcp_connections to node
This commit is contained in:
parent
80a095b657
commit
a390c97b70
|
@ -4,6 +4,7 @@ from pydantic import Field
|
|||
from typing_extensions import TypeAlias
|
||||
|
||||
from common.base_models import MutableInfectionMonkeyBaseModel
|
||||
from common.types import SocketAddress
|
||||
|
||||
from . import CommunicationType, MachineID
|
||||
|
||||
|
@ -24,3 +25,6 @@ class Node(MutableInfectionMonkeyBaseModel):
|
|||
|
||||
connections: NodeConnections
|
||||
"""All outbound connections from this node to other machines"""
|
||||
|
||||
tcp_connections: Mapping[MachineID, FrozenSet[SocketAddress]] = {}
|
||||
"""All successfull outbound TCP connections"""
|
||||
|
|
Loading…
Reference in New Issue