Skip to content

northbound: add max_depth and exclude filters for state retrieval#124

Open
sha90w wants to merge 1 commit into
holo-routing:masterfrom
sha90w:grpc-filtering
Open

northbound: add max_depth and exclude filters for state retrieval#124
sha90w wants to merge 1 commit into
holo-routing:masterfrom
sha90w:grpc-filtering

Conversation

@sha90w

@sha90w sha90w commented May 3, 2026

Copy link
Copy Markdown
Contributor
Extend the GetRequest API with two filters that apply to state data:

- max_depth: limits subtree traversal to N levels beyond the requested target. Encoded on the gRPC wire as a uint32 on Path (0 = unlimited);

- exclude: a list of paths whose subtrees are skipped. A single-element pattern matches by name at any depth; multi-element patterns match a contiguous tail of the data path. Choice/case ancestors are skipped during matching so excludes mirror the data tree shape.

    Extend the GetRequest API with two filters that apply to state data:

    - max_depth: limits subtree traversal to N levels beyond the requested
      target. Encoded on the gRPC wire as a uint32 on Path (0 = unlimited);

    - exclude: a list of paths whose subtrees are skipped. A single-element
      pattern matches by name at any depth; multi-element patterns match a
      contiguous tail of the data path. Choice/case ancestors are skipped
      during matching so excludes mirror the data tree shape.
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.

1 participant