ironic-inspector/ironic_inspector
dparalen 3ddc0615e5 Introducing node introspection state management
Currently, state of a node introspection isn't kept in the database.
This change introduces:

* a new database column to keep the node introspection state
* an automaton to manage the node introspection state
* a decorator to declare a function performing an introspection state
  transition
* a version_id column is added, to enhance database consistency, that
  is consulted whenever node_info is committed

This change is part of the HA_Inspector effort[1]

[1] https://specs.openstack.org/openstack/ironic-inspector-specs/specs/HA_inspector.html

Closes-Bug: #1618835
Partial-Bug: #1525218
Change-Id: I18cb45f0d1194414715ccbe826d8a95610ec718d
2016-12-15 00:20:27 +01:00
..
common Add translation marker to deprecated_reason of config opts 2016-09-13 10:53:50 +00:00
migrations Introducing node introspection state management 2016-12-15 00:20:27 +01:00
plugins Use function is_valid_mac from oslo.utils 2016-11-22 12:59:53 +00:00
test Introducing node introspection state management 2016-12-15 00:20:27 +01:00
__init__.py Switch to pbr 2015-06-18 16:09:07 +02:00
alembic.ini Add alembic migrations for the inspector database 2015-09-23 14:44:46 +01:00
api_tools.py Add API for listing all introspection statuses 2016-11-21 15:58:24 +01:00
conf.py Add API for listing all introspection statuses 2016-11-21 15:58:24 +01:00
db.py Introducing node introspection state management 2016-12-15 00:20:27 +01:00
dbsync.py Remove downgrades from migrations 2016-03-25 13:37:49 +02:00
firewall.py Update to hacking 0.12.0 and use new checks 2016-11-09 05:37:10 -08:00
introspect.py Introducing node introspection state management 2016-12-15 00:20:27 +01:00
introspection_state.py Introducing node introspection state management 2016-12-15 00:20:27 +01:00
main.py Add API for listing all introspection statuses 2016-11-21 15:58:24 +01:00
node_cache.py Introducing node introspection state management 2016-12-15 00:20:27 +01:00
process.py Introducing node introspection state management 2016-12-15 00:20:27 +01:00
rules.py Check whether action value is string before calling format() 2016-08-03 17:13:03 +08:00
utils.py Introducing node introspection state management 2016-12-15 00:20:27 +01:00
version.py Use Reno for release notes management 2015-11-26 10:12:14 +01:00