def _get_cache(self): cache = getattr(self._root, '_cache', None) if cache is None: prefix = '/'.join(self._root.uid.split('/')[:4]) cache = TreeNode._buildCache(self, 'Products.ZenModel.DeviceClass.DeviceClass', 'Products.ZenModel.RRDTemplate.RRDTemplate', 'rrdTemplates', prefix, orderby='name') return cache
def _get_cache(self): cache = getattr(self._root, '_cache', None) if cache is None: cache = TreeNode._buildCache(self, IpNetwork, IpAddress, 'ipaddresses', orderby='name') return cache
def _get_cache(self): cache = getattr(self._root, '_cache', None) if cache is None: cache = TreeNode._buildCache(self, IpNetwork, IpAddress, 'ipaddresses', orderby='name' ) return cache
def __init__(self, obj): TreeNode.__init__(self, obj) self._nodes = []
def __init__(self, obj): TreeNode.__init__(self, obj) self._nodes = [] self.qtip = "Top Level OID container" self.oid = ''