Changed copyMininetFile of onosdriver to scp function in clidriver
Change-Id: I52a11e7f97e727777e3ea891b453d4741fc32d1e
diff --git a/TestON/tests/SCPFswitchLat/SCPFswitchLat.py b/TestON/tests/SCPFswitchLat/SCPFswitchLat.py
index c0c4ba4..ab6715d 100644
--- a/TestON/tests/SCPFswitchLat/SCPFswitchLat.py
+++ b/TestON/tests/SCPFswitchLat/SCPFswitchLat.py
@@ -89,7 +89,10 @@
commit = (commit.split(" "))[1]
temp = testONpath.replace("bin","") + "tests/SCPFswitchLat/Dependency/"
- main.ONOSbench.copyMininetFile("topo-perf-1sw.py", temp, user, "localhost" )
+ main.ONOSbench.scp( main.Mininet1,
+ temp + "topo-perf-1sw.py",
+ main.Mininet1.home,
+ direction="to" )
#main.ONOSbench.handle.expect(":~")
main.step('Clearing previous DB log file')
diff --git a/TestON/tests/SCPFswitchLat/SCPFswitchLat.topo b/TestON/tests/SCPFswitchLat/SCPFswitchLat.topo
index 29c60e1..0d7f4f5 100644
--- a/TestON/tests/SCPFswitchLat/SCPFswitchLat.topo
+++ b/TestON/tests/SCPFswitchLat/SCPFswitchLat.topo
@@ -97,6 +97,7 @@
<arg2> --topo mytopo</arg2>
<arg3> --switch ovsk,protocols=OpenFlow13</arg3>
<controller> remote </controller>
+ <home>~/mininet/custom/</home>
</COMPONENTS>
</Mininet1>