X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=examples%2Fns3%2Flocal_csma_p2p_star_ping.py;h=e8ebb20463daf9fcfdb588bf1015c79af42d3a41;hb=6b5d5c46b4d6c3c8bba46d3c84efab12be4e32bd;hp=9626a44f456497790d24664dfa9083dca34891be;hpb=a55b5cf0818ced6ab8dc3e88fad7f6616675e826;p=nepi.git diff --git a/examples/ns3/local_csma_p2p_star_ping.py b/examples/ns3/local_csma_p2p_star_ping.py index 9626a44f..e8ebb204 100644 --- a/examples/ns3/local_csma_p2p_star_ping.py +++ b/examples/ns3/local_csma_p2p_star_ping.py @@ -93,11 +93,11 @@ def add_p2p_chan(ec, dev1, dev2): ec = ExperimentController(exp_id = "ns3-csma-p2p-ping") # Simulation will run in a remote machine -node = ec.register_resource("LinuxNode") +node = ec.register_resource("linux::Node") ec.set(node, "hostname", "localhost") # Add a simulation resource -simu = ec.register_resource("LinuxNS3Simulation") +simu = ec.register_resource("linux::ns3::Simulation") ec.set(simu, "verbose", True) ec.set(simu, "enableDump", True) ec.register_connection(simu, node)