ironic.drivers.modules.inspector.hooks.parse_lldp module¶
LLDP Processing Hook for basic TLVs
- class ironic.drivers.modules.inspector.hooks.parse_lldp.ParseLLDPHook[source]¶
Bases:
InspectionHook
Process LLDP packet fields and store them in plugin_data[‘parsed_lldp’]
Convert binary LLDP information into a readable form. Loop through raw LLDP TLVs and parse those from the basic management, 802.1, and 802.3 TLV sets. Store parsed data in the plugin_data as a new parsed_lldp dictionary with interface names as keys.