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
예제 #4
0
 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
예제 #5
0
 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
예제 #6
0
 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
예제 #7
0
 def feedLinks(self):
     links = []
     for feed in self.getFeedObjs():
         links.append(ZenModelRM.urlLink(feed, feed.getId()))
     return ", ".join(links)
예제 #8
0
 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
예제 #9
0
 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 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
예제 #11
0
 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.cfcDisplayName)
	if d:
	    return ZenModelRM.urlLink(d, self.cfcDisplayName)
	return self.cfcDisplayName
예제 #13
0
 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