ironic.drivers.modules.inspector.hooks.memory module

class ironic.drivers.modules.inspector.hooks.memory.MemoryHook[source]

Bases: InspectionHook

Hook to set the node’s memory_mb property based on the inventory.

__call__(task, inventory, plugin_data)[source]

Update node properties with memory information.