Expand description

Generic record types

Records hold snippets of information that are contained in a BGP packet. The type of the key is variable: it can be an NLRI, or the NLRI can be disassembled into several records with the prefixes contained in the NLRI as key.

A record can be turned into a message (MessageRecord trait) to be ready to be send to other units, or external systems. A message has no references (anymore).

example: BGP packet → disassemble into records → turn into message → send to other units

See bgp module for records specific to BGP.

Enums

Tree-wide empty meta-data type

Traits

Trait for types that act as keys for records.

Trait that describes how an existing record gets merged

Record as a stand-alone message

Trait for types that can be used as metadata of a record

Generic Record trait

Trait for a type to act as the identity of the message sender

Type Definitions

Lamport Timestamp. Used to order messages between units/systems.

Sender ID type