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

    Modifier and Type
    Method
    Description
    createParserMultiPathSupport(@NonNull List<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.multiprotocol.rev180329.mp.capabilities.add.path.capability.AddressFamilies> addPathCapabilities)
    Creates instance of MultiPathSupport holder to be used as a parser constraint, hence only "send" add-path capabilities are taken into the account.
    boolean
    isTableTypeSupported(org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.multiprotocol.rev180329.BgpTableType tableType)
    Check if requested AFI/SAFI is supported.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • createParserMultiPathSupport

      public static MultiPathSupport createParserMultiPathSupport(@NonNull List<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.multiprotocol.rev180329.mp.capabilities.add.path.capability.AddressFamilies> addPathCapabilities)
      Creates instance of MultiPathSupport 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(org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.multiprotocol.rev180329.BgpTableType tableType)
      Description copied from interface: MultiPathSupport
      Check if requested AFI/SAFI is supported.
      Specified by:
      isTableTypeSupported in interface MultiPathSupport
      Parameters:
      tableType - Table type to check
      Returns:
      True if the table type is supported.