Test Traffic Project
TTwwwpages
Overview
TT project requires an automated way of creating the so called "Plots" pages,
a hierarchy of HTML documents which present daily, weekly & monthly measurements.
TTwwwpages is addressing exactly this need and is a collection of
shell & perl scripts for highly automated HTML generation.
Examples of Usage:
Directory is /ncc/ttpro/config
- Whenever webpages must be updated:
- /ncc/ttpro/config/cfengine.conf -Dwwwpages
- When adding a new testbox, fix directories & images and update all:
- /ncc/ttpro/config/cfengine.conf -Dwwwpages -Dfixplots
Description:
- The following classes exist:
- fixplots: Create directories & copy GIF placeholders (to be used for new testboxes)
- indexhtml: Generation of index.html
- gpsinfohtml: Generation of gpsinfo.html
- tt_routinghtml: Generation of tt_routing.html
- satelliteshtml: Generation of ttXX/satellites.ttXX.html
- ttxxhtml: Generation of ttXX/index.html
- ttxxttyyhtml: Generation of ttXX/ttXXttYY.html
wwwpages: indexhtml gpsinfohtml tt_routinghtml satelliteshtml ttxxhtml ttxxttyyhtml
- Inputs:
- /ncc/ttpro/bin/ttconfig -v TTLIST, TTWATCH, GPSINFO
- *.header, *.footer: HTML pages "stable" sections.
- Outputs:
- /ncc/ttpro/data/plots/index.html
- /ncc/ttpro/data/plots/gpsinfo.html
- /ncc/ttpro/data/plots/tt_routing.html
- /ncc/ttpro/data/plots/TTmaps.html
- /ncc/ttpro/data/plots/ttXX/index.html
- /ncc/ttpro/data/plots/ttXX/satellites.ttXX.pl
- /ncc/ttpro/data/plots/ttXX/ttXX.ttYY.html
Notes:
- TTwwwpages is tested on BSDI & Solaris, but should run under every environment with perl/sh/cfengine
- The design is based on the NxN full mesh and can be easily adopted to MxN.