From: wu.zhihui Date: Mon, 20 Jun 2016 11:59:40 +0000 (+0800) Subject: Override parameter attempts in Class Zte_Adapter. X-Git-Tag: colorado.1.rc1~101 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=5514b02b38df42f7d954c63f4c74ecf8fbf368f8;p=fuel.git Override parameter attempts in Class Zte_Adapter. Give more attempts for zte hardware. Change-Id: I0906b6fe9e046ddd6436e5246494b89c812a40a2 Signed-off-by: wu.zhihui --- 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