a2 - CS2ME3/SE2AA4 Assignment 2 due on March 11 Winter 2011...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
CS2ME3/SE2AA4 Assignment 2 due on March 11 Winter 2011 1. You are encouraged to work in groups of two or three. If you cannot find partners, you may work alone. 2. Please submit one copy of the assignment using subversion ; if you are working with a partner, both names should appear on the assignment. 3. Note that you will get a grade of zero if your program does not run. In this assignment you are going to write a Python program that implements a dynamic rout- ing policy mechanism . More precisely, you are going to implement a routing table management daemon, which maintains a link-state database according to the OSPF (Open Shortest Path First) interior routing protocol. Call your program routed (as in routing daemon ). Once started in command line, it awaits instructions and performs actions: 1. add rt h routers i This command adds routers to the routing table, where h routers i is a comma separated list of (positive) integers and integer ranges. That is, h routers i can be 6,9,10-13,4,8 which would include routers rt4,rt6,rt8,rt9,rt10,rt11,rt12,rt13 Your program should be robust enough to accept any such legal sequence (including a single router), and to return an error message if the command attempts to add a
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 3

a2 - CS2ME3/SE2AA4 Assignment 2 due on March 11 Winter 2011...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online