Is it possible to choose the primary key with the OpenConfig Middleware package?
When I set the pathYangModel "openconfig-interfaces:ifindex" (values like 436213248, 436211200...) to the primary key column. The primary key column has always values like eth1/12, eth1/8...
What is the primary key in the yang model for an interface?
It is not possible to choose the primary key with the OpenConfig data mapper.
If you set the primary key column with values that come from a path in the yang model, these values are overwritten by the instance defined in the yang model.
In my example, the SNMP primary keys are the values defined in "openconfig-interfaces:ifindex". I had to work with an intermediate table so that I could choose the primary key from that table.