Class AttrSet
- java.lang.Object
-
- org.opennms.netmgt.telemetry.protocols.bmp.parser.proto.bgp.packets.pathattr.AttrSet
-
- All Implemented Interfaces:
Attribute
public class AttrSet extends Object implements Attribute
From RFC6368: The attribute value consists of a 4-octet "Origin AS" value followed by a variable-length field that conforms to the BGP UPDATE message path attribute encoding rules. The length of this attribute is 4 plus the total length of the encoded attributes. +------------------------------+ | Origin AS (4 octets) | +------------------------------+ | Path Attributes (variable) | +------------------------------+
-
-
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
originAs
List<UpdatePacket.PathAttribute>
pathAttributes
-
-
-
Field Detail
-
originAs
public final long originAs
-
pathAttributes
public final List<UpdatePacket.PathAttribute> pathAttributes
-
-
Constructor Detail
-
AttrSet
public AttrSet(io.netty.buffer.ByteBuf buffer, PeerFlags flags, Optional<PeerInfo> peerInfo) throws InvalidPacketException
- Throws:
InvalidPacketException
-
-