summaryrefslogtreecommitdiffstats
path: root/deploy/execution_environment.py
diff options
context:
space:
mode:
authorwu.zhihui <wu.zhihui1@zte.com.cn>2016-04-28 03:27:15 -0400
committerwu.zhihui <wu.zhihui1@zte.com.cn>2016-04-28 03:27:15 -0400
commit1fbdece8ecca78f8caea3f994307efbbe20a98ab (patch)
tree8bb57509cf9c0d740d44cb722d59859d22d2ab75 /deploy/execution_environment.py
parentf50747c9ec79b9f89df6a6ba6d680a89bd6a3de3 (diff)
Add a dha adapter python file for ZTE hardware.
ZTE hardware need use IPMI command "chassis power cycle" on function node_reset(). JIRA: FUEL-127 Change-Id: I286fd9cda43d2e1799b134f0a391f57d08cd1928 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
Diffstat (limited to 'deploy/execution_environment.py')
-rw-r--r--deploy/execution_environment.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/deploy/execution_environment.py b/deploy/execution_environment.py
index b2d268253..b8e861c4a 100644
--- a/deploy/execution_environment.py
+++ b/deploy/execution_environment.py
@@ -31,7 +31,7 @@ class ExecutionEnvironment(object):
if type == 'libvirt':
return LibvirtEnvironment(storage_dir, dha_path, dea, root_dir)
- if type in ['ipmi', 'hp', 'amt']:
+ if type in ['ipmi', 'hp', 'amt', 'zte']:
return VirtualFuel(storage_dir, pxe_bridge, dha_path, root_dir)
return super(ExecutionEnvironment, cls).__new__(cls)