The ironic_inspector.db Module

SQLAlchemy models for inspection data and shared database code.

class ironic_inspector.db.Attribute(**kwargs)[source]

Bases: sqlalchemy.ext.declarative.api.Base

name
uuid
value
class ironic_inspector.db.ModelBase[source]

Bases: oslo_db.sqlalchemy.models.ModelBase

class ironic_inspector.db.Node(**kwargs)[source]

Bases: sqlalchemy.ext.declarative.api.Base

error
finished_at
started_at
uuid
class ironic_inspector.db.Option(**kwargs)[source]

Bases: sqlalchemy.ext.declarative.api.Base

name
uuid
value
class ironic_inspector.db.Rule(**kwargs)[source]

Bases: sqlalchemy.ext.declarative.api.Base

actions
conditions
created_at
description
disabled
uuid
class ironic_inspector.db.RuleAction(**kwargs)[source]

Bases: sqlalchemy.ext.declarative.api.Base

action
as_dict()[source]
id
params
rule
class ironic_inspector.db.RuleCondition(**kwargs)[source]

Bases: sqlalchemy.ext.declarative.api.Base

as_dict()[source]
field
id
invert
multiple
op
params
rule
ironic_inspector.db.create_facade_lazily()[source]
ironic_inspector.db.ensure_transaction(*args, **kwds)[source]
ironic_inspector.db.get_engine()[source]
ironic_inspector.db.get_session(**kwargs)[source]
ironic_inspector.db.init()[source]

Initialize the database.

ironic_inspector.db.model_query(model, *args, **kwargs)[source]

Query helper for simpler session usage.

Parameters:session – if present, the session to use

Previous topic

The ironic_inspector.conf Module

Next topic

The ironic_inspector.dbsync Module

Project Source

This Page