diff options
author | Dmitry Tantsur <dtantsur@redhat.com> | 2015-02-17 13:09:13 +0100 |
---|---|---|
committer | Dmitry Tantsur <dtantsur@redhat.com> | 2015-03-05 16:32:26 +0100 |
commit | 03eb9e022e1a9bc15d6e90b6e163d27102da412f (patch) | |
tree | df669385410d5e65c8674272b8f2008a797f87f6 /ironic/common/states.py | |
parent | d6a7cdc54d79b6c5d62af6625556322ea2f05dff (diff) | |
download | ironic-03eb9e022e1a9bc15d6e90b6e163d27102da412f.tar.gz |
Add module for in-band inspection using ironic-discoverd
Also adds FakeDiscoverdDriver for the sake of testing.
Change-Id: I49463e7eb897c73b42e1d2816b4f2001b885c7f6
Implements: blueprint inband-properties-discovery
Diffstat (limited to 'ironic/common/states.py')
-rw-r--r-- | ironic/common/states.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ironic/common/states.py b/ironic/common/states.py index 544fc7833..9baf695cf 100644 --- a/ironic/common/states.py +++ b/ironic/common/states.py @@ -149,6 +149,11 @@ inspected node shall transition to MANAGEABLE status. INSPECTFAIL = 'inspect failed' """ Node inspection failed. """ + +UPDATE_ALLOWED_STATES = (DEPLOYFAIL, INSPECTING, INSPECTFAIL) +"""Transitional states in which we allow updating a node.""" + + ############## # Power states ############## |