acl-plugin: split the "show" commands and add an option to show ACLs by interface 05/8805/2
authorAndrew Yourtchenko <ayourtch@gmail.com>
Fri, 13 Oct 2017 10:15:34 +0000 (12:15 +0200)
committerJohn Lo <loj@cisco.com>
Fri, 13 Oct 2017 19:14:23 +0000 (19:14 +0000)
commit7e550693dffd368b9dd8e0397674cfc4d10f9579
tree8a6487f1556ae4b51a18495c67d3cab03775425f
parentb59f227ab010837874614551c1f86ed06f3075dd
acl-plugin: split the "show" commands and add an option to show ACLs by interface

From the troubleshooting perspective, it is nice to immediately know
the ACEs for the ACLs applied to an interface, so implement that.

To make the CLI more friendly, split each of the "show" variants
into an independent _cmd function with the distinct CLI path.

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