Description
In broadcom platforms (Z9100) While running crm_test_acl_counter.yml , upon applying acl.json , the counter , "crm_stats_acl_counter_available" is decremented by value 6, but "crm_stats_acl_counter_used" just 2 and hence the testcase fails
is this expected in broadcom platforms ?
Before applying acl
127.0.0.1:6379[2]> hgetall "CRM:ACL_TABLE_STATS:0x7000000000a3e"
1) "crm_stats_acl_counter_used"
2) "0"
3) "crm_stats_acl_entry_used"
4) "0"
5) "crm_stats_acl_counter_available"
6) "30208"
7) "crm_stats_acl_entry_available"
8) "512"
After applying acl :
root@sonic-z9100-02:~# acl-loader update full acl.json
127.0.0.1:6379[2]> hgetall "CRM:ACL_TABLE_STATS:0x7000000000a3e"
1) "crm_stats_acl_counter_used"
2) "2" << used counter is incremented by 2
3) "crm_stats_acl_entry_used"
4) "2"
5) "crm_stats_acl_counter_available"
6) "30202" <<<<<<<<<<<< 6 values are decremented in available counter
7) "crm_stats_acl_entry_available"
8) "510"
After deleting the acl
root@sonic-z9100-02:~# acl-loader delete
127.0.0.1:6379[2]> hgetall "CRM:ACL_TABLE_STATS:0x7000000000a3e"
1) "crm_stats_acl_counter_used"
2) "0"
3) "crm_stats_acl_entry_used"
4) "0"
5) "crm_stats_acl_counter_available"
6) "30208"
7) "crm_stats_acl_entry_available"
8) "512"
Steps to reproduce the issue:
- apply acl
- check the crm acl counters , available vs used
Description
In broadcom platforms (Z9100) While running crm_test_acl_counter.yml , upon applying acl.json , the counter , "crm_stats_acl_counter_available" is decremented by value 6, but "crm_stats_acl_counter_used" just 2 and hence the testcase fails
is this expected in broadcom platforms ?
Before applying acl
After applying acl :
After deleting the acl
root@sonic-z9100-02:~# acl-loader delete
Steps to reproduce the issue: