QuarantineReason Objects
class QuarantineReason(BaseModel, ABC)
Base class for quarantine reasons
reason
@property
@abstractmethod
def reason() -> str
Returns a string describing the reason for quarantine
MissingEdgeNodeReason Objects
class MissingEdgeNodeReason(QuarantineReason)
Class definition of MissingEdgeNodeReason
Attributes:
side
- Either Source or Destinationnode_name
- The name of the missing nodenode_namespace
- The namespace of the missing node
reason
@property
def reason() -> str
Returns a string describing the reason for quarantine
QuarantinedEdge Objects
class QuarantinedEdge(BaseModel)
Class definition of QuarantinedEdge
Attributes:
edge
- The edge that was quarantinedreasons
- A list of reasons for quarantine
QuarantinedNode Objects
class QuarantinedNode(BaseModel)
Class definition of QuarantinedNode
Attributes:
node
- The node that was quarantinedreasons
- A list of reasons for quarantine
QuarantinedEvent Objects
class QuarantinedEvent(BaseModel)
Class definition of QuarantinedEvent
Attributes:
event
- The event that was quarantinedreasons
- A list of reasons for quarantine
Quarantine Objects
class Quarantine(BaseModel)
Class definition of Quarantine
Attributes:
nodes
- A list of quarantined nodesedges
- A list of quarantined edgesevents
- A list of quarantined events
has_quarantined
@property
def has_quarantined()
Returns True if there are any quarantined objects in the Quarantine