Attached is the version that I have - not executed this in some time.  


On Wed, Jan 17, 2018 at 9:31 PM, Brad Cowie <> wrote:
Hi Michael,

I wonder if using Python Introspection to lookup the values in 'defaults' and 'defaults_type' might be more robust to future code changes than using regex.

I wrote an early version of a script to do this that Shivaram extended and added more features too, maybe this might help inspire a second version of your


On Thu, Jan 18, 2018 at 5:57 PM, Michael Baird <> wrote:
Ok, I've got a script that generates a table similar to from whatever files is given to it.

Basically it looks for 'defaults' and 'defaults_types' and uses the comment below it as the description.
And converts everything to a csv.

Was thinking the 'default' could be overridden with a comment on the same line. e.g. dp_id

See attached html dp, vlan & interface


On 18/01/18 14:54, Josh Bailey wrote:
They're manually generated at the moment.

Documentation fixes always welcome (as are scripts to generate doc/snippets from code!).


On Thu, Jan 18, 2018 at 2:51 PM, Michael Baird <> wrote:
Are the configuration tables in generated via script from the codebase or manually?

There is a couple of options that look wrong or are missing (in particular hairpin & loop_protection). If its manual I'll update them.

Faucet-dev mailing list

Faucet-dev mailing list

Wand Group
Department of Computer Science
The University of Waikato

Phone: +64 7 858 5267
Mobile: +64 27 5888 103
Office: G.1.01

Faucet-dev mailing list