Let's say I am in /zport/dmd/Groups.
I have created a subgroup called A then in A, I have another subgroup called B. When I use getSubDevices in Groups, I get the list of all devices in Groups. What I would like would be the list of all devices in Groups/A/B, when I am in Groups. Is there a way to get the list of subgroups of a group? Or is there a way to give the path Groups/A/B and have all the devices in this particular group?

To get all of the groups that are within your current group you would use here.children(). To get the devices in Groups/A/B you could use here.getOrganizer('/A/B').devices().
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to