gnmi icon indicating copy to clipboard operation
gnmi copied to clipboard

How to set DSCP value on gRPC stream in C++?

Open infn-ke opened this issue 7 years ago • 2 comments

The gNMI standard has a qos field that is used to mark the DSCP value of the gRPC stream. Does gRPC C++ API support setting DSCP on the stream? Doing it with setsockopt would require us to get the socket file descriptor...

infn-ke avatar Dec 20 '18 10:12 infn-ke

Based on implementation discussions, we're currently in the process of working on an update that deprecates the qos field in the proto - based on gRPC support. We'll rather prefer a statically configured DSCP for the whole service. Operational experience has shown that there's little benefit of per subscription QoS.

robshakir avatar Dec 20 '18 15:12 robshakir

So an implementation has to remark the frames from gRPC externally? Or gRPC will add support for service based DSCP?

infn-ke avatar Dec 20 '18 16:12 infn-ke