Crate netgauze_ipfix_code_generator

Source

Modules§

xml_parsers

Structs§

Config
Configuration to generate IPFIX/Netflow entities
ExternalSubRegistrySource
From where to pull the external sub-registries
InformationElement
Represent Information Element as read form a registry
ReasonCodeNestedRegistry
Describes sub-registries with nested registries for reason code, such as: Forwarding Status (Value 89)
SimpleRegistry
Describes simple registries such as IPFIX Information Element Data Types And IPFIX Information Element Semantics
SourceConfig
Configuration for a single IPFIX Flow IE entities definition Could be the main IANA registry or a vendor specific source
ValueNameDescRegistry
Describes simple sub-registries with Value and (Name and/or Description) plus optional comment, parameters, xrefs, such as: flowEndReason (Value 136)
Xref
Describes <xref> tag to link to a resource

Enums§

GenerateError
GenerateIanaConfigError
GetStringSourceError
InformationElementSubRegistry
Abstracts Information Element sub-registries types
RegistrySource
From where to pull the IPFIX definitions
RegistryType
IPFIX can be defined in multiple ways
SubRegistryType
There could be different types of subregistries that require a different parsing and/or code generator.

Functions§

generate
get_string_source
Get the data from an XML source, and return the root node