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

[Link Event Damping] Serialization/deserialization logic for link event damping port attrs #1322

Merged
merged 1 commit into from
Dec 4, 2023

Conversation

Ashish1805
Copy link
Contributor

  • Adding serialization/deserialization logic for link event damping config so that when libsai is sending link event damping algo and config to syncd for set request, it uses serialization logic to serialize the requested data before sending the set request and when syncd receives the link event damping port attribute set request, it uses the deserialization logic to deserialize the data.

HLD: sonic-net/SONiC#1071

meta/sai_serialize.h Outdated Show resolved Hide resolved
@kcudnik
Copy link
Collaborator

kcudnik commented Nov 16, 2023

please fix build errors

@Ashish1805
Copy link
Contributor Author

Adding @Junchao-Mellanox for review.

meta/SaiSerialize.cpp Outdated Show resolved Hide resolved
meta/sai_serialize.h Outdated Show resolved Hide resolved
damping config attr.

- Adding serialization/deserialization logic for link event damping
  config so that when libsai is sending link event damping algo and
  config to syncd for set request, it uses serialization logic to
  serialize the requested data before sending the set request and when
  syncd receives the link event damping port attribute set request, it
  uses the deserialization logic to deserialize the data.

HLD: sonic-net/SONiC#1071
@Ashish1805
Copy link
Contributor Author

Hi @Junchao-Mellanox , can you please review the PR once you get a chance? Thank you.

@kcudnik kcudnik merged commit cd41369 into sonic-net:master Dec 4, 2023
13 checks passed
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.

3 participants