diff options
author | Andrew Yourtchenko <ayourtch@gmail.com> | 2018-03-23 15:23:15 +0100 |
---|---|---|
committer | Chris Luke <chris_luke@comcast.com> | 2018-03-23 18:18:41 +0000 |
commit | 563a8531cbc3e7c222e3e4841637b94b65637caa (patch) | |
tree | ce981f0cc2c2454a9598efaed5ba6cd4fd2721a9 /src/plugins/acl/acl.h | |
parent | 4585eb86c54afd21d5aa264e947020a041656064 (diff) |
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>
Diffstat (limited to 'src/plugins/acl/acl.h')
-rw-r--r-- | src/plugins/acl/acl.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/acl/acl.h b/src/plugins/acl/acl.h index d7ccbe96e6b..789a0759804 100644 --- a/src/plugins/acl/acl.h +++ b/src/plugins/acl/acl.h @@ -220,6 +220,9 @@ typedef struct { /* MACIP (input) ACLs associated with the interfaces */ u32 *macip_acl_by_sw_if_index; + /* Vector of interfaces on which given MACIP ACLs are applied */ + u32 **sw_if_index_vec_by_macip_acl; + /* bitmaps when set the processing is enabled on the interface */ uword *fa_in_acl_on_sw_if_index; uword *fa_out_acl_on_sw_if_index; |