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

Updated format of generating BUFFER_QUEUE in buffers_defaults templates for wedge100bf-65x #14125

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

MuLinForest
Copy link
Contributor

Why I did it

The BUFFER_QUEUE field generated to config_db.json of wedge100bf-65x needs to fit the definition of yang model.
Otherwise, the generic config updater will throw error in current templates:

Error: Given patch will produce invalid config. Error: Data Loading Failed
Value "Ethernet112,Ethernet116,Ethernet12,Ethernet120,Ethernet124,Ethernet16,Ethernet20,Ethernet24,Ethernet28,Ethernet32,Ethernet36,Ethernet4,Ethernet40,Ethernet44,Ethernet48,Ethernet52,Ethernet56,Ethernet60,Ethernet64,Ethernet68,Ethernet72,Ethernet76,Ethernet8,Ethernet80,Ethernet84,Ethernet88,Ethernet92,Ethernet96" does not satisfy the constraint "1..128" (range, length, or pattern).

How I did it

Same as #9850, but modified for wedge100bf-65x

How to verify it

Deploy the topology, and check config_db.json file.

…es for wedge100bf-65x

Signed-off-by: MuLin <mulin_huang@edge-core.com>
@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Mar 7, 2023

CLA Signed

The committers listed above are authorized under a signed CLA.

  • ✅ login: MuLinForest / name: MuLin (00f1c42)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant