forked from sonic-net/sonic-buildimage
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DPB][YANG] Add POLL_INTERVAL in flex_counter yang model (sonic-net#9276
) #### Why I did it DPB falls due to missing POLL_INTERVAL in sonic-flex_counter yang model. #### How I did it Added POLL_INTERVAL leaf to ACL container in sonic-flex_counter yang model. #### How to verify it Run the command config interface breakout <interface> <breakout_mode> **NOTE:** To verify this fix, a PR ([add set_owner to feature yang](sonic-net#9075)) that fix another bug in SONiC should be merged to master.
- Loading branch information
1 parent
27a6641
commit b0f06ba
Showing
4 changed files
with
147 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 6 additions & 1 deletion
7
src/sonic-yang-models/tests/yang_model_tests/tests/flex_counter.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,10 @@ | ||
{ | ||
"FLEX_COUNTER_TABLE_WITH_CORRECT_USED_VALUE": { | ||
"desc": "FLEX_COUNTER_TABLE_WITH_CORRECT_USED_VALUE no failure." | ||
"desc": "FLEX_COUNTER_TABLE_WITH_CORRECT_USED_VALUE no failure." | ||
}, | ||
"FLEX_COUNTER_TABLE_WITH_INVALID_POLL_INTERVAL": { | ||
"desc": "Out of range poll interval.", | ||
"eStrKey": "Range", | ||
"eStr": "100..4294967295" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters