[ndnSIM] Load balancer compilation error
Gustavo Gonzalez
gonzalezcga at gmail.com
Fri Jul 17 00:36:08 PDT 2015
Hi Spyridon,
The version that I have of ndnSIM is the 2.0 and it hasn't been modified. I
was checking today and I still getting the same errors.
I attach the files related to the example. Maybe the ones that I have are
not the same as those that you have.
Thanks for the support to solve this issue.
Regards.
On Fri, Jul 17, 2015 at 12:53 AM, Spyridon (Spyros) Mastorakis <
spiros.mastorakis at gmail.com> wrote:
> Hi Gustavo,
>
> This error may be caused by the fact that the strategy that would like to
> use has not been successfully installed on the desired node. I guess that
> you are running a modified version of ndnSIM, right? I tried to run this
> example with a plain version of ndnSIM and it worked fine for me.
>
> For more information about this example, you can take a look here:
>
>
> http://ndnsim.net/2.0/examples.html#node-topology-with-custom-nfd-forwarding-strategy
>
> --
> Spyridon (Spyros) Mastorakis
> Personal Website: http://cs.ucla.edu/~mastorakis/
> Internet Research Laboratory
> PhD Computer Science
> UCLA
>
>
>
>
> > On Jul 16, 2015, at 3:00 PM, Gustavo Gonzalez <gonzalezcga at gmail.com>
> wrote:
> >
> > Hello,
> >
> > I have been running the ndn-load-balancer example but I got some errors
> during the compilation process and I don't get exactly why. I attached it
> to the email. I would appreciate for your help in order to solve this issue.
> >
> > That example could be used as a sort of dispatcher in order to forward
> interest and receive data from different paths?
> >
> >
> > <ndn-load-balancer>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20150717/77d9312f/attachment.html>
-------------- next part --------------
# topo-load-balancer.txt
#
# /-----\
# | CSU |
# +-----> | HUB | <----+
# | \-----/ |
# | | 1Mbps/10ms delay
# v v
# /------\ /----------\
# | UCLA | | Consumer |
# | HUB | | CSU-1 |
# +-----> \------/ <-----+ \----------/
# | |
# | |
# v v
# /----------\ /----------\
# | Producer | | Producer |
# | UCLA-1 | | UCLA-2 |
# \----------/ \----------/
#
# any empty lines and lines starting with '#' symbol is ignored
#
# The file should contain exactly two sections: router and link, each starting with the corresponding keyword
#
# router section defines topology nodes and their relative positions (e.g., to use in visualizer)
router
# each line in this section represents one router and should have the following data
# node comment yPos xPos
CSU-1 NA 3 5
CSU-HUB NA 5 3
UCLA-HUB NA 3 1
UCLA-1 NA 0 0
UCLA-2 NA 0 2
# Note that `node` can be any string. It is possible to access to the node by name using Names::Find, see examples.
# link section defines point-to-point links between nodes and characteristics of these links
link
# Each line should be in the following format (only first two are required, the rest can be omitted)
# srcNode dstNode bandwidth metric delay queue
# bandwidth: link bandwidth
# metric: routing metric
# delay: link delay
# queue: MaxPackets for transmission queue on the link (both directions)
CSU-1 CSU-HUB 1Mbps 1 10ms 10
CSU-HUB UCLA-HUB 1Mbps 1 10ms 10
UCLA-HUB UCLA-1 1Mbps 1 10ms 10
UCLA-HUB UCLA-2 1Mbps 1 10ms 10
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ndn-load-balancer.cpp
Type: text/x-c++src
Size: 3957 bytes
Desc: not available
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20150717/77d9312f/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: random-load-balancer-strategy.cpp
Type: text/x-c++src
Size: 3354 bytes
Desc: not available
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20150717/77d9312f/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: random-load-balancer-strategy.hpp
Type: text/x-c++hdr
Size: 2137 bytes
Desc: not available
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20150717/77d9312f/attachment-0002.bin>
More information about the ndnSIM
mailing list