]> git.proxmox.com Git - mirror_frr.git/commit
lib: add ability to dump cli mode graph
authorQuentin Young <qlyoung@cumulusnetworks.com>
Fri, 20 Apr 2018 18:34:46 +0000 (14:34 -0400)
committerQuentin Young <qlyoung@cumulusnetworks.com>
Sun, 22 Apr 2018 21:14:55 +0000 (17:14 -0400)
commit26fbe47294b56bf58a7452e55d24c4204042959d
treeb4d6fdcd68b8cf5a70be9071c106c6521013184d
parent8f2a4d3047139723416dfe6ccccd3c8f54653ef7
lib: add ability to dump cli mode graph

The grammar sandbox has had the ability to dump individual commands as
DOT graphs, but now that generalized DOT support is present it's trivial
to extend this to entire submodes. This is quite useful for visualizing
the CLI space when debugging CLI errors.

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
lib/command.c
lib/command.h
lib/command_graph.c
lib/command_graph.h
lib/grammar_sandbox.c
vtysh/vtysh.c