Package ZenModel :: Module OperatingSystem :: Class OperatingSystem
[hide private]
[frames] | no frames]

Class OperatingSystem

source code

                                                   object --+                    
                                                            |                    
                                    ZenModelBase.ZenModelBase --+                
                                                                |                
Products.ZenRelations.RelationshipManager.RelationshipManager --+                
                                                                |                
                                      ExtensionClass.Base --+   |                
                                                            |   |                
                                       OFS.History.Historical --+                
                                                                |                
                                                   object --+   |                
                                                            |   |                
                                          ZenPacker.ZenPacker --+                
                                                                |                
                                            ZenModelRM.ZenModelRM --+            
                                                                    |            
                                  DeviceResultInt.DeviceResultInt --+            
                                                                    |            
                                                       object --+   |            
                                                                |   |            
                                              EventView.EventView --+            
                                                                    |            
                                                       object --+   |            
                                                                |   |            
                                                  RRDView.RRDView --+            
                                                                    |            
                                          ManagedEntity.ManagedEntity --+        
                                                                        |        
                                                      MEProduct.MEProduct --+    
                                                                            |    
                                                            Software.Software --+
                                                                                |
                                                                               OperatingSystem

Instance Methods [hide private]
 
__init__(self) source code
 
totalSwapString(self) source code
 
traceRoute(self, target, ippath)
Trace the route to target using our routing table.
source code
 
getRouteObjs(self)
Return our real route objects.
source code
 
device(self)
Return our Device object for DeviceResultInt.
source code
 
deleteDeviceComponents(self, context, componentNames=[], REQUEST=None)
Delete device components
source code
 
unlockDeviceComponents(self, context, componentNames=[], REQUEST=None)
Unlock device components
source code
 
lockDeviceComponentsFromDeletion(self, context, componentNames=[], sendEventWhenBlocked=None, REQUEST=None)
Lock device components from deletion
source code
 
lockDeviceComponentsFromUpdates(self, context, componentNames=[], sendEventWhenBlocked=None, REQUEST=None)
Lock device components from updates
source code
 
addIpInterface(self, id, userCreated, REQUEST=None)
Add IpInterfaces.
source code
 
deleteIpInterfaces(self, componentNames=[], REQUEST=None)
Delete IpInterfaces
source code
 
setComponentMonitored(self, context, componentNames=[], monitored=True, REQUEST=None)
Set monitored status for selected components.
source code
 
unlockIpInterfaces(self, componentNames=[], REQUEST=None)
Unlock IpInterfaces
source code
 
lockIpInterfacesFromDeletion(self, componentNames=[], sendEventWhenBlocked=None, REQUEST=None)
Lock IpInterfaces from deletion
source code
 
lockIpInterfacesFromUpdates(self, componentNames=[], sendEventWhenBlocked=None, REQUEST=None)
Lock IpInterfaces from updates
source code
 
addWinService(self, className, userCreated, REQUEST=None)
Add an WinService.
source code
 
deleteWinServices(self, componentNames=[], REQUEST=None)
Delete WinServices
source code
 
unlockWinServices(self, componentNames=[], REQUEST=None)
Unlock WinServices
source code
 
lockWinServicesFromDeletion(self, componentNames=[], sendEventWhenBlocked=None, REQUEST=None)
Lock WinServices from deletion
source code
 
lockWinServicesFromUpdates(self, componentNames=[], sendEventWhenBlocked=None, REQUEST=None)
Lock WinServices from updates
source code
 
getSubOSProcessClassesGen(self, REQUEST=None)
Get OS Process
source code
 
addOSProcess(self, className, userCreated, REQUEST=None)
Add an OSProcess.
source code
 
deleteOSProcesses(self, componentNames=[], REQUEST=None)
Delete OSProcesses
source code
 
unlockOSProcesses(self, componentNames=[], REQUEST=None)
Unlock OSProcesses
source code
 
lockOSProcessesFromDeletion(self, componentNames=[], sendEventWhenBlocked=None, REQUEST=None)
Lock OSProcesses from deletion
source code
 
lockOSProcessesFromUpdates(self, componentNames=[], sendEventWhenBlocked=None, REQUEST=None)
Lock OSProcesses from updates
source code
 
addIpService(self, className, protocol, userCreated, REQUEST=None)
Add IpServices.
source code
 
deleteIpServices(self, componentNames=[], REQUEST=None)
Delete IpServices
source code
 
unlockIpServices(self, componentNames=[], REQUEST=None)
Unlock IpServices
source code
 
lockIpServicesFromDeletion(self, componentNames=[], sendEventWhenBlocked=None, REQUEST=None)
Lock IpServices from deletion
source code
 
lockIpServicesFromUpdates(self, componentNames=[], sendEventWhenBlocked=None, REQUEST=None)
Lock IpServices from updates
source code
 
addFileSystem(self, id, userCreated, REQUEST=None)
Add a FileSystem.
source code
 
deleteFileSystems(self, componentNames=[], REQUEST=None)
Delete FileSystems
source code
 
unlockFileSystems(self, componentNames=[], REQUEST=None)
Unlock FileSystems
source code
 
lockFileSystemsFromDeletion(self, componentNames=[], sendEventWhenBlocked=None, REQUEST=None)
Lock FileSystems from deletion
source code
 
lockFileSystemsFromUpdates(self, componentNames=[], sendEventWhenBlocked=None, REQUEST=None)
Lock FileSystems from updates
source code
 
addIpRouteEntry(self, dest, routemask, nexthopid, interface, routeproto, routetype, userCreated, REQUEST=None)
Add an IpRouteEntry.
source code
 
deleteIpRouteEntries(self, componentNames=[], REQUEST=None)
Delete IpRouteEntries
source code
 
unlockIpRouteEntries(self, componentNames=[], REQUEST=None)
Unlock IpRouteEntries
source code
 
lockIpRouteEntriesFromDeletion(self, componentNames=[], sendEventWhenBlocked=None, REQUEST=None)
Lock IpRouteEntries from deletion
source code
 
lockIpRouteEntriesFromUpdates(self, componentNames=[], sendEventWhenBlocked=None, REQUEST=None)
Lock IpRouteEntries from updates
source code

Inherited from Software.Software: __getattr__, build, getDeviceLink, getInstallDate, getInstallDateObj, name, setInstallDate, setProduct, setProductKey, version

Inherited from Software.Software (private): _setPropValue

Inherited from MEProduct.MEProduct: getDescription, getManufacturer, getManufacturerLink, getManufacturerName, getModelName, getProductContext, getProductKey, getProductLink, getProductName, setDescription

Inherited from ZenModelRM.ZenModelRM: changePythonClass, creator, editableDeviceList, findChild, getCreatedTimeString, getDmdKey, getModificationTimeString, getSubObjects, getTreeItems, getZenRootNode, index_object, primarySortKey, reindex_all, rename, unindex_object, viewName, zmanage_addProperty, zmanage_delObjects, zmanage_delProperties, zmanage_editProperties, zmanage_exportObject, zmanage_importObject, zmanage_importObjects

Inherited from ZenModelBase.ZenModelBase: __call__, __hash__, all_meta_types, aqBaseHasAttr, breadCrumbs, callZenScreen, checkRemotePerm, checkValidId, createHierarchyObj, custPropertyIds, custPropertyMap, getBreadCrumbUrlPath, getDmd, getDmdObj, getDmdRoot, getHierarchyObj, getIconPath, getIdLink, getNowString, getObjByPath, getPrimaryDmdId, getUnusedId, getZ, getZopeObj, helpLink, isLocalName, manage_deleteObjects, prepId, saveCustProperties, todayDate, urlLink, view, visibleCustPropertyMap, yesterdayDate, zenScreenUrl, zenpathjoin, zenpathsplit, zentinelTabs

Inherited from OFS.History.Historical: manage_afterHistoryCopy, manage_beforeHistoryCopy, manage_change_history, manage_historicalComparison, manage_historyCompare, manage_historyCopy

Inherited from ZenPacker.ZenPacker: addToZenPack, eligiblePacks, findObject

Inherited from DeviceResultInt.DeviceResultInt: getDeviceClassName, getDeviceClassPath, getDeviceIp, getDeviceIpAddress, getDeviceMacaddress, getDeviceName, getDeviceUrl, getPingStatus, getPingStatusNumber, getProdState, getSnmpStatus, getSnmpStatusNumber, isResultLockedFromDeletion, isResultLockedFromUpdates, sendEventWhenResultBlocked

Inherited from EventView.EventView: convertEventField, getEventDetail, getEventDetailFromStatusOrHistory, getEventHistory, getEventManager, getEventOwnerList, getEventSummary, getStatus, getStatusCssClass, getStatusImgSrc, getStatusString, manage_ackBatchEvents, manage_ackEvents, manage_addLogMessage, manage_createEventMap, manage_deleteBatchEvents, manage_deleteEvents, manage_deleteHeartbeat, manage_setEventStates, manage_undeleteBatchEvents, manage_undeleteEvents

Inherited from RRDView.RRDView: cacheRRDValue, fetchRRDValue, fetchRRDValues, fullRRDPath, getDefaultGraphDefs, getGraphDef, getGraphDefUrl, getRRDContextData, getRRDDataPoint, getRRDDataPoints, getRRDFileName, getRRDNames, getRRDPaths, getRRDSum, getRRDTemplate, getRRDTemplateByName, getRRDTemplateName, getRRDTemplates, getRRDValue, getRRDValues, getThresholdInstances, getThresholds, makeLocalRRDTemplate, removeLocalRRDTemplate, rrdPath, snmpIgnore

Inherited from object: __delattr__, __getattribute__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Class Variables [hide private]
  totalSwap = 0L
  uname = ""
  _properties = Software._properties+({'id': 'totalSwap', 'type'...
  _relations = Software._relations+(("interfaces", ToManyCont(To...
  security = ClassSecurityInfo()
  routeTypeMap = 'other', 'invalid', 'direct', 'indirect'
  routeProtoMap = 'other', 'local', 'netmgmt', 'icmp', 'egp', 'g...
  factory_type_information = {'id': 'Device', 'meta_type': 'Devi...

Inherited from Software.Software: meta_type, monitorProc, portal_type, procRegex

Inherited from ManagedEntity.ManagedEntity: monitor, snmpindex

Inherited from ZenModelRM.ZenModelRM: default_catalog, isInTree

Inherited from ZenModelBase.ZenModelBase: index_html, sub_meta_types

Inherited from OFS.History.Historical: HistoricalRevisions, __ac_permissions__, manage_change_history_page, manage_options

Inherited from OFS.History.Historical (private): _manage_historyComparePage

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 
Overrides: Software.Software.__init__

device(self)

source code 
Return our Device object for DeviceResultInt.
Overrides: Software.Software.device

Class Variable Details [hide private]

_properties

Value:
Software._properties+({'id': 'totalSwap', 'type': 'long', 'mode': 'w'}\
, {'id': 'uname', 'type': 'string', 'mode': ''},)

_relations

Value:
Software._relations+(("interfaces", ToManyCont(ToOne, "Products.ZenMod\
el.IpInterface", "os")), ("routes", ToManyCont(ToOne, "Products.ZenMod\
el.IpRouteEntry", "os")), ("ipservices", ToManyCont(ToOne, "Products.Z\
enModel.IpService", "os")), ("winservices", ToManyCont(ToOne, "Product\
s.ZenModel.WinService", "os")), ("processes", ToManyCont(ToOne, "Produ\
cts.ZenModel.OSProcess", "os")), ("filesystems", ToManyCont(ToOne, "Pr\
oducts.ZenModel.FileSystem", "os")), ("software", ToManyCont(ToOne, "P\
roducts.ZenModel.Software", "os")),)

routeProtoMap

Value:
'other', 'local', 'netmgmt', 'icmp', 'egp', 'ggp', 'hello', 'rip', 'is\
-is', 'es-is', 'ciscoIgrp', 'bbnSpfIgrp', 'ospf', 'bgp'

factory_type_information

Value:
{'id': 'Device', 'meta_type': 'Device', 'description': """Base class f\
or all devices""", 'icon': 'Device_icon.gif', 'product': 'ZenModel', '\
factory': 'manage_addDevice', 'immediate_view': '../deviceOsDetail', '\
actions':()},