Force the port of ODL to 8181. 63/21763/1
authorThomas Duval <thomas.duval@orange.com>
Thu, 8 Sep 2016 09:12:31 +0000 (11:12 +0200)
committerThomas Duval <thomas.duval@orange.com>
Tue, 20 Sep 2016 08:38:38 +0000 (10:38 +0200)
Change-Id: I3dbaaafe996ae68a4de9e0e360da5c32e7429f76
(cherry picked from commit 6c3682d22c3b1758b8fca440012dfe2a4b349f5c)

tests/run_tests.py

index 816e28f..9b0c127 100755 (executable)
@@ -74,7 +74,7 @@ def test_federation():
     # Retrieve ODL token
     nhost, nport = __get_endpoint_url(name="neutron")
     auth_data = {'username': 'admin', 'password': 'console'}
-    conn = client.HTTPConnection(nhost, nport)
+    conn = client.HTTPConnection(nhost, "8181")
     headers = {"Content-type": "application/json"}
     conn.request("POST", "/auth/v1/domains", json.dumps(auth_data).encode('utf-8'), headers=headers)
     resp = conn.getresponse()