commit | d74d295a887194fde84d8f9f1133da9d5db4bbad | [log] [tgz] |
---|---|---|
author | Jon Hall <jhall@ciena.com> | Thu Mar 01 13:26:39 2018 -0800 |
committer | Jon Hall <jhall@ciena.com> | Thu Mar 08 12:15:06 2018 -0800 |
tree | fc21fa4ce1ce5d6eac78127847a69830f7b675e1 | |
parent | 3c910161ac4f78de75758d755b1b5f0801012b39 [diff] |
Add cli argument to use different .topo or .params files - Add cli arguments - Refactor xmlparser functions - Cleaned up and fixed some logging - main.testDir is now set to the directory where the test file is located - main.testsRoot is now set to the full path of TestON/tests/ - Fixed usages accordingly Change-Id: I2a0f0c3728b5732b242a2e860e6538a6f3b65166
diff --git a/TestON/tests/USECASE/USECASE_SdnipFunctionCluster/USECASE_SdnipFunctionCluster.py b/TestON/tests/USECASE/USECASE_SdnipFunctionCluster/USECASE_SdnipFunctionCluster.py index 499df34..b984b1d 100644 --- a/TestON/tests/USECASE/USECASE_SdnipFunctionCluster/USECASE_SdnipFunctionCluster.py +++ b/TestON/tests/USECASE/USECASE_SdnipFunctionCluster/USECASE_SdnipFunctionCluster.py
@@ -33,7 +33,7 @@ """ import imp main.case( "Setup the Mininet testbed" ) - main.dependencyPath = main.testDir + \ + main.dependencyPath = main.testsRoot + \ main.params[ 'DEPENDENCY' ][ 'path' ] main.topology = main.params[ 'DEPENDENCY' ][ 'topology' ]