aboutsummaryrefslogtreecommitdiffstats
path: root/functest/opnfv_tests/sdn/odl
diff options
context:
space:
mode:
authorAlex Yang <yangyang1@zte.com.cn>2017-07-11 17:03:52 +0800
committerAlex Yang <yangyang1@zte.com.cn>2017-07-12 15:25:11 +0800
commit8958f985e4fba10db7ad67a96a536f1d7660985a (patch)
tree9c87c9f1e9b7e75446c0aa9c12d2487e215a878a /functest/opnfv_tests/sdn/odl
parentcf40eb1f837d73077168588097fd066287ff22e6 (diff)
Add odl configurations for odl testcase in daisy environment
To support odl testcase in the environment deployed by daisy installer. Change-Id: I70bc668520cf28385fcff8489c773b880e7b4080 Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
Diffstat (limited to 'functest/opnfv_tests/sdn/odl')
-rw-r--r--functest/opnfv_tests/sdn/odl/odl.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/functest/opnfv_tests/sdn/odl/odl.py b/functest/opnfv_tests/sdn/odl/odl.py
index 67bf66e3..ede0fc50 100644
--- a/functest/opnfv_tests/sdn/odl/odl.py
+++ b/functest/opnfv_tests/sdn/odl/odl.py
@@ -235,6 +235,10 @@ class ODLTests(testcase.TestCase):
kwargs['odlip'] = os.environ['SDN_CONTROLLER']
elif installer_type == 'compass':
kwargs['odlwebport'] = '8181'
+ elif installer_type == 'daisy':
+ kwargs['odlip'] = os.environ['SDN_CONTROLLER_IP']
+ kwargs['odlwebport'] = '8181'
+ kwargs['odlrestconfport'] = '8087'
else:
kwargs['odlip'] = os.environ['SDN_CONTROLLER_IP']
except KeyError as ex: