def managedDeviceLink(self): from Products.ZenModel.ZenModelRM import ZenModelRM d = self.getDmdRoot("Devices").findDevice(self.bsProductName) if d: return ZenModelRM.urlLink(d, "link") return None
def managedDeviceLink(self): from Products.ZenModel.ZenModelRM import ZenModelRM d = self.getDmdRoot("Devices").findDevice(self.bsProductName) if d: return ZenModelRM.urlLink(d, 'link') return None
def managedDeviceLink(self): from Products.ZenModel.ZenModelRM import ZenModelRM d = self.getDmdRoot('Devices').findDevice(self.id) if d: return ZenModelRM.urlLink(d, 'link') return None
def managedDeviceLink(self): from Products.ZenModel.ZenModelRM import ZenModelRM d = self.getDmdRoot("Devices").findDevice(self.rttMonCtrlAdminTag) if d: return ZenModelRM.urlLink(d, 'link') return None
def getPerformanceLink(self): from Products.ZenModel.ZenModelRM import ZenModelRM d = self.getDmdRoot("Devices").findDevice(self.serialPortLabel) if d: return ZenModelRM.urlLink(d, 'link') return None
def feedLinks(self): links = [] for feed in self.getFeedObjs(): links.append(ZenModelRM.urlLink(feed, feed.getId())) return ", ".join(links)
def managedDeviceLink(self): from Products.ZenModel.ZenModelRM import ZenModelRM d = self.getDmdRoot("Devices").findDevice(self.serverAlias) if d: return ZenModelRM.urlLink(d, 'link') return None
def managedDeviceLink(self): from Products.ZenModel.ZenModelRM import ZenModelRM d = self.getDmdRoot("Devices").findDevice(self.bsDisplayName) if d: return ZenModelRM.urlLink(d, 'link', attrs={'target':'_top'}) return None
def managedDeviceLink(self): from Products.ZenModel.ZenModelRM import ZenModelRM d = self.getDmdRoot("Devices").findDevice(self.cfcDisplayName) if d: return ZenModelRM.urlLink(d, self.cfcDisplayName) return self.cfcDisplayName