reference icon indicating copy to clipboard operation
reference copied to clipboard

Standard specification to get port speed ability

Open li9270 opened this issue 5 years ago • 1 comments

A port can be set to 40G or 100G. If I set the port speed by gnmi_cli, how do I know the speed the port supported? I see the 3.2 Capability Discovery in gnmi-specification.md, but not revelent to port ability. Is there any any standard specification to get the port ability? Thanks a lot !

li9270 avatar Nov 23 '20 04:11 li9270

The gNMI Capability RPC refers to the target's gNMI capabilities, not the hardware or software capabilities -- as such it will tell you the set of models that are supported.

Today, OpenConfig models do not have expose the capability of a particular hardware or software entity as operational data. We have discussed this before, but it has not been clear how this is practically consumed in a NMS context (it seems mainly a design-time decision), such that we haven't had contributors that have spearheaded this work.

robshakir avatar Nov 30 '20 21:11 robshakir