[Csci551-talk] external routes, parsing on the fly
johnh at ISI.EDU
Thu Apr 15 09:57:00 PDT 2004
On Wed, 14 Apr 2004 21:24:34 PDT, ajay salpekar wrote:
>Project B doubts...
>1) Am not clear about external routes - "we will not use external routes
>(although relevant parts of the configuration file will still be there"
>Does this mean that the cfg may or may not contain external routes, and in any
>case we just summarily disregard them? We'd simply skip the external routes
>config section in the file, that occurs before its 0.0.0.0 ?
There is a sample config file in the project be handout.
>2) I initially thought (2. Network Stability and Packet Routing) I'd parse in
>the "r 1 10.1.0.1 10.1.0.2" lookup lines from the cfg file right at the
>beginning and store in a to-do list of sorts, and thenn fork all the routers
>and then pass them their respective to-do commands.
>The problem I found with this was - in 3. Adding Traffic to Your Network, it
>seems we'd need to read the "s sumthng sumthng" and "w sumthng sumthng" on the
>fly - it also says "Your manager will need to read each line, inform the
>My question is, can I use the preload method for Stage5, and then do this on-
>the-fly parsing for Stage6? (it's mentioned somewhere that "the manager should
>continue processing the input file.", which is why I ask if preloading from
>the cfg file is ok)
If you can reconcile the "w" command (that requires routing stablize)
with pre-sending the commands, it doesn't matter when you actually
But my guess is the easist thing to do is have the manager coordinate
detecting stability and sending things out.
More information about the Csci551-talk