Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support leaf-lists in paths->protobuf. (#926)
* Add support leaf-lists in paths->protobuf. * (M) protomap/integration_tests/integration_test.go - Add test case for a failure that was causing a panic, where a leaf-list of union values was being handed to PathsToProto. Currently not yet implemented, but test checks error handling works as expected. * (M) protomap/proto(_test)?.go - Add support and testing for mapping of leaf-lists of YANG inbuilt types to protobufs. * Add TODO. * Throw an error for `repeated` in `makeWrapper`. * Add support for mapping leaf-lists of unions to protobufs. (#927) * Add support for mapping leaf-lists of unions to protobufs. * (M) integration_tests/integration_test.go - Reflect the fact that the gRIBI integration test cases is now implemented. * (M) protomap/proto.go - Add support for mapping both []any and gNMI TypedValue messages to fields within a protobuf from input gNMI paths. * (M) protomap/testdata/... - Additional fields in test protobufs. * Add outdated file. * Remove stale output. * Improve test coverage - add handling for bool.
- Loading branch information