Skip to content

Need some clarity on repeated notifications in GET Response #234

@ashu-ciena

Description

@ashu-ciena

Dear gNMI team,

In the gnmi specification, section 3.3.2:

3.3.2 The GetResponse Message
The GetResponse message consists of:

notification - a set of Notification messages, as defined in Section 2.1. The target MUST generate a Notification message for each path specified in the client's GetRequest, and hence MUST NOT collapse data from multiple paths into a single Notification within the response. The timestamp field of the Notification message MUST be set to the time at which the target's snapshot of the relevant path was taken.

It is not clear if "a" notification message for each path translates to "only one" notification for each path. I have a use case of openconfig-interfaces path. This path can retrieve the stats for all types of interfaces (physical/logical) when subscribed with a wild card filter. But the source of stats can come from a distributed set of applications supporting the corresponding interface type. In that case, one path response can be a set of multiple notifications sent by those applications.

Any comments?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions