Home | Trees | Indices | Help |
---|
|
ZenUtils.Ext.DirectRouter --+ | IntrospectionRouter
Provide a JSON API to explore the available routers and their methods.
from Products.Zuul.routers.introspection import IntrospectionRouter zz = IntrospectionRouter(dmd)
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|
Return a description of the Zenoss routers available. from Products.Zuul.routers.introspection import IntrospectionRouter zz = IntrospectionRouter(dmd) pprint(zz.getAllRouters().data) |
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) |
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Tue Dec 12 07:59:38 2017 | http://epydoc.sourceforge.net |