Support to enable VOLTHA in cord-tester.
VOLTHA can now be started by cord-tester by specifying voltha_loc in manifest file.
voltha_intf specifies the interface for voltha to listen.
A sample manifest-voltha.json can be modified accordingly before starting cord-tester.
Changed the default olt_type to simulated_olt in volthaTest configuration json.
This would enable testing of voltha tests.
Fix indentation broken in voltha tests earlier.
Change-Id: Ia18b870c83dcb60c15c07f8602579494f32457c9
diff --git a/src/test/voltha/volthaTest.json b/src/test/voltha/volthaTest.json
index 8ad1319..d397700 100644
--- a/src/test/voltha/volthaTest.json
+++ b/src/test/voltha/volthaTest.json
@@ -1,5 +1,5 @@
{
- "OLT_TYPE" : "tibit_olt",
+ "OLT_TYPE" : "simulated_olt",
"OLT_MAC" : "00:0c:e2:31:12:00",
"VOLTHA_HOST" : "172.17.0.1",
"VOLTHA_REST_PORT" : 8881
diff --git a/src/test/voltha/volthaTest.py b/src/test/voltha/volthaTest.py
index 526f593..0620e4b 100644
--- a/src/test/voltha/volthaTest.py
+++ b/src/test/voltha/volthaTest.py
@@ -249,7 +249,7 @@
6 Verify that subscriber should not get ip from dhcp server, ping to gateway.
"""
-def test_subscriber_with_voltha_for_dhcp_starvation_positive_scenario(self):
+ def test_subscriber_with_voltha_for_dhcp_starvation_positive_scenario(self):
"""
Test Method:
0. Make sure that voltha is up and running on CORD-POD setup.
@@ -856,4 +856,3 @@
6. Pause the olt device which is detected in voltha.
7. Verify that subscriber should not get ip from external dhcp server. and other subscriber ping to gateway should failed.
"""
-