Skip to content

Commit 9665e0c

Browse files
authored
Merge pull request sonic-net#113 from MuLinForest/fix_sonic-events-swss_yang_used_cnt_type
[cherry-pick] Change leaf value of used_cnt of sonic-events-swss:chk_crm_threshold
2 parents 173c0eb + 675afbb commit 9665e0c

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/sonic-yang-models/tests/yang_model_tests/tests_config/sonic-events-swss.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -180,9 +180,9 @@
180180
"SONIC_EVENTS_SWSS_CHK_CRM_THRESHOLD_VALID": {
181181
"sonic-events-swss:sonic-events-swss": {
182182
"sonic-events-swss:chk_crm_threshold": {
183-
"percent": 0,
184-
"used_cnt": 0,
185-
"free_cnt": 0,
183+
"percent": 80,
184+
"used_cnt": 6414,
185+
"free_cnt": 65300,
186186
"timestamp": "1985-04-12T23:20:50.52Z"
187187
}
188188
}

src/sonic-yang-models/yang-models/sonic-events-swss.yang

+2-2
Original file line numberDiff line numberDiff line change
@@ -102,11 +102,11 @@ module sonic-events-swss {
102102
}
103103

104104
leaf used_cnt {
105-
type uint8;
105+
type uint32;
106106
}
107107

108108
leaf free_cnt {
109-
type uint64;
109+
type uint32;
110110
}
111111

112112
uses evtcmn:sonic-events-cmn;

0 commit comments

Comments
 (0)