Class PCEPSegmentRoutingCapability
java.lang.Object
org.opendaylight.protocol.pcep.segment.routing.PCEPSegmentRoutingCapability
- All Implemented Interfaces:
PCEPCapability
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
Returs stateful capability state.void
setCapabilityProposal
(InetSocketAddress address, TlvsBuilder builder) Sets stateful capabilities tlv in incoming builder.toString()
-
Constructor Details
-
PCEPSegmentRoutingCapability
public PCEPSegmentRoutingCapability() -
PCEPSegmentRoutingCapability
public PCEPSegmentRoutingCapability(boolean isSegmentRoutingCapable)
-
-
Method Details
-
setCapabilityProposal
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
-
toString
-