Homework 1 forum

Route Rumor handling like normal rumors

 
Picture of Clément Luc Irénée Blaudeau
Route Rumor handling like normal rumors
by Clément Luc Irénée Blaudeau - Tuesday, 20 October 2020, 14:43
 

Hi,

  1. If the handout is very clear about the fact that route updates triggered by route rumors should not be printed on the standard output, I was a bit confused about the normal standard output printing of route rumors. Should we print out route rumors just like normal ones :
    RUMOR origin <original_sender_name> from <relay_addr> ID <msg_id> contents <msg_text>
    with an empty msg_text ?
  2. Should we call the callback on route rumors?

I'm sorry if this is stated in the handout, I've read it a couple of times before posting but I might have miss the info !

Thanks​

Picture of Pasindu Nivanthaka Tennage
Re: Route Rumor handling like normal rumors
by Pasindu Nivanthaka Tennage - Friday, 23 October 2020, 15:36
 

Hello,

Thank you for the question.

First of all the STD OUTPUT is only for your debugging purposes. In the tests, or when grading we do not use the output. So if you find something unclear with the output, you can just ignore that.

No. You do not need to call the callback for route rumor.

Hope it is clear now. Feel free to ask more questions if you face any difficulty.

Regards