summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonas Bjurel <jonas.bjurel@ericsson.com>2016-06-16 16:49:09 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-06-16 16:49:10 +0000
commitb86d8e65f9a8a3e52a7f06f8ac9d32963c9df6d4 (patch)
tree7a56764f698b037aacde0b31a3f8220c8c9e461b
parent523ae3b3247412daff4c127f505fc64d6dc67696 (diff)
parentdf90b43521e00df71e549564532c094c69051d63 (diff)
Merge "ipmi_adapter: add delay to stabilize command action"
-rw-r--r--deploy/dha_adapters/ipmi_adapter.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/deploy/dha_adapters/ipmi_adapter.py b/deploy/dha_adapters/ipmi_adapter.py
index c7dc7e4e8..7cc930554 100644
--- a/deploy/dha_adapters/ipmi_adapter.py
+++ b/deploy/dha_adapters/ipmi_adapter.py
@@ -65,6 +65,7 @@ class IpmiAdapter(HardwareAdapter):
attempts = self.attempts
while attempts:
+ time.sleep(self.delay)
state = self.node_get_state(node_id)
attempts -= 1
if state == expected: