-
Notifications
You must be signed in to change notification settings - Fork 81
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
Identification of the stream when consuming via gNMI Subscribe #591
Comments
Hi @roshan-joyce-fujitsu, I agree with the proposal and will take an action to provide some detailed text etc. for TR-548 for us to review. @bcjohnso99 we should schedule a review of my text on the call 4 March for deliver in 2.6. |
nigel-r-davis
added a commit
to nigel-r-davis/TAPI-Documentation
that referenced
this issue
Mar 11, 2025
Hi @nigel-r-davis , @bcjohnso99 I agree with the clarification statement proposed for 2.6 and taking up multiple streams in 2.7. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
TR548 defines 3 connection-protocols for streams: SSE, web-socket, and gNMI.
And TAPI server advertises available streams in the list
/tapi-common:context/stream-context/available-stream
.Each stream object has a
uuid
,stream-id
, and aname
.Each stream object also has a
connection-address
.In the case of a stream supporting SSE or web-socket connection-protocol, the
connection-address
will be a URL and the URL can have one component that identifies the specific stream.In the case of a stream supporting gNMI, I would imagine the connection-address to be a URL like
grpc://<host-fqdn>:<port>
.On this grpc connection, the Subscribe() RPC defined in
gnmi.proto
will need to be invoked. The explanation on forming theSubscribeRequest
does not explain how the client can identify the particular steam it wants to subscribe to. See section 6.3.3.This will not be a problem if the server is supporting only one stream per grpc port. However, I think it is better to use
prefix/target
orsubscription/path
to identify the stream by its uuid or stream-id.CC: @nigel-r-davis @amazzini
The text was updated successfully, but these errors were encountered: