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

# Class OperatingSystem

source code

    ManagedEntity.ManagedEntity --+
                                  |
                MEProduct.MEProduct --+
                                      |
                      Software.Software --+
                                          |
                                         OperatingSystem

Instance Methods | [hide private]
__init__(self) | source code
totalSwapString(self) | source code
array of strings |
traceRoute(self, target, ippath) Trace the route to the target from this device using our routing table and return an array of IP address strings showing the route. | 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, newId, 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, newClassName, 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, newClassName, 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, newClassName, 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, newId, 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`, `getInstallDate`, `getInstallDateObj`, `name`, `setInstallDate`, `setProduct`, `setProductKey`, `version` Inherited from `Software.Software` (private): `_setPropValue` Inherited from `MEProduct.MEProduct`: `getDescription`, `getDeviceLink`, `getManufacturer`, `getManufacturerHref`, `getManufacturerLink`, `getManufacturerName`, `getModelName`, `getProductContext`, `getProductHref`, `getProductKey`, `getProductLink`, `getProductName`, `setDescription`

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 `MEProduct.MEProduct` (private): `_manufacturer`, `_prodKey`

Method Details | [hide private]

### __init__(self) (Constructor) | source code
Overrides: Software.Software.__init__

### traceRoute(self, target, ippath) | source code
Trace the route to the target from this device using our routing table and return an array of IP address strings showing the route. If the route is not traversable (ie a gap in the routing table), then return the incomplete path with a final value of None. Parameters: `target` (DMD device object) - destination IP to find `ippath` (array-like object used for) - used to store intermediate results in calls. Call with [] Returns: array of strings IP addresses to target device

### 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':()},