Class PCEPStatefulCapability

java.lang.Object
org.opendaylight.protocol.pcep.ietf.stateful.PCEPStatefulCapability
All Implemented Interfaces:
PCEPCapability

@MetaInfServices public final class PCEPStatefulCapability extends Object implements PCEPCapability
  • Constructor Details

    • PCEPStatefulCapability

      public PCEPStatefulCapability()
    • PCEPStatefulCapability

      public PCEPStatefulCapability(boolean stateful, boolean active, boolean initiated, boolean triggeredSync, boolean triggeredResync, boolean deltaLspSync, boolean includeDbVersion)
    • PCEPStatefulCapability

      public PCEPStatefulCapability(PcepIetfStatefulConfig config)
  • Method Details

    • setCapabilityProposal

      public void setCapabilityProposal(InetSocketAddress address, TlvsBuilder builder)
      Description copied from interface: PCEPCapability
      Sets stateful capabilities tlv in incoming builder.
      Specified by:
      setCapabilityProposal in interface PCEPCapability
      Parameters:
      address - peer address to assign capability proposal
      builder - for TLVs included in PCEPOpenObject
    • isStateful

      public boolean isStateful()
      Description copied from interface: PCEPCapability
      Returs stateful capability state.
      Specified by:
      isStateful in interface PCEPCapability
      Returns:
      true if capability is present
    • isActive

      public boolean isActive()
    • isInstant

      public boolean isInstant()
    • isTriggeredSync

      public boolean isTriggeredSync()
    • isTriggeredResync

      public boolean isTriggeredResync()
    • isDeltaLspSync

      public boolean isDeltaLspSync()
    • isIncludeDbVersion

      public boolean isIncludeDbVersion()