I'm looking for a way to pull the routing table on Nexus switches via the NX-API REST interface. I'm having trouble finding the correct mo that will allow me to see the entire routing table or specific route. I've tried /api/mo/sys/ipv4/inst/dom-default but this appears to only show direct connected or static routes. I've also tried /api/mo/sys/ospf/inst-1/dom-default/db-rt/ but this only includes OSPF learned routes. Ideally the appropriate mo would allow me to specify a network and it would return the next hop information.
... View more