[ndnSIM] Add new FIB entry at forwarder

Alex Afanasyev aa at CS.UCLA.EDU
Tue Jul 12 21:37:54 PDT 2016


Hi Tesuya,

You can use FibHelper::AddRoute and FibHelper::RemoveRoute methods to add new FIB entry and remove the old one.

Check more documentation at http://ndnsim.net/2.1/doxygen/classns3_1_1ndn_1_1FibHelper.html

--
Alex

> On Jul 12, 2016, at 10:16 AM, Tetsuya Shigeyasu <sigeyasu at pu-hiroshima.ac.jp> wrote:
> 
> Hi Alex,
> 
> We would like to add new FIB entry at fowarder.cpp during simulation.
> 
> Currently, we are using GlobalRoutingHelper for default routing of any
> incoming Interest.
> 
> For our new protocol, however, will switch Face for next-hop.
> Hence, we are trying to implement to change FIB entry on the basis of NW condition as flexible.
> 
> For example, we would like to switch face1/face2 at router A.
> 
> consumer ---> router A (face 1) -----> router B ------> Producer
>                  |                                |
>                  |-(face 2) -------> router C ----
> 
> 
> Would you please help us?
> 
> Best regards,
> Tetsuya Shigeyasu
> 
> 
> 
> _______________________________________________
> ndnSIM mailing list
> ndnSIM at lists.cs.ucla.edu
> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20160713/9a768bc4/attachment.bin>


More information about the ndnSIM mailing list