Add 'show vlib graphviz' command

Add a new command to dump vlib graph as graphviz/dot file

Change-Id: I43fc072cff8153ac500e5fbc6641a3705c2e995e
Signed-off-by: Benoît Ganne <bganne@cisco.com>
This commit is contained in:
Benoît Ganne
2019-01-21 17:41:25 +01:00
committed by Damjan Marion
parent 35467f112a
commit 362456a9bd
4 changed files with 108 additions and 16 deletions

View File

@ -59,6 +59,9 @@ uword unformat_vlib_number_by_name (unformat_input_t * input, va_list * args);
/* Parse an int either %d or 0x%x. */
uword unformat_vlib_number (unformat_input_t * input, va_list * args);
/* Parse a filename to dump debug info */
uword unformat_vlib_tmpfile (unformat_input_t * input, va_list * args);
/* Flag to format_vlib_*_header functions to tell them not to recurse
into the next layer's header. For example, tells format_vlib_ethernet_header
not to format ip header. */