X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=src%2Fnepi%2Fresources%2Fns3%2Fresource_manager_generator.py;h=016cfa7fe290ef79609501c9a6da025ab02ac563;hb=a7e76f2c5b9646f44e5cbf6c558ed08b5b73ce28;hp=5eae3c828e60829001a1128a0049c117c8f94dc8;hpb=998aa11be6a89197a3b30c0645771c467cad8c13;p=nepi.git diff --git a/src/nepi/resources/ns3/resource_manager_generator.py b/src/nepi/resources/ns3/resource_manager_generator.py index 5eae3c82..016cfa7f 100644 --- a/src/nepi/resources/ns3/resource_manager_generator.py +++ b/src/nepi/resources/ns3/resource_manager_generator.py @@ -17,6 +17,12 @@ # # Author: Alina Quereilhac +# +# Instructions. Run with: +# +# PYTHONPATH=$PYTHONPATH:~/repos/nepi/src python src/nepi/resources/ns3/resource_manager_generator.py +# + # Force the load of ns3 libraries from nepi.resources.ns3.ns3wrapper import load_ns3_module @@ -24,11 +30,6 @@ import os import re adapted_types = ["ns3::Node", - "ns3::Application", - #"ns3::DceApplication", - "ns3::NetDevice", - "ns3::Channel", - "ns3::Queue", "ns3::Icmpv4L4Protocol", "ns3::ArpL3Protocol", "ns3::Ipv4L3Protocol", @@ -41,7 +42,12 @@ adapted_types = ["ns3::Node", "ns3::WifiPhy", "ns3::WifiMac", "ns3::ErrorModel", - "ns3::ErrorRateModel"] + "ns3::ErrorRateModel", + "ns3::Application", + #"ns3::DceApplication", + "ns3::NetDevice", + "ns3::Channel", + "ns3::Queue"] base_types = ["ns3::IpL4Protocol"]