The watcher.decision_engine.model.collector.ironic Module

The watcher.decision_engine.model.collector.ironic Module

class watcher.decision_engine.model.collector.ironic.BaremetalClusterDataModelCollector(config, osc=None)[source]

Bases: watcher.decision_engine.model.collector.base.BaseClusterDataModelCollector

Baremetal cluster data model collector

The Baremetal cluster data model collector creates an in-memory representation of the resources exposed by the baremetal service.

execute()[source]

Build the baremetal cluster data model

get_audit_scope_handler(audit_scope)[source]

Get audit scope handler

class watcher.decision_engine.model.collector.ironic.ModelBuilder(osc)[source]

Bases: object

Build the graph-based model

This model builder adds the following data”

  • Baremetal-related knowledge (Ironic)
add_ironic_node(node)[source]
build_ironic_node(node)[source]

Build a Baremetal node from a Ironic node

Parameters:node (Node) – A ironic node
execute()[source]
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.