Package Products :: Package ZenModel :: Module HWComponent
[hide private]
[frames] | no frames]

Source Code for Module Products.ZenModel.HWComponent

 1  ############################################################################## 
 2  #  
 3  # Copyright (C) Zenoss, Inc. 2007, all rights reserved. 
 4  #  
 5  # This content is made available according to terms specified in 
 6  # License.zenoss under the directory where your Zenoss product is installed. 
 7  #  
 8  ############################################################################## 
 9   
10   
11  from Hardware import Hardware 
12  from DeviceComponent import DeviceComponent 
13   
14   
15 -class HWComponent(DeviceComponent, Hardware):
16 """ 17 Hardware component of a device such as a HardDisk, CPU, etc. 18 """ 19
20 - def device(self):
21 """Return our device object for DeviceResultInt. 22 """ 23 hw = self.hw() 24 if hw: return hw.device()
25