acl-plugin: refactor the "show acl-plugin" CLI, use vlib_cli_output() vs. format() 61/9061/2
authorAndrew Yourtchenko <ayourtch@gmail.com>
Thu, 26 Oct 2017 14:26:18 +0000 (14:26 +0000)
committerFlorin Coras <florin.coras@gmail.com>
Thu, 26 Oct 2017 16:43:56 +0000 (16:43 +0000)
commit0404c682613c163c54d787a86e4b281bd3bba340
tree9a2ec27b175d4c60c00288eec04e28528cdbc121
parent9a9adb2db318ca8043a7f337fedb020137d56610
acl-plugin: refactor the "show acl-plugin" CLI, use vlib_cli_output() vs. format()

The vppctl was getting upset with large chunks of info generated
by repeated format() functions, so convert to use vlib_cli_output instead.
Also, refactor the show functionality into smaller functions,
separate from the input handling.

Change-Id: I5d0db5ac45ce4c1b59cd41526b837412e06b1ce0
Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
src/plugins/acl/acl.c