summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwu.zhihui <wu.zhihui1@zte.com.cn>2016-06-20 19:59:40 +0800
committerwu.zhihui <wu.zhihui1@zte.com.cn>2016-06-20 19:59:40 +0800
commit5514b02b38df42f7d954c63f4c74ecf8fbf368f8 (patch)
tree778d227a624d33f112087d6221b122f181de230c
parent4de621898db6e81ca1d0faf3ebd6f41a953be29a (diff)
Override parameter attempts in Class Zte_Adapter.
Give more attempts for zte hardware. Change-Id: I0906b6fe9e046ddd6436e5246494b89c812a40a2 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
-rw-r--r--deploy/dha_adapters/zte_adapter.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/deploy/dha_adapters/zte_adapter.py b/deploy/dha_adapters/zte_adapter.py
index 1e610ca41..a40a02685 100644
--- a/deploy/dha_adapters/zte_adapter.py
+++ b/deploy/dha_adapters/zte_adapter.py
@@ -20,8 +20,8 @@ from common import (
class ZteAdapter(IpmiAdapter):
- def __init__(self, yaml_path):
- super(ZteAdapter, self).__init__(yaml_path)
+ def __init__(self, yaml_path, attempts=100):
+ super(ZteAdapter, self).__init__(yaml_path, attempts)
def node_reset(self, node_id):
WAIT_LOOP = 600