[ndnSIM] question for topology

aaronishere aaronishere at qq.com
Tue Mar 5 18:36:20 PST 2013


Hi, Alex and Chengyu
I download the  ndnSIM-sample-topologies under the ..ns3/src but when ./waf configue, it showed like below:
Traceback (most recent call last):
  File "/home/ndnSIM/ns-3/.waf-1.6.11-30618c54883417962c38f5d395f83584/waflib/Scripting.py", line 97, in waf_entry_point
    run_commands()
  File "/home/ndnSIM/ns-3/.waf-1.6.11-30618c54883417962c38f5d395f83584/waflib/Scripting.py", line 146, in run_commands
    parse_options()
  File "/home/ndnSIM/ns-3/.waf-1.6.11-30618c54883417962c38f5d395f83584/waflib/Scripting.py", line 125, in parse_options
    Context.create_context('options').execute()
  File "/home/ndnSIM/ns-3/.waf-1.6.11-30618c54883417962c38f5d395f83584/waflib/Options.py", line 133, in execute
    super(OptionsContext,self).execute()
  File "/home/ndnSIM/ns-3/.waf-1.6.11-30618c54883417962c38f5d395f83584/waflib/Context.py", line 87, in execute
    self.recurse([os.path.dirname(g_module.root_path)])
  File "/home/ndnSIM/ns-3/.waf-1.6.11-30618c54883417962c38f5d395f83584/waflib/Context.py", line 128, in recurse
    user_function(self)
  File "/home/ndnSIM/ns-3/wscript", line 218, in options
    opt.sub_options('src')
  File "/home/ndnSIM/ns-3/.waf-1.6.11-30618c54883417962c38f5d395f83584/waflib/Context.py", line 128, in recurse
    user_function(self)
  File "/home/ndnSIM/ns-3/src/wscript", line 51, in options
    opt.sub_options(module, mandatory=False)
  File "/home/ndnSIM/ns-3/.waf-1.6.11-30618c54883417962c38f5d395f83584/waflib/Context.py", line 128, in recurse
    user_function(self)
  File "/home/ndnSIM/ns-3/src/ndnSIM-sample-topologies/wscript", line 26, in options
    opt.load("compiler_c compiler_cxx boost ns3")
  File "/home/ndnSIM/ns-3/.waf-1.6.11-30618c54883417962c38f5d395f83584/waflib/Context.py", line 81, in load
    module=load_tool(t,path)
  File "/home/ndnSIM/ns-3/.waf-1.6.11-30618c54883417962c38f5d395f83584/waflib/extras/compat15.py", line 77, in load_tool
    ret=eld(*k,**kw)
  File "/home/ndnSIM/ns-3/.waf-1.6.11-30618c54883417962c38f5d395f83584/waflib/Context.py", line 296, in load_tool
    __import__(d)
ImportError: No module named ns3

I'm new in ns3 and is there some guidelines for how to use this topology?

Thanks a lot !
  



Aaron

From: Alex Afanasyev
Date: 2013-03-06 09:06
To: Chengyu Fan
CC: aaronishere; ndnsim
Subject: Re: [ndnSIM] question for topology
Hi all,


You can also checkout the repository that I just created http://github.com/cawka/ndnSIM-sample-topologies, which can be used as a base for topology generation using rocketfuel-maps-cch-to-annotaded tool.


I also put a sample for converted topologies (with graphviz-generated topology visualizations) here: https://github.com/cawka/ndnSIM-sample-topologies/tree/master/topologies/bw-delay-rand-1   But you need to double check if the parameters used in the rocketfuel-maps-cch-to-annotaded tool are good for your simulations.


---
Alex


On Mar 5, 2013, at 9:47 AM, Chengyu Fan <chengyu at cs.colostate.edu> wrote:


You can find an example in the src directory:


src/ndnSIM/tools/rocketfuel-maps-cch-to-annotaded.cc


Thanks,
Chengyu


On Tue, Mar 5, 2013 at 8:41 AM, aaronishere <aaronishere at qq.com> wrote:

Hi, Alex

The topology in the example is a little simple, is there more complex topology available? And I found that in the ../plugins/topology there's rocketfuel-map/weights, how to use it? Thanks !  




Aaron -

_______________________________________________
ndnSIM mailing list
ndnSIM at lists.cs.ucla.edu
http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim




_______________________________________________
ndnSIM mailing list
ndnSIM at lists.cs.ucla.edu
http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20130306/6612f3d5/attachment.html>


More information about the ndnSIM mailing list