Class MultiPathSupportImpl
java.lang.Object
org.opendaylight.protocol.bgp.parser.spi.pojo.MultiPathSupportImpl
- All Implemented Interfaces:
MultiPathSupport,PeerConstraint
-
Method Summary
Modifier and TypeMethodDescriptionstatic MultiPathSupportcreateParserMultiPathSupport(@NonNull List<AddressFamilies> addPathCapabilities) Creates instance ofMultiPathSupportholder to be used as a parser constraint, hence only "send" add-path capabilities are taken into the account.booleanisTableTypeSupported(BgpTableType tableType) Check if requested AFI/SAFI is supported.
-
Method Details
-
createParserMultiPathSupport
public static MultiPathSupport createParserMultiPathSupport(@NonNull List<AddressFamilies> addPathCapabilities) Creates instance ofMultiPathSupportholder to be used as a parser constraint, hence only "send" add-path capabilities are taken into the account.- Parameters:
addPathCapabilities- The remote add-path capabilities list.- Returns:
- MultiPathSupport instance.
-
isTableTypeSupported
Description copied from interface:MultiPathSupportCheck if requested AFI/SAFI is supported.- Specified by:
isTableTypeSupportedin interfaceMultiPathSupport- Parameters:
tableType- Table type to check- Returns:
- True if the table type is supported.
-