summaryrefslogtreecommitdiffstats
path: root/deploy/dha.py
diff options
context:
space:
mode:
authorJonas Bjurel <jonas.bjurel@ericsson.com>2016-04-29 17:01:32 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-04-29 17:01:32 +0000
commitd4db56bdb5f8ecd604d3a9c6bcf91b8968ed2ff7 (patch)
treefa4503c23f20f82e6d8773d32ada321330797ec5 /deploy/dha.py
parentb238e8ad78b2bcc98489e1ce79741d0a635e736d (diff)
parent1fbdece8ecca78f8caea3f994307efbbe20a98ab (diff)
Merge "Add a dha adapter python file for ZTE hardware."
Diffstat (limited to 'deploy/dha.py')
-rw-r--r--deploy/dha.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/deploy/dha.py b/deploy/dha.py
index cb413cbb0..3f09da40a 100644
--- a/deploy/dha.py
+++ b/deploy/dha.py
@@ -15,6 +15,7 @@ from dha_adapters.libvirt_adapter import LibvirtAdapter
from dha_adapters.ipmi_adapter import IpmiAdapter
from dha_adapters.hp_adapter import HpAdapter
from dha_adapters.amt_adapter import AmtAdapter
+from dha_adapters.zte_adapter import ZteAdapter
class DeploymentHardwareAdapter(object):
@@ -32,4 +33,6 @@ class DeploymentHardwareAdapter(object):
return HpAdapter(yaml_path)
if type == 'amt':
return AmtAdapter(yaml_path)
+ if type == 'zte':
+ return ZteAdapter(yaml_path)
return super(DeploymentHardwareAdapter, cls).__new__(cls)