Class AbstractIpv4ExtendedCommunity

java.lang.Object
org.opendaylight.protocol.bgp.parser.spi.extended.community.AbstractIpv4ExtendedCommunity
All Implemented Interfaces:
ExtendedCommunityParser, ExtendedCommunitySerializer
Direct Known Subclasses:
Ipv4SpecificEcHandler, RouteOriginIpv4EcHandler, RouteTargetIpv4EcHandler, VrfRouteImportHandler

public abstract class AbstractIpv4ExtendedCommunity extends Object implements ExtendedCommunityParser, ExtendedCommunitySerializer
  • Field Details

    • INET_LOCAL_ADMIN_LENGTH

      protected static final int INET_LOCAL_ADMIN_LENGTH
      See Also:
  • Constructor Details

    • AbstractIpv4ExtendedCommunity

      public AbstractIpv4ExtendedCommunity()
  • Method Details

    • getType

      public final int getType(boolean isTransitive)
      Description copied from interface: ExtendedCommunitySerializer
      Provides a type of the extended community for which the serializer is registered.
      Specified by:
      getType in interface ExtendedCommunitySerializer
      Parameters:
      isTransitive - Transitivity of the extended community.
      Returns:
      A type of the extended community.