Class PCEPSegmentRoutingCapability
- java.lang.Object
-
- org.opendaylight.protocol.pcep.segment.routing.PCEPSegmentRoutingCapability
-
- All Implemented Interfaces:
PCEPCapability
public class PCEPSegmentRoutingCapability extends Object implements PCEPCapability
-
-
Constructor Summary
Constructors Constructor Description PCEPSegmentRoutingCapability(boolean isSegmentRoutingCapable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isSegmentRoutingCapable()
boolean
isStateful()
Returs stateful capability state.void
setCapabilityProposal(InetSocketAddress address, TlvsBuilder builder)
Sets stateful capabilities tlv in incoming builder.
-
-
-
Method Detail
-
setCapabilityProposal
public void setCapabilityProposal(InetSocketAddress address, TlvsBuilder builder)
Description copied from interface:PCEPCapability
Sets stateful capabilities tlv in incoming builder.- Specified by:
setCapabilityProposal
in interfacePCEPCapability
- Parameters:
address
- peer address to assign capability proposalbuilder
- 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 interfacePCEPCapability
- Returns:
- true if capability is present
-
-