Standard specification to get port speed ability
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 !
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.