TECHZEN Zenoss User Community ARCHIVE  

use zenpacklib for chained relationship

Subject: use zenpacklib for chained relationship
Author: [Not Specified]
Posted: 2015-02-11 03:26

I wanted to create chained relations between components and display it part of UI as well, where links are provided for attributes to jump to its related component.

I see this is possible, through an example snapshot in here:
http://wiki.zenoss.org/ZenPack:Cisco_APIC

How is this possible while using zenpacklib for creating zenpacks.
Any pointers would be much appreciated.
And reference zenpacks to do the same would be great too.
I found some references to zenpacks while looking at previous threads, but they do not use zenpacklib, so was difficult to relate.

Thanks,
LN



Subject: After looking at several open
Author: [Not Specified]
Posted: 2015-02-12 06:11

After looking at several open sourced zenpacks I found that the property within a component should be a schema.Entity.
And I could specify it using type_ field within property.

Now the followup to this question is, how I can customize the component class created through zenpacklib.py with additional functions that can help me in establishing this relation.



< Previous
I want to update a zen pack - MS Windows that came with zenoss core. How?
  Next
perf data collection
>