Skip to content
Closed
9 changes: 9 additions & 0 deletions tests/drop_counters/acl_templates/acl_rule_del.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"acl": {
"acl-sets": {
"acl-set": {
}
}
}
}

29 changes: 29 additions & 0 deletions tests/drop_counters/acl_templates/acltb_test_rule.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"acl": {
"acl-sets": {
"acl-set": {
"DATAACL": {
"acl-entries": {
"acl-entry": {
"1": {
"actions": {
"config": {
"forwarding-action": "DROP"
}
},
"config": {
"sequence-id": 1
},
"ip": {
"config": {
"source-ip-address": "20.0.0.0/24"
}
}
}
}
}
}
}
}
}
}
15 changes: 12 additions & 3 deletions tests/drop_counters/combined_drop_counters.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# In this file should be defined regular expressions to match specific device platform which has combined L2 and L3 drop counters.
# In this file should be defined regular expressions to match specific device platform which has combined:
# - L2 and L3 drop counters
# - ACL and L2 drop counters
# If platform have separate drop counters, those platforms must not be in the list.
# File content is a list of regular expressions defined in yaml format
#
Expand All @@ -11,5 +13,12 @@
# ASIC: mellanox

# File content example:
# - "x86_64-mlnx"
# - "x86_64-dell.*"
# l2_l3:
# - "x86_64-mlnx"
# - "x86_64-dell.*"
# acl:
# - "x86_64-mlnx"
# - "x86_64-dell.*"
l2_l3:

acl:
Loading