Quantcast
Channel: Zenoss Community : All Content - All Communities
Viewing all articles
Browse latest Browse all 853

Optionally show/hide DeviceComponent

$
0
0

Hello,

 

I'm trying to achieve to "runtime" decide whether a device shall have or not have a given DeviceComponent (v 4.2).

The decision is based upon the modelling, e.g. whether a specific SNMP node is set the component shall be shown

otherwise hidden.

It means that:

 

* Device._relations must have all the components, as it might happen that the given DeviceComponent will "vanish" in the future or reappear later

* info.py, interfaces.py must have all the components

* zenpackname.js must have all the registrants as well

 

So I'm completely missing the point where could I control when to hide/show the rendering of the given DeviceComponent.

 

Any thoughts?

Thanks,


Viewing all articles
Browse latest Browse all 853

Latest Images

Trending Articles



Latest Images