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

Utility to generate patch request. #77

Open
brindasanth opened this issue Jun 6, 2020 · 1 comment
Open

Utility to generate patch request. #77

brindasanth opened this issue Jun 6, 2020 · 1 comment

Comments

@brindasanth
Copy link

Hi team, Is there any utility to compare two GoStruct of same message type and generate gnmi set request ?

@robshakir
Copy link
Contributor

We have a way to generate a diff from two generated structs, see ygot.Diff, but this generates a gNMI Notification message that has updates that show the diff between the two.

You may be able to use this to generate a SetRequest -- with each path being specified being included.

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

No branches or pull requests

2 participants