Class MultiPathSupportImpl
- java.lang.Object
-
- org.opendaylight.protocol.bgp.parser.spi.pojo.MultiPathSupportImpl
-
- All Implemented Interfaces:
MultiPathSupport
,PeerConstraint
public final class MultiPathSupportImpl extends Object implements MultiPathSupport
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MultiPathSupport
createParserMultiPathSupport(@NonNull List<AddressFamilies> addPathCapabilities)
Creates instance ofMultiPathSupport
holder to be used as a parser constraint, hence only "send" add-path capabilities are taken into the account.boolean
isTableTypeSupported(BgpTableType tableType)
Check if requested AFI/SAFI is supported.
-
-
-
Method Detail
-
createParserMultiPathSupport
public static MultiPathSupport createParserMultiPathSupport(@NonNull List<AddressFamilies> addPathCapabilities)
Creates instance ofMultiPathSupport
holder 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
public boolean isTableTypeSupported(BgpTableType tableType)
Description copied from interface:MultiPathSupport
Check if requested AFI/SAFI is supported.- Specified by:
isTableTypeSupported
in interfaceMultiPathSupport
- Parameters:
tableType
- Table type to check- Returns:
- True if the table type is supported.
-
-