Class AsPathLimit

  • All Implemented Interfaces:
    Attribute

    public class AsPathLimit
    extends java.lang.Object
    implements Attribute
    The AS_PATHLIMIT attribute is a transitive optional BGP path attribute, with Type Code 21. The AS_PATHLIMIT attribute has a fixed length of 5 octets. The first octet is an unsigned number that is the upper bound on the number of ASes in the AS_PATH attribute of the associated paths. One octet suffices because the TTL field of the IP header ensures that only one octet's worth of ASes can ever be traversed. The second thru fifth octets are the AS number of the AS that attached the AS_PATHLIMIT attribute to the NLRI.
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.opennms.netmgt.telemetry.protocols.bmp.parser.proto.bgp.packets.pathattr.Attribute

        Attribute.Visitor
    • Field Summary

      Fields 
      Modifier and Type Field Description
      long as  
      int upperBound  
    • Constructor Summary

      Constructors 
      Constructor Description
      AsPathLimit​(io.netty.buffer.ByteBuf buffer, PeerFlags flags)  
    • Field Detail

      • upperBound

        public final int upperBound
      • as

        public final long as
    • Constructor Detail

      • AsPathLimit

        public AsPathLimit​(io.netty.buffer.ByteBuf buffer,
                           PeerFlags flags)
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object