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

Support nested containers in gNMI->Protobuf unmarshalling. #914

Merged
merged 2 commits into from
Sep 24, 2023

Conversation

robshakir
Copy link
Contributor

* (M) protomap/{proto,proto_test.go}
   - Support nested messages when unmarshalling protobufs, previously
     such messages did not have their contents mapped.
 * (M) protomap/integration_tests/integration_test.go
   - Add a testcase for gRIBI's real protobufs to ensure that
     unmarshalling is covered.

Currently, this leaves repeated fields as unsupported. To be added in a
subsequent CL.

 * (M) protomap/{proto,proto_test.go}
   - Support nested messages when unmarshalling protobufs, previously
     such messages did not have their contents mapped.
 * (M) protomap/integration_tests/integration_test.go
   - Add a testcase for gRIBI's real protobufs to ensure that
     unmarshalling is covered.
@coveralls
Copy link

coveralls commented Sep 22, 2023

Coverage Status

coverage: 89.552% (-0.02%) from 89.57% when pulling 3469698 on robshakir:master into e206a8d on openconfig:master.

protomap/proto.go Outdated Show resolved Hide resolved
protomap/proto.go Show resolved Hide resolved
protomap/proto.go Show resolved Hide resolved
protomap/proto.go Outdated Show resolved Hide resolved
protomap/proto.go Outdated Show resolved Hide resolved
@robshakir robshakir merged commit 5cf59cd into openconfig:master Sep 24, 2023
8 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.

None yet

3 participants