Thursday, May 31, 2007

Config file

I've decided to use XML (or a subset of XML) for saving settings to a text file.

Some notes:
- XML is able to save hierarchical information
- Major & minor numbers no longer need to be specified (program should do this automatically)
- Priority for HTB classes does not need to be specified (priority decreases for each additional class)
- Indentation will be ignored and probably not used by the program

Example file:

After looking into the GLib Simple XML Subset Parser, I think it would probably be easier to write my own parser.

Wednesday, May 30, 2007

Glib

Reading up on GLib and GObjects

IBM tutorial
GLib Reference Manual
GObject Reference Manual

Schedule

Proposed Schedule

  • May 28 – June 11

    • Start coding

    • Compile and implement IMQ on Fedora 7

    • Look for additional use cases (e.g. by looking for other implementations of traffic shaping)

    • Work on design of GUI

    • Read up on ncurses API

  • June 12 – June 25

    • Finish use case study. Rough drawings of GUI have been made and shown to mentor.

    • Create IMQ rpm package

    • Testing of a basic traffic shaping script with IMQ package under different machines and networks

    • Start coding GUI

    • Look at code from other programs which use ncurses (e.g. bwm, aptitude, etc.).

  • June 26 – July 10

    • Complete all non-GUI related functions

  • July 11 – July 16

    • Have a rough GUI available for the end of Mid-term evaluation

  • July 17 – August 10

    • Program should be completed

  • August 11 – August 31

    • Advertise on Fedora forums and try to get beta testers

    • If additional time remains:

      • Add support for ipp2p and l7filter

      • Add CONNMARK support

      • Port tcconf to other distributions