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]
/
examples
/
ns3
/
remote_p2p_ping.py
diff --git
a/examples/ns3/remote_p2p_ping.py
b/examples/ns3/remote_p2p_ping.py
index
6f04d78
..
b96d2bf
100644
(file)
--- a/
examples/ns3/remote_p2p_ping.py
+++ b/
examples/ns3/remote_p2p_ping.py
@@
-41,7
+41,7
@@
identity = options.ssh_key
ec = ExperimentController(exp_id = "ns3-remote-p2p-ping")
# Simulation will run in a remote machine
ec = ExperimentController(exp_id = "ns3-remote-p2p-ping")
# Simulation will run in a remote machine
-node = ec.register_resource("
Linux
Node")
+node = ec.register_resource("
linux::
Node")
ec.set(node, "hostname", hostname)
ec.set(node, "username", username)
ec.set(node, "identity", identity)
ec.set(node, "hostname", hostname)
ec.set(node, "username", username)
ec.set(node, "identity", identity)
@@
-49,7
+49,7
@@
ec.set(node, "cleanProcesses", True)
ec.set(node, "cleanExperiment", True)
# Add a simulation resource
ec.set(node, "cleanExperiment", True)
# Add a simulation resource
-simu = ec.register_resource("
LinuxNS3
Simulation")
+simu = ec.register_resource("
linux::ns3::
Simulation")
ec.set(simu, "verbose", True)
ec.register_connection(simu, node)
ec.set(simu, "verbose", True)
ec.register_connection(simu, node)