[Fuel/MCP] Set opendaylight web/restconf ports
authorMichael Polenchuk <mpolenchuk@mirantis.com>
Thu, 7 Sep 2017 10:12:37 +0000 (14:12 +0400)
committerCédric Ollivier <cedric.ollivier@orange.com>
Thu, 7 Sep 2017 11:07:08 +0000 (13:07 +0200)
Change-Id: I24518bdf54974debf49df6d775db1203e61922e5
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
functest/opnfv_tests/sdn/odl/odl.py
functest/tests/unit/odl/test_odl.py

index 841da83..ab70ba1 100644 (file)
@@ -225,7 +225,8 @@ class ODLTests(testcase.TestCase):
             kwargs['osauthurl'] = os.environ['OS_AUTH_URL']
             kwargs['ospassword'] = os.environ['OS_PASSWORD']
             if installer_type == 'fuel':
-                kwargs['odlwebport'] = '8282'
+                kwargs['odlwebport'] = '8181'
+                kwargs['odlrestconfport'] = '8282'
             elif installer_type == 'apex' or installer_type == 'netvirt':
                 kwargs['odlip'] = os.environ['SDN_CONTROLLER_IP']
                 kwargs['odlwebport'] = '8081'
index 8aeea41..878d47d 100644 (file)
@@ -462,7 +462,8 @@ class ODLRunTesting(ODLTesting):
     def test_fuel(self):
         os.environ["INSTALLER_TYPE"] = "fuel"
         self._test_run(testcase.TestCase.EX_OK,
-                       odlip=self._neutron_ip, odlwebport='8282')
+                       odlip=self._neutron_ip, odlwebport='8181',
+                       odlrestconfport='8282')
 
     def test_apex_no_controller_ip(self):
         with mock.patch('functest.utils.openstack_utils.get_endpoint',