Get snmp_oid of leaf in subscription

You will have to write that pyang plugin, I haven’t seen an example available for such.

A likely much simpler solution is to use tailf:meta-data statements as @mvf suggests. C-example: