Bug 444 - Inernet-stack trace sources not well documented
Inernet-stack trace sources not well documented
Status: RESOLVED FIXED
Product: ns-3
Classification: Unclassified
Component: documentation
ns-3-dev
All All
: P1 normal
Assigned To: Craig Dowell
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-12-09 23:10 EST by Craig Dowell
Modified: 2008-12-13 17:15 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Craig Dowell 2008-12-09 23:10:02 EST
We have lots of trace sources lying around in the internet stack, but they are not very well documented.  There needs to be an easily found documentation piece that tells users what these sources are actaully tracing.

I suggest a model description in the same spirit as the csma device model (csma.h) in doxygen.
Comment 1 Tom Henderson 2008-12-10 14:52:32 EST
(In reply to comment #0)
> We have lots of trace sources lying around in the internet stack, but they are
> not very well documented.  There needs to be an easily found documentation
> piece that tells users what these sources are actaully tracing.
> 
> I suggest a model description in the same spirit as the csma device model
> (csma.h) in doxygen.
> 

I have similar comments as to 442.

We have an introspection system for trace sources:
http://www.nsnam.org/doxygen/group___trace_source_list.html

This should be clear, or made more clear if deficient.  This should be the primary documentation of "what these sources are actually tracing".

Then, there could be two additional pieces of documentation:
1) some way to tell users that this collection of trace sources belongs to something called an InternetStack, and how they relate to one another.  This could be internet-stack.h, similar to csma.h, and reachable from the "Modules" tab.

2) what the helpers do, when tracing is enabled at the helper API level. 
Comment 2 Craig Dowell 2008-12-10 20:16:26 EST
We have agreed on a three-level solution to this bug

Level 1) Help strings are to be made more descriptive so they make sense in the list of all trace sources.

Level 2) Create an internet-stack model description in the spirit of the device models (cf csma.h) in which we address HASA trace source relationships and describe when trace hooks are hit.

Level 3) In the manual, there will be a new section added that will allow very detailed explanations.