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

Add support leaf-lists in paths->protobuf. #926

Merged
merged 6 commits into from
Nov 7, 2023
Merged

Commits on Nov 4, 2023

  1. 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.
    robshakir committed Nov 4, 2023
    Configuration menu
    Copy the full SHA
    947750b View commit details
    Browse the repository at this point in the history

Commits on Nov 6, 2023

  1. Configuration menu
    Copy the full SHA
    7a6594d View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2023

  1. Add TODO.

    robshakir committed Nov 7, 2023
    Configuration menu
    Copy the full SHA
    7a7b21d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0d75462 View commit details
    Browse the repository at this point in the history
  3. 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.
    robshakir committed Nov 7, 2023
    Configuration menu
    Copy the full SHA
    ae4bda6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d1fc01e View commit details
    Browse the repository at this point in the history