Skip to content

Clarifying gNMI server behavior for GET and default values #155

@dplore

Description

@dplore

This is a fork of issues from #142

  • GET for a state path leaf MUST return one of:

    • a value (the default value or a set value)
    • path not found if the path is syntactically valid but is not currently instantiated on the target
    • not supported if the path is syntactically valid but is not implemented
    • an error if the path is syntactically incorrect
  • GET for a config path leaf MUST return one of:

    • the set value OR the default value if defined OR nil if the value is not set and there is no default
    • path not found if the path is syntactically valid but is not currently instantiated on the target
    • not supported if the path is syntactically valid but is not implemented
    • an error if the path is syntactically incorrect
  • GET a subtree

    • TBD

This may need to be clarified as there is an implementation which is returning 'nil' when a leaf that does exist and contains a default value.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions