acl-plugin: improvements in 'show acl-plugin macip acl' CLI 40/11340/2
authorAndrew Yourtchenko <ayourtch@gmail.com>
Fri, 23 Mar 2018 14:23:15 +0000 (15:23 +0100)
committerChris Luke <chris_luke@comcast.com>
Fri, 23 Mar 2018 18:18:41 +0000 (18:18 +0000)
commit563a8531cbc3e7c222e3e4841637b94b65637caa
treece981f0cc2c2454a9598efaed5ba6cd4fd2721a9
parent4585eb86c54afd21d5aa264e947020a041656064
acl-plugin: improvements in 'show acl-plugin macip acl' CLI

- allow to optionally specify the specific MACIP ACL index:
  'show acl-plugin macip acl [index N]'
- after showing the MACIP ACL, show the sw_if_index of
  interface(s) where it is applied.

Also, add some executions of this debug commands
to the MACIP test case for easy verification.

Change-Id: I56cf8272abc20b1b2581b60d528d27a70d186b18
Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
src/plugins/acl/acl.c
src/plugins/acl/acl.h
test/test_acl_plugin_macip.py