git://git.onelab.eu
/
nepi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Changing ResourceManager naming for platform::ResourceName
[nepi.git]
/
test
/
resources
/
linux
/
ns3
/
ns3dceping.py
diff --git
a/test/resources/linux/ns3/ns3dceping.py
b/test/resources/linux/ns3/ns3dceping.py
index
3e111ac
..
e675853
100755
(executable)
--- a/
test/resources/linux/ns3/ns3dceping.py
+++ b/
test/resources/linux/ns3/ns3dceping.py
@@
-70,7
+70,7
@@
class LinuxNS3PingDceApplicationTest(unittest.TestCase):
def t_dce_ping(self, host, user = None, identity = None):
ec = ExperimentController(exp_id = "test-dce-ping-app")
def t_dce_ping(self, host, user = None, identity = None):
ec = ExperimentController(exp_id = "test-dce-ping-app")
- node = ec.register_resource("
Linux
Node")
+ node = ec.register_resource("
linux::
Node")
if host == "localhost":
ec.set(node, "hostname", host)
else:
if host == "localhost":
ec.set(node, "hostname", host)
else:
@@
-81,7
+81,7
@@
class LinuxNS3PingDceApplicationTest(unittest.TestCase):
ec.set(node, "cleanProcesses", True)
#ec.set(node, "cleanHome", True)
ec.set(node, "cleanProcesses", True)
#ec.set(node, "cleanHome", True)
- simu = ec.register_resource("
LinuxNS3
Simulation")
+ simu = ec.register_resource("
linux::ns3::
Simulation")
ec.set(simu, "verbose", True)
ec.set(simu, "buildMode", "debug")
ec.set(simu, "nsLog", "DceApplication")
ec.set(simu, "verbose", True)
ec.set(simu, "buildMode", "debug")
ec.set(simu, "nsLog", "DceApplication")
@@
-103,7
+103,7
@@
class LinuxNS3PingDceApplicationTest(unittest.TestCase):
ec.register_connection(chan, p2p2)
### create applications
ec.register_connection(chan, p2p2)
### create applications
- ping = ec.register_resource("
ns3::LinuxDce
Ping")
+ ping = ec.register_resource("
linux::ns3::dce::
Ping")
ec.set (ping, "stackSize", 1<<20)
ec.set (ping, "target", "10.0.0.2")
ec.set (ping, "count", "10")
ec.set (ping, "stackSize", 1<<20)
ec.set (ping, "target", "10.0.0.2")
ec.set (ping, "count", "10")