ironic_python_agent.hardware_managers.cna module

class ironic_python_agent.hardware_managers.cna.IntelCnaHardwareManager[source]

Bases: ironic_python_agent.hardware.GenericHardwareManager

HARDWARE_MANAGER_NAME = 'IntelCnaHardwareManager'
HARDWARE_MANAGER_VERSION = '1.0'
collect_lldp_data(interface_names)[source]

Collect and convert LLDP info from the node.

On Intel CNA cards, in order to make LLDP info collecting possible, the embedded LLDP agent, which runs inside that card, needs to be turned off. Then we can give the control back to the super class.

Parameters

interface_names – list of names of node’s interfaces.

Returns

a dict, containing the lldp data from every interface.

evaluate_hardware_support()[source]