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
/
tun.py
diff --git
a/test/resources/linux/tun.py
b/test/resources/linux/tun.py
index
1f50158
..
c9402bd
100755
(executable)
--- a/
test/resources/linux/tun.py
+++ b/
test/resources/linux/tun.py
@@
-38,19
+38,19
@@
class LinuxTunTestCase(unittest.TestCase):
ec = ExperimentController(exp_id = "test-tun-create")
ec = ExperimentController(exp_id = "test-tun-create")
- node = ec.register_resource("
Linux
Node")
+ node = ec.register_resource("
linux::
Node")
ec.set(node, "hostname", host)
ec.set(node, "username", user)
ec.set(node, "identity", identity)
ec.set(node, "hostname", host)
ec.set(node, "username", user)
ec.set(node, "identity", identity)
- ec.set(node, "clean
Home
", True)
+ ec.set(node, "clean
Experiment
", True)
ec.set(node, "cleanProcesses", True)
ec.set(node, "cleanProcesses", True)
- tun = ec.register_resource("
Linux
Tun")
+ tun = ec.register_resource("
linux::
Tun")
ec.set(tun, "endpoint_ip", "%s.1" % self.netblock)
ec.set(tun, "endpoint_prefix", 24)
ec.register_connection(tun, node)
ec.set(tun, "endpoint_ip", "%s.1" % self.netblock)
ec.set(tun, "endpoint_prefix", 24)
ec.register_connection(tun, node)
- app = ec.register_resource("
Linux
Application")
+ app = ec.register_resource("
linux::
Application")
cmd = "ping -c3 %s.1" % self.netblock
ec.set(app, "command", cmd)
ec.register_connection(app, node)
cmd = "ping -c3 %s.1" % self.netblock
ec.set(app, "command", cmd)
ec.register_connection(app, node)