May 13, 2013 3:58 AM
What is zenoss url mapping rules?
-
Like (0)
hi,all
As far as I know , Zenoss use zope as it's backend web framework, an ancient & powerful framework in python world.
zope keep in mind that "web is fundamentally object-oriented" , each url connected to a python object .
Unfortunately , there is no clear mapping rules in zenoss to use url find the object , for example:
I can not find which object of the above url visited to ?
Thanks in advance for your help.
If i remember it corectly here two think First url of object http://192.168.111.111:8080/zport/dmd/Devices/Server/SSH/Linux/devices/192.168.222.1/ (i gues server)
Second detailnav_router - and here zcml play it role
You can use sudo grep -H -r "detailnav_router" /usr/local/zenoss
in my case /usr/local/zenoss/Products/Zuul/routers/configure.zcml: name="detailnav_router"
<browser:directRouter
name="detailnav_router"
for="*"
class=".nav.DetailNavRouter"
namespace="Zenoss.remote"
/>
Here have object directRouter
Follow Us On Twitter »
|
Latest from the Zenoss Blog » | Community | Products | Services Resources | Customers Partners | About Us | ||
Copyright © 2005-2011 Zenoss, Inc.
|
||||||||