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