Class PCEPSegmentRoutingCapability

java.lang.Object
org.opendaylight.protocol.pcep.segment.routing.PCEPSegmentRoutingCapability
All Implemented Interfaces:
PCEPCapability

@MetaInfServices public class PCEPSegmentRoutingCapability extends Object implements PCEPCapability
  • Constructor Details

    • PCEPSegmentRoutingCapability

      public PCEPSegmentRoutingCapability()
    • PCEPSegmentRoutingCapability

      public PCEPSegmentRoutingCapability(boolean isSegmentRoutingCapable)
  • 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
    • isSegmentRoutingCapable

      public boolean isSegmentRoutingCapable()
    • 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
    • toString

      public String toString()
      Overrides:
      toString in class Object