X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=test%2Fresources%2Flinux%2Fns3%2Fns3dceping.py;h=d43ea31e452251d86c9266c5f5f8b53c6ca3ee0e;hb=3a425e860e6bb734d1adee38ffe3aa9947f26a78;hp=3e111acfc2279eebd40043712749a42af02c85ea;hpb=0a796df7191ef93f55f42d378315d97721aa5cb2;p=nepi.git diff --git a/test/resources/linux/ns3/ns3dceping.py b/test/resources/linux/ns3/ns3dceping.py index 3e111acf..d43ea31e 100755 --- a/test/resources/linux/ns3/ns3dceping.py +++ b/test/resources/linux/ns3/ns3dceping.py @@ -4,9 +4,8 @@ # Copyright (C) 2013 INRIA # # This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. +# it under the terms of the GNU General Public License version 2 as +# published by the Free Software Foundation; # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -70,7 +69,7 @@ class LinuxNS3PingDceApplicationTest(unittest.TestCase): def t_dce_ping(self, host, user = None, identity = None): ec = ExperimentController(exp_id = "test-dce-ping-app") - node = ec.register_resource("LinuxNode") + node = ec.register_resource("linux::Node") if host == "localhost": ec.set(node, "hostname", host) else: @@ -81,7 +80,7 @@ class LinuxNS3PingDceApplicationTest(unittest.TestCase): ec.set(node, "cleanProcesses", True) #ec.set(node, "cleanHome", True) - simu = ec.register_resource("LinuxNS3Simulation") + simu = ec.register_resource("linux::ns3::Simulation") ec.set(simu, "verbose", True) ec.set(simu, "buildMode", "debug") ec.set(simu, "nsLog", "DceApplication") @@ -103,7 +102,7 @@ class LinuxNS3PingDceApplicationTest(unittest.TestCase): ec.register_connection(chan, p2p2) ### create applications - ping = ec.register_resource("ns3::LinuxDcePing") + 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")