I'm trying to find an example NSO service package that performs the translation of an operational data object. I'd like to have an industry standard data model on the northbound side of NSO (eg: openconfig), and use a vendor proprietary data model on the southbound side of NSO (eg: Cisco). In a similar fashion that NSO is used to translate configuration data objects from standard models to/from proprietary, I'd like to do the same with "show command" data.
Here's an example. I'd like to be able to request the contents of the ARP table of a router via NSO using the openconfig-if-ip.yang model. I'd like NSO to translate this request into the proprietary model supported by a router vendor (eg: acme-arp.yang). This would allow me to create an ARP monitoring application based on the openconfig standard model, that remains unchanged as I introduce new router vendors to the network. I'd simply need to update the service packages with mappings for each new vendor I introduce.
I'd love some example NSO code that does something similar to this with operational data.