Force the port of ODL to 8181. 51/20651/1
authorThomas Duval <thomas.duval@orange.com>
Thu, 8 Sep 2016 09:12:31 +0000 (11:12 +0200)
committerThomas Duval <thomas.duval@orange.com>
Thu, 8 Sep 2016 09:12:31 +0000 (11:12 +0200)
Change-Id: I3dbaaafe996ae68a4de9e0e360da5c32e7429f76

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()