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
¶
-
node_uuid
¶
-
uuid
¶
-
value
¶
-
-
class
ironic_inspector.db.
Node
(**kwargs)[source]¶ Bases:
sqlalchemy.ext.declarative.api.Base
-
error
¶
-
finished_at
¶
-
started_at
¶
-
state
¶
-
uuid
¶
-
version_id
¶
-
-
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
¶
-
id
¶
-
params
¶
-
rule
¶
-
-
class
ironic_inspector.db.
RuleCondition
(**kwargs)[source]¶ Bases:
sqlalchemy.ext.declarative.api.Base
-
field
¶
-
id
¶
-
invert
¶
-
multiple
¶
-
op
¶
-
params
¶
-
rule
¶
-
-
ironic_inspector.db.
get_context_manager
()[source]¶ Create transaction context manager lazily.
Returns: The transaction context manager.
-
ironic_inspector.db.
get_reader_session
()[source]¶ Help method to get reader session.
Returns: The reader session.
-
ironic_inspector.db.
get_writer_session
()[source]¶ Help method to get writer session.
Returns: The writer session.