[ndnSIM] How to use RocketfuelWeightsReader

Xiao yan Hu xhbreezehu at gmail.com
Tue Jan 22 23:08:06 PST 2013


Hi,

I just found that it is my fault and "topologyReader.SetFileType (3);"
should be "topologyReader.SetFileType (2);".
Sorry for the disturbance.

Thanks,
Xiaoyan

On Wed, Jan 23, 2013 at 11:48 AM, Xiao yan Hu <xhbreezehu at gmail.com> wrote:

> Hi guys,
>
> Do U have any experience using RocketfuelWeightsReader in ndnSIM?
> I tried in the following way:
>
> snip from my code:
> 57   RocketfuelWeightsReader topologyReader ("", 25);
>  58   topologyReader.SetFileName
> ("/home/me/works/ndnSIM/ns-3/scratch/edges.lat");
>  59   topologyReader.SetFileType (3);
>  60   topologyReader.Read ();
>
> But I got the following error:
> msg="Topology file /home/me/works/ndnSIM/ns-3/scratch/edges.lat does not
> have "router" section",
> file=../src/ndnSIM/plugins/topology/annotated-topology-reader.cc, line=160
> terminate called without an active exception
>
>
> Any suggestions?
> Thanks in advance!
>
> Best Regards,
> Xiaoyan
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20130123/86c45c7a/attachment.html>


More information about the ndnSIM mailing list