tarfeef101 8e20b53d22 buggy asf, but it runs. and i am super done with this shit 6 years ago
..
README.md 8e20b53d22 buggy asf, but it runs. and i am super done with this shit 6 years ago
nselinux386 734f66367a added emulator to a3 6 years ago
packets.py 1ae857cb38 api errors are fun 6 years ago
router d5969df498 this is a hellhole. my code is pure trash 6 years ago
router.py 8e20b53d22 buggy asf, but it runs. and i am super done with this shit 6 years ago

README.md

CS 456 A3 - Router

This assignment consists of 1 python application abstracted through a shell script: router (no file extension, as per the assignment spec). This is an interface for the python script router.py. There is also a packets.py file which has my packet unpacking function, and classes for the packet types. There is also the emulator file in the folder as well.

Build Information

  • This was tested on linux.student.cs.uwaterloo.ca, so the ubuntu1604 servers maintained by the CS faculty at uWaterloo.
  • Testing was done all on 008, with 5 routers and the emulator all running locally.
  • The python version used was 3.5.2

Deployment

To run either the router simply type "./router" followed by all the arguments that need to be provided. Of course, the emulator should be run as well, in accordance with the provided spec. The arguments for the router are listed below for convenience:

  • router_id (unique int), nse_host (string/hostname), nse_port (int), router_port (int)

    Authors

  • Tareef Dedhar - All work