Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding Buffer pool enum type both for sonic chassis #18956

Merged
merged 2 commits into from
May 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
"BUFFER_POOL_CORRECT_TYPE_EGRESS_VALUE": {
"desc": "BUFFER_POOL_CORRECT_TYPE_EGRESS_VALUE no failure."
},
"BUFFER_POOL_CORRECT_TYPE_BOTH_VALUE": {
"desc": "BUFFER_POOL_CORRECT_TYPE_BOTH_VALUE no failure."
},
"BUFFER_POOL_WRONG_TYPE_VALUE": {
"desc": "BUFFER_POOL_WRONG_TYPE_VALUE pattern failure.",
"eStr": "wrong"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,20 @@
}
}
},
"BUFFER_POOL_CORRECT_TYPE_BOTH_VALUE": {
"sonic-buffer-pool:sonic-buffer-pool": {
"sonic-buffer-pool:BUFFER_POOL": {
"BUFFER_POOL_LIST": [
{
"name": "Ethernet4",
"mode": "static",
"size": "12766208",
"type": "both"
}
]
}
}
},
"BUFFER_POOL_WRONG_TYPE_VALUE": {
"sonic-buffer-pool:sonic-buffer-pool": {
"sonic-buffer-pool:BUFFER_POOL": {
Expand Down
1 change: 1 addition & 0 deletions src/sonic-yang-models/yang-models/sonic-buffer-pool.yang
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ module sonic-buffer-pool {
type enumeration {
enum ingress;
enum egress;
enum both;
}
description "Buffer Pool Type";
}
Expand Down
Loading