Skip to content

[sairedis] Add comment api to recorder#883

Merged
kcudnik merged 1 commit intosonic-net:masterfrom
kcudnik:rcomment
Aug 6, 2021
Merged

[sairedis] Add comment api to recorder#883
kcudnik merged 1 commit intosonic-net:masterfrom
kcudnik:rcomment

Conversation

@kcudnik
Copy link
Collaborator

@kcudnik kcudnik commented Aug 4, 2021

Use new api to record hardware info when creating switch for easy read. Since hardware info attribute type is s8list, it will be serialized as array of integers, so to actually improve readability of actual value, put it as comment in recording file.

Use new api to record hardware info when creating switch for easy read
@kcudnik kcudnik requested a review from lguohan August 4, 2021 20:22
@kcudnik kcudnik merged commit 3830b97 into sonic-net:master Aug 6, 2021
@kcudnik kcudnik deleted the rcomment branch August 6, 2021 11:09
pettershao-ragilenetworks pushed a commit to pettershao-ragilenetworks/sonic-sairedis that referenced this pull request Nov 18, 2022
Use new api to record hardware info when creating switch for easy read. Since hardware info attribute type is s8list, it will be serialized as array of integers, so to actually improve readability of actual value, put it as comment in recording file.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant