Skip to content

IntrospectionRouter

getAllRouters() Return a description of the Zenoss routers available.

from Products.Zuul.routers.introspection import IntrospectionRouter
zz = IntrospectionRouter(dmd)
pprint(zz.getAllRouters().data)
getRouterInfo(**router) Return information about the router
getRouterMethods(**router) Return a JSON list of methods, arguments and documentation

Example usage from zendmd:

from Products.Zuul.routers.introspection import IntrospectionRouter
zz = IntrospectionRouter(dmd)
pprint(zz.getRouterMethods('DeviceRouter').data)