[sonic-yang-models] add ACL flex counter group (#8909)

Why I did it
To add ACL FC to the YANG model.

How I did it
Added to the YANG model and added a UT.

How to verify it
Together with depends PRs. Run ACL/Everflow test suite.

Signed-off-by: Stepan Blyshchak <stepanb@nvidia.com>
This commit is contained in:
Stepan Blyshchak 2021-11-11 03:09:36 +02:00 committed by GitHub
parent a2c2d67098
commit b8eb9f2769
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 0 deletions

View File

@ -31,6 +31,9 @@
},
"QUEUE_WATERMARK": {
"FLEX_COUNTER_STATUS": "enable"
},
"ACL": {
"FLEX_COUNTER_STATUS": "enable"
}
}
}

View File

@ -151,6 +151,16 @@ module sonic-flex_counter {
}
}
container ACL {
/* ACL_STAT_COUNTER_FLEX_COUNTER_GROUP */
leaf FLEX_COUNTER_STATUS {
type flex_status;
}
leaf FLEX_COUNTER_DELAY_STATUS {
type flex_delay_status;
}
}
}
/* end of container FLEX_COUNTER_TABLE */
}