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

Type DeviceClass

                     AdministrativeRoleable --+    
                                              |    
                                Commandable --+    
                                              |    
                          DeviceManagerBase --+    
                                              |    
                      MaintenanceWindowable --+    
                                              |    
                             object --+       |    
                                      |       |    
                              EventView --+   |    
                                          |   |    
                     object --+           |   |    
                              |           |   |    
                           Base --+       |   |    
                                  |       |   |    
                         Historical --+   |   |    
                                      |   |   |    
     object --+                       |   |   |    
              |                       |   |   |    
           Base --+                   |   |   |    
                  |                   |   |   |    
EtagSupport --+   |                   |   |   |    
              |   |                   |   |   |    
   LockableItem --+                   |   |   |    
                  |                   |   |   |    
           Resource --+               |   |   |    
                      |               |   |   |    
             Collection --+           |   |   |    
                          |           |   |   |    
         object --+       |           |   |   |    
                  |       |           |   |   |    
               Base --+   |           |   |   |    
                      |   |           |   |   |    
          CopyContainer --+           |   |   |    
                          |           |   |   |    
         object --+       |           |   |   |    
                  |       |           |   |   |    
               Base --+   |           |   |   |    
                      |   |           |   |   |    
             Navigation --+           |   |   |    
                          |           |   |   |    
         object --+       |           |   |   |    
                  |       |           |   |   |    
               Base --+   |           |   |   |    
                      |   |           |   |   |    
         object --+   |   |           |   |   |    
                  |   |   |           |   |   |    
         Persistent --+   |           |   |   |    
                      |   |           |   |   |    
             Persistent --+           |   |   |    
                          |           |   |   |    
         object --+       |           |   |   |    
                  |       |           |   |   |    
               Base --+   |           |   |   |    
                      |   |           |   |   |    
                   Tabs --+           |   |   |    
                          |           |   |   |    
            Traversable --+           |   |   |    
                          |           |   |   |    
         object --+       |           |   |   |    
                  |       |           |   |   |    
               Base --+   |           |   |   |    
                      |   |           |   |   |    
               Acquirer --+           |   |   |    
                          |           |   |   |    
              ObjectManager --+       |   |   |    
                              |       |   |   |    
         object --+           |       |   |   |    
                  |           |       |   |   |    
               Base --+       |       |   |   |    
                      |       |       |   |   |    
        RoleManager --+       |       |   |   |    
                      |       |       |   |   |    
            RoleManager --+   |       |   |   |    
                          |   |       |   |   |    
         object --+       |   |       |   |   |    
                  |       |   |       |   |   |    
               Base --+   |   |       |   |   |    
                      |   |   |       |   |   |    
     object --+       |   |   |       |   |   |    
              |       |   |   |       |   |   |    
           Base --+   |   |   |       |   |   |    
                  |   |   |   |       |   |   |    
         CopySource --+   |   |       |   |   |    
                      |   |   |       |   |   |    
     object --+       |   |   |       |   |   |    
              |       |   |   |       |   |   |    
           Base --+   |   |   |       |   |   |    
                  |   |   |   |       |   |   |    
              Owned --+   |   |       |   |   |    
                      |   |   |       |   |   |    
     object --+       |   |   |       |   |   |    
              |       |   |   |       |   |   |    
           Base --+   |   |   |       |   |   |    
                  |   |   |   |       |   |   |    
               Tabs --+   |   |       |   |   |    
                      |   |   |       |   |   |    
        Traversable --+   |   |       |   |   |    
                      |   |   |       |   |   |    
                  ZItem --+   |       |   |   |    
                          |   |       |   |   |    
         object --+       |   |       |   |   |    
                  |       |   |       |   |   |    
               Base --+   |   |       |   |   |    
                      |   |   |       |   |   |    
               Acquirer --+   |       |   |   |    
                          |   |       |   |   |    
         PrimaryPathManager --+       |   |   |    
                              |       |   |   |    
         object --+           |       |   |   |    
                  |           |       |   |   |    
               Base --+       |       |   |   |    
                      |       |       |   |   |    
          CopyContainer --+   |       |   |   |    
                          |   |       |   |   |    
           RelCopyContainer --+       |   |   |    
                              |       |   |   |    
             object --+       |       |   |   |    
                      |       |       |   |   |    
                   Base --+   |       |   |   |    
                          |   |       |   |   |    
                UndoSupport --+       |   |   |    
                              |       |   |   |    
       PrimaryPathObjectManager --+   |   |   |    
                                  |   |   |   |    
             object --+           |   |   |   |    
                      |           |   |   |   |    
                   Base --+       |   |   |   |    
                          |       |   |   |   |    
           Node --+       |       |   |   |   |    
                  |       |       |   |   |   |    
            Element --+   |       |   |   |   |    
                      |   |       |   |   |   |    
  ElementWithAttributes --+       |   |   |   |    
                          |       |   |   |   |    
            PropertyManager --+   |   |   |   |    
                              |   |   |   |   |    
             ZenPropertyManager --+   |   |   |    
                                  |   |   |   |    
                RelationshipManager --+   |   |    
                                      |   |   |    
                         object --+   |   |   |    
                                  |   |   |   |    
                       ZenModelBase --+   |   |    
                                      |   |   |    
                         object --+   |   |   |    
                                  |   |   |   |    
                          ZenPacker --+   |   |    
                                      |   |   |    
                             ZenModelRM --+   |    
                                          |   |    
                                  Organizer --+    
                                              |    
                                ZenMenuable --+    
                                              |    
                                DeviceOrganizer --+
                                                  |
                                    ZenPackable --+
                                                  |
                                                 DeviceClass


DeviceClass is a device organizer that manages the primary classification of device objects within the zenoss system. It manages properties that are inherited through acquisition that modify the behavior of many different sub systems within zenoss. It also handles the creation of new devices in the system.
Method Summary
  bindTemplates(self, ids, REQUEST)
This will bind available templates to the zDeviceTemplates
  buildDeviceTreeProperties(self)
  childMoveTargets(self, pyclass)
Return a list of all device paths that have the python class pyclass
  createCatalog(self)
make the catalog for device searching
  createInstance(self, id)
Create an instance based on its location in the device tree walk up the primary aq path looking for a python instance class that matches the name of the closest node in the device tree.
  deviceMoveTargets(self, pyclass)
Return a list of all device paths that have the python class pyclass
  findDevice(self, devicename)
look up device in catalog and return it
  findDevicePath(self, devicename)
look up a device and return its path
  findDevicePingStatus(self, devicename)
look up device in catalog and return its pingStatus
  getAllRRDTemplates(self, rrdts)
  getAvailableTemplates(self)
Returns all available templates
  getDeviceWinInfo(self, lastPoll, eventlog)
Return list of (devname,user,passwd,url) for each device.
  getEventDeviceInfo(self)
getEventDeviceInfo() -> return the info for NcoEventPopulator
  getImportFilesData(self)
Get a list of XML filenames and basenames from the ZENHOME/import directory.
  getMonitoredComponents(self)
Return monitored components for devices within this DeviceDeviceClass
  getPeerDeviceClassNames(self, pyclass)
Return a list of all device paths that have the python class pyclass
  getPythonDeviceClass(self)
Return the python class object to be used for device instances in this device class.
  getRRDImportFilesData(self)
Get a list of command-only import files' data.
  getRRDTemplates(self, context)
Return the actual RRDTemplate instances.
  getSubComponents(self, meta_type, monitored)
Return generator of components, by meta_type if specified.
  getWinServices(self)
Return a list of (devname, user, passwd, {'EvtSys':0,'Exchange':0})
  manage_addRRDTemplate(self, id, REQUEST)
Add an RRDTemplate to this DeviceClass.
  manage_copyAndPasteRRDTemplates(self, ids, copyTarget, REQUEST)
Copy the selected templates into the specified device class.
  manage_copyRRDTemplates(self, ids, REQUEST)
Put a reference to the objects named in ids in the clip board
  manage_deleteRRDTemplates(self, ids, paths, REQUEST)
Delete RRDTemplates from this DeviceClass (skips ones in other Classes)
  manage_exportRRDTemplates(self, ids, REQUEST)
Export RRDTemplates from this DeviceClass (skips ones in other Classes)
  manage_importRRDTemplates(self, REQUEST)
Import one or more RRD Templates.
  manage_pasteRRDTemplates(self, moveTarget, cb_copy_data, REQUEST)
Paste RRDTemplates that have been copied before.
  moveDevices(self, moveTarget, deviceNames, REQUEST)
Override default moveDevices because this is a contained relation.
  pushConfig(self, REQUEST)
This will result in a push of all the devices to live collectors
  reIndex(self)
Go through all devices in this tree and reindex them.
  removeDevices(self, deviceNames, REQUEST)
see IManageDevice
  removeZDeviceTemplates(self, REQUEST)
Deletes the local zProperty, zDeviceTemplates
  searchDevices(self, query, REQUEST)
Returns the concatenation of a device name, ip and mac search on the list of devices.
  searchDeviceSummary(self, query)
search device summary index and return device objects
  searchInterfaces(self, query)
search interfaces index and return interface objects
  setDeviceBatchProps(self, method, extraarg, selectstatus, goodevids, badevids, offset, count, filter, orderby, orderdir, REQUEST)
docstring
  setLastChange(self, value)
Set the changed datetime for this device.
  zenPropertyOptions(self, propname)
Provide a set of default options for a ZProperty
  _convertResultsToObj(self, results)
Inherited from DeviceOrganizer: collectDevice, countDevices, getAdvancedQueryDeviceList, getAllCounts, getDeviceBatch, getJSONDeviceInfo, getSubDevices, getSubDevicesGen, getSubDevicesGenTest, getUrlForUserCommands, getUserCommandTargets, lockDevicesFromDeletion, lockDevicesFromUpdates, manage_snmpCommunity, pingStatus, setGroups, setLocation, setManageIp, setPerformanceMonitor, setPriority, setProdState, setStatusMonitors, setSystems, snmpStatus, statusColor, unlockDevices, _buildDeviceList, _status
Inherited from Organizer: __init__, childIds, children, countChildren, createOrganizer, exportXmlHook, getChildMoveTarget, getDmdKey, getOrganizer, getOrganizerName, getOrganizerNames, getSubOrganizers, manage_addOrganizer, manage_deleteOrganizer, manage_deleteOrganizers, moveOrganizer, _getCatalog
Inherited from ZenModelRM: changePythonClass, creator, editableDeviceList, getCreatedTimeString, 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: __call__, __hash__, all_meta_types, breadCrumbs, callZenScreen, checkValidId, createHierarchyObj, custPropertyIds, custPropertyMap, getDmd, getDmdObj, getDmdRoot, getHierarchyObj, getIdLink, getNowString, getObjByPath, getPrimaryDmdId, getZopeObj, helpLink, isLocalName, manage_deleteObjects, prepId, saveCustProperties, todayDate, view, visibleCustPropertyMap, yesterdayDate, zenpathjoin, zenpathsplit, zenScreenUrl, zentinelTabs
Inherited from RelationshipManager: addRelation, buildRelations, cb_isMoveable, checkRelations, exportXml, exportXmlProperties, exportXmlRelationships, getRelationshipManagerId, getRelationshipNames, getRelationships, lookupSchema, manage_addRelation, manage_beforeDelete, manage_removeRelation, manage_workspace, removeRelation, _getCopy, _notifyOfCopyTo, _setObject
Inherited from PrimaryPathObjectManager: _delObject
Inherited from RelCopyContainer: manage_linkObjects, manage_renameObject, manage_unlinkObjects, _getRelName, _getSourceObjects, _verifyObjectLink, _verifyObjectPaste
Inherited from CopyContainer: cb_dataItems, cb_dataValid, manage_clone, manage_CopyContainerAllItems, manage_CopyContainerFirstItem, manage_copyObjects, manage_cutObjects, manage_pasteObjects, manage_renameObjects, validClipData, _delOb, _get_id, _getOb, _setOb
Inherited from ObjectManager: __class_init__, __getitem__, _checkId, filtered_meta_types, hasObject, list_imports, manage_afterAdd, manage_afterClone, manage_delObjects, manage_exportObject, manage_FTPlist, manage_FTPstat, manage_hasId, manage_importObject, objectIds, objectIds_d, objectItems, objectItems_d, objectMap, objectMap_d, objectValues, objectValues_d, superValues, tpValues, _importObjectFromFile, _subobject_permissions
Inherited from Navigation: manage_zmi_logout
Inherited from Tabs: class_manage_path, filtered_manage_options, tabs_path_default, tabs_path_info
Inherited from Acquirer: __new__, __of__
Inherited from Persistent: __getattribute__, bobobase_modification_time, locked_in_version, modified_in_version
Inherited from Persistent: __delattr__, __getstate__, __reduce__, __setattr__, __setstate__, _p_activate, _p_deactivate, _p_delattr, _p_getattr, _p_invalidate, _p_setattr
Inherited from Collection: dav__init, DELETE, HEAD, listDAVObjects, PUT
Inherited from Resource: COPY, dav__simpleifhandler, dav__validate, LOCK, manage_DAVget, MKCOL, MOVE, OPTIONS, PROPFIND, PROPPATCH, TRACE, UNLOCK
Inherited from LockableItem: wl_clearLocks, wl_delLock, wl_getLock, wl_hasLock, wl_isLocked, wl_lockItems, wl_lockmapping, wl_lockTokens, wl_lockValues, wl_setLock
Inherited from EtagSupport: http__etag, http__parseMatchList, http__processMatchHeaders, http__refreshEtag
Inherited from Traversable: absolute_url, absolute_url_path, getPhysicalPath, restrictedTraverse, unrestrictedTraverse, virtual_url_path
Inherited from PrimaryPathManager: getPrimaryId, getPrimaryParent, getPrimaryPath, getPrimaryUrlPath, primaryAq
Inherited from ZItem: __len__, __repr__, getId, manage_editedDialog, raise_standardErrorMessage, this, title_and_id, title_or_id, tpURL
Inherited from CopySource: cb_isCopyable, cb_userHasCopyOrMovePermission, _canCopy, _postCopy, _setId
Inherited from Owned: changeOwnership, getOwner, getOwnerTuple, getWrappedOwner, manage_fixupOwnershipAfterAdd, owner_info, userCanTakeOwnership, _deleteOwnershipAfterAdd, manage_changeOwnershipType, manage_takeOwnership
Inherited from RoleManager: ac_inherited_permissions, access_debug_info, acquiredRolesAreUsedBy, get_local_roles, get_local_roles_for_userid, get_valid_userids, has_local_roles, manage_access, manage_defined_roles, manage_editRoles, manage_role, permission_settings, permissionsOfRole, possible_permissions, rolesOfPermission, userdefined_roles, users_with_local_role, valid_roles, validate_roles, validRoles, _addRole, _delRoles, _has_user_defined_role, _setRoles, manage_acquiredPermissions, manage_addLocalRoles, manage_changePermissions, manage_delLocalRoles, manage_permission, manage_setLocalRoles
Inherited from RoleManager: manage_getPermissionMapping, _isBeingAccessedAsZClassDefinedInstanceMethod, _isBeingUsedAsAMethod, manage_setPermissionMapping
Inherited from UndoSupport: get_request_var_or_attr, manage_undo_transactions, undoable_transactions
Inherited from ZenPropertyManager: deleteZenProperty, isLocal, manage_editProperties, saveZenProperties, setZenProperty, zenPropertyIds, zenPropertyItems, zenPropertyMap, zenPropertyPath, zenPropertyString, zenPropertyType, zenPropIsPassword, _setProperty, _setPropValue
Inherited from PropertyManager: getProperty, getPropertyType, hasProperty, manage_addProperty, manage_changeProperties, manage_changePropertyTypes, manage_delProperties, propdict, propertyIds, propertyItems, propertyLabel, propertyMap, propertyValues, valid_property_id, _delProperty, _delPropValue, _propertyMap, _updateProperty, _wrapperCheck
Inherited from ElementWithAttributes: getAttribute, getAttributeNode, getAttributes
Inherited from Element: getChildNodes, getElementsByTagName, getFirstChild, getLastChild, getNextSibling, getNodeName, getNodeType, getParentNode, getPreviousSibling, getTagName
Inherited from Node: getNodeValue, getOwnerDocument, hasChildNodes
Inherited from Historical: manage_afterHistoryCopy, manage_beforeHistoryCopy, manage_change_history, manage_historicalComparison, manage_historyCompare, manage_historyCopy
Inherited from ZenPacker: addToZenPack, findObject
Inherited from EventView: getEventHistory, getEventManager, getEventOwnerList, getEventSummary, getJSONEventsInfo, getJSONFields, getJSONHistoryEventsInfo, getStatus, getStatusCssClass, getStatusImgSrc, getStatusString, manage_ackBatchEvents, manage_ackEvents, manage_createEventMap, manage_deleteBatchEvents, manage_deleteEvents, manage_deleteHeartbeat, manage_setEventStates, manage_undeleteBatchEvents, manage_undeleteEvents
Inherited from DeviceManagerBase: getDeviceMoveTarget
Inherited from Commandable: compile, doCommandForTarget, getAqChainForUserCommands, getUserCommand, getUserCommandEnvironment, getUserCommands, manage_addUserCommand, manage_deleteUserCommand, manage_doUserCommand, manage_editUserCommand, redirectToUserCommands, write
Inherited from ZenMenuable: buildMenus, getMenus, manage_addItemsToZenMenu, manage_addZenMenu, manage_addZenMenuItem, manage_deleteZenMenu, manage_deleteZenMenuItem, manage_saveMenuItemOrdering
Inherited from MaintenanceWindowable: manage_addMaintenanceWindow, manage_deleteMaintenanceWindow
Inherited from AdministrativeRoleable: manage_addAdministrativeRole, manage_deleteAdministrativeRole, manage_editAdministrativeRoles
Inherited from Base: __getnewargs__
Inherited from object: __reduce_ex__, __str__
Inherited from SRE_Pattern: _onlystars

Class Variable Summary
tuple __ac_permissions__ = (('Add DMD Objects', ('manage_addRR...
str baseModulePath = 'Products.ZenModel'
str default_catalog = 'deviceSearch'
str dmdRootName = 'Devices'
str event_key = 'DeviceClass'
tuple factory_type_information = ({'product': 'ZenModel', 'des...
PermissionRole getDeviceWinInfo__roles__ = <PermissionRole object at 0x...
PermissionRole getEventDeviceInfo__roles__ = <PermissionRole object at ...
PermissionRole getImportFilesData__roles__ = <PermissionRole object at ...
PermissionRole getRRDImportFilesData__roles__ = <PermissionRole object ...
PermissionRole getRRDTemplates__roles__ = <PermissionRole object at 0x3...
PermissionRole manage_addRRDTemplate__roles__ = <PermissionRole object ...
tuple manage_copyAndPasteRRDTemplates__roles__ = ('Manager',)
tuple manage_copyRRDTemplates__roles__ = ('Manager',)
tuple manage_deleteRRDTemplates__roles__ = ('Manager',)
tuple manage_exportRRDTemplates__roles__ = ('Manager',)
PermissionRole manage_importRRDTemplates__roles__ = <PermissionRole obj...
tuple manage_pasteRRDTemplates__roles__ = ('Manager',)
DTMLFile manageDeviceSearch = <App.special_dtml.DTMLFile object a...
DTMLFile manageDeviceSearchResults = <App.special_dtml.DTMLFile o...
str meta_type = 'DeviceClass'
tuple meta_types = ()
str portal_type = 'DeviceClass'
PermissionRole searchDevices__roles__ = <PermissionRole object at 0x320...
PermissionRole searchDeviceSummary__roles__ = <PermissionRole object at...
PermissionRole searchInterfaces__roles__ = <PermissionRole object at 0x...
PermissionRole setDeviceBatchProps__roles__ = <PermissionRole object at...
PermissionRole setLastChange__roles__ = <PermissionRole object at 0x320...
tuple _relations = (('maintenanceWindows', <Products.ZenRelati...
Inherited from DeviceOrganizer: manage_snmpCommunity__roles__
Inherited from Organizer: __roles__, manage_addOrganizer__roles__, manage_deleteOrganizer__roles__, manage_deleteOrganizers__roles__, _properties
Inherited from ZenModelRM: getDmdKey__roles__, isInTree, primarySortKey__roles__, rename__roles__, viewName__roles__, zmanage_editProperties__roles__
Inherited from ZenModelBase: breadCrumbs__roles__, getPrimaryDmdId__roles__, helpLink__roles__, index_html, manage_deleteObjects__roles__, sub_meta_types, view__roles__, zentinelTabs__roles__
Inherited from RelationshipManager: manage_addRelation__roles__, manage_beforeDelete__roles__, manage_main, manage_main__roles__, manage_options, manage_removeRelation__roles__, manage_workspace__roles__, _operation
Inherited from CopyContainer: __implemented__, __providedBy__, __provides__, manage_clone__roles__, manage_CopyContainerAllItems__roles__, manage_CopyContainerFirstItem__roles__, manage_copyObjects__roles__, manage_cutObjects__roles__, manage_pasteObjects__roles__, manage_renameForm, manage_renameForm__roles__, manage_renameObject__roles__, manage_renameObjects__roles__
Inherited from ObjectManager: isAnObjectManager, isPrincipiaFolderish, manage_addProduct, manage_afterAdd__roles__, manage_afterClone__roles__, manage_delObjects__roles__, manage_exportObject__roles__, manage_FTPlist__roles__, manage_FTPstat__roles__, manage_hasId__roles__, manage_importExportForm, manage_importExportForm__roles__, manage_importObject__roles__, manage_index_main, manage_index_main__roles__, objectIds__roles__, objectItems__roles__, objectValues__roles__, _objects
Inherited from Navigation: manage, manage__roles__, manage_copyright, manage_copyright__roles__, manage_form_title, manage_form_title__roles__, manage_menu, manage_menu__roles__, manage_page_footer, manage_page_footer__roles__, manage_page_header, manage_page_header__roles__, manage_page_style.css, manage_page_style.css__roles__, manage_top_frame, manage_top_frame__roles__, manage_zmi_logout__roles__, manage_zmi_prefs, manage_zmi_prefs__roles__, zope_quick_start, zope_quick_start__roles__
Inherited from Tabs: class_manage_path__roles__, filtered_manage_options__roles__, manage_tabs, manage_tabs__roles__
Inherited from Persistent: _p_changed, _p_jar, _p_mtime, _p_oid, _p_serial, _p_state
Inherited from Collection: __dav_collection__
Inherited from Resource: __dav_resource__, __http_methods__, COPY__roles__, DELETE__roles__, HEAD__roles__, listDAVObjects__roles__, LOCK__roles__, manage_DAVget__roles__, MOVE__roles__, OPTIONS__roles__, PROPFIND__roles__, PROPPATCH__roles__, TRACE__roles__, UNLOCK__roles__
Inherited from LockableItem: wl_clearLocks__roles__, wl_delLock__roles__, wl_getLock__roles__, wl_isLocked__roles__, wl_isLockedByUser__roles__, wl_lockItems__roles__, wl_lockmapping__roles__, wl_lockTokens__roles__, wl_lockValues__roles__, wl_setLock__roles__
Inherited from EtagSupport: __implements__
Inherited from Traversable: absolute_url__roles__, absolute_url_path__roles__, getPhysicalPath__roles__, getPhysicalRoot, getPhysicalRoot__roles__, restrictedTraverse__roles__, unrestrictedTraverse__roles__, virtual_url_path__roles__
Inherited from ZItem: __allow_access_to_unprotected_subobjects__, __name__, __propsets__, getId__roles__, icon, id, isTopLevelPrincipiaApplicationObject, REQUEST, title, _manage_editedDialog
Inherited from Owned: changeOwnership__roles__, getOwner__roles__, getOwnerTuple__roles__, getWrappedOwner__roles__, manage_changeOwnershipType__roles__, manage_fixupOwnershipAfterAdd__roles__, manage_owner, manage_owner__roles__, manage_takeOwnership__roles__, owner_info__roles__
Inherited from RoleManager: __ac_local_roles__, __ac_roles__, ac_inherited_permissions__roles__, access_debug_info__roles__, aclAChecked, aclEChecked, aclPChecked, acquiredRolesAreUsedBy__roles__, manage_access__roles__, manage_acquiredForm, manage_acquiredForm__roles__, manage_acquiredPermissions__roles__, manage_addLocalRoles__roles__, manage_changePermissions__roles__, manage_defined_roles__roles__, manage_delLocalRoles__roles__, manage_editLocalRoles, manage_editLocalRoles__roles__, manage_editRoles__roles__, manage_listLocalRoles, manage_listLocalRoles__roles__, manage_permission__roles__, manage_permissionForm, manage_permissionForm__roles__, manage_role__roles__, manage_roleForm, manage_roleForm__roles__, manage_setLocalRoles__roles__, permission_settings__roles__, permissionMappingPossibleValues, permissionsOfRole__roles__, rolesOfPermission__roles__, selectedRoles, smallRolesWidget, userdefined_roles__roles__, _method_manage_access, _normal_manage_access
Inherited from RoleManager: manage_getPermissionMapping__roles__, manage_setPermissionMapping__roles__
Inherited from UndoSupport: manage_undo_transactions__roles__, manage_UndoForm, manage_UndoForm__roles__, undoable_transactions__roles__
Inherited from ZenPropertyManager: manage_editProperties__roles__, manage_propertiesForm, manage_propertiesForm__roles__
Inherited from PropertyManager: getProperty__roles__, getPropertyType__roles__, hasProperty__roles__, manage_addProperty__roles__, manage_changeProperties__roles__, manage_changePropertyTypes__roles__, manage_delProperties__roles__, manage_propertyTypeForm, manage_propertyTypeForm__roles__, propdict__roles__, propertyIds__roles__, propertyItems__roles__, propertyLabel__roles__, propertyMap__roles__, propertysheets, propertyValues__roles__, valid_property_id__roles__, _reserved_names
Inherited from Historical: HistoricalRevisions, manage_afterHistoryCopy__roles__, manage_beforeHistoryCopy__roles__, manage_change_history__roles__, manage_change_history_page, manage_change_history_page__roles__, manage_historicalComparison__roles__, manage_historyCompare__roles__, manage_historyCopy__roles__, _manage_historyComparePage
Inherited from ZenPacker: security
Inherited from EventView: manage_ackBatchEvents__roles__, manage_ackEvents__roles__, manage_createEventMap__roles__, manage_deleteBatchEvents__roles__, manage_deleteEvents__roles__, manage_deleteHeartbeat__roles__, manage_setEventStates__roles__, manage_undeleteBatchEvents__roles__, manage_undeleteEvents__roles__
Inherited from Commandable: defaultTimeout, getUserCommands__roles__, manage_addUserCommand__roles__, manage_deleteUserCommand__roles__, manage_doUserCommand__roles__, manage_editUserCommand__roles__
Inherited from ZenMenuable: buildMenus__roles__, getMenus__roles__, manage_addItemsToZenMenu__roles__, manage_addZenMenu__roles__, manage_addZenMenuItem__roles__, manage_deleteZenMenu__roles__, manage_deleteZenMenuItem__roles__, manage_saveMenuItemOrdering__roles__

Instance Method Details

bindTemplates(self, ids=(), REQUEST=None)

This will bind available templates to the zDeviceTemplates

childMoveTargets(self, pyclass=None)

Return a list of all device paths that have the python class pyclass

createCatalog(self)

make the catalog for device searching

createInstance(self, id)

Create an instance based on its location in the device tree walk up the primary aq path looking for a python instance class that matches the name of the closest node in the device tree.

deviceMoveTargets(self, pyclass=None)

Return a list of all device paths that have the python class pyclass

findDevice(self, devicename)

look up device in catalog and return it

findDevicePath(self, devicename)

look up a device and return its path

findDevicePingStatus(self, devicename)

look up device in catalog and return its pingStatus

getAvailableTemplates(self)

Returns all available templates

getDeviceWinInfo(self, lastPoll=0, eventlog=False)

Return list of (devname,user,passwd,url) for each device. user and passwd are used to connect via wmi.

getEventDeviceInfo(self)

getEventDeviceInfo() -> return the info for NcoEventPopulator

getImportFilesData(self)

Get a list of XML filenames and basenames from the ZENHOME/import directory.

getMonitoredComponents(self)

Return monitored components for devices within this DeviceDeviceClass
Overrides:
ZenModel.DeviceOrganizer.DeviceOrganizer.getMonitoredComponents

getPeerDeviceClassNames(self, pyclass=None)

Return a list of all device paths that have the python class pyclass

getPythonDeviceClass(self)

Return the python class object to be used for device instances in this device class. This is done by walking up the aq_chain of a deviceclass to find a node that has the same name as a python class or has an attribute named zPythonClass that matches a python class.

getRRDImportFilesData(self)

Get a list of command-only import files' data.

getRRDTemplates(self, context=None)

Return the actual RRDTemplate instances.

getSubComponents(self, meta_type='', monitored=True)

Return generator of components, by meta_type if specified.

getWinServices(self)

Return a list of (devname, user, passwd, {'EvtSys':0,'Exchange':0})

manage_addRRDTemplate(self, id, REQUEST=None)

Add an RRDTemplate to this DeviceClass.

manage_copyAndPasteRRDTemplates(self, ids=(), copyTarget=None, REQUEST=None)

Copy the selected templates into the specified device class.

manage_copyRRDTemplates(self, ids=(), REQUEST=None)

Put a reference to the objects named in ids in the clip board

manage_deleteRRDTemplates(self, ids=(), paths=(), REQUEST=None)

Delete RRDTemplates from this DeviceClass (skips ones in other Classes)

manage_exportRRDTemplates(self, ids=(), REQUEST=None)

Export RRDTemplates from this DeviceClass (skips ones in other Classes)

manage_importRRDTemplates(self, REQUEST=None)

Import one or more RRD Templates.

manage_pasteRRDTemplates(self, moveTarget=None, cb_copy_data=None, REQUEST=None)

Paste RRDTemplates that have been copied before.

moveDevices(self, moveTarget, deviceNames=None, REQUEST=None)

Override default moveDevices because this is a contained relation.
Overrides:
ZenModel.DeviceManagerBase.DeviceManagerBase.moveDevices

pushConfig(self, REQUEST=None)

This will result in a push of all the devices to live collectors

reIndex(self)

Go through all devices in this tree and reindex them.

removeDevices(self, deviceNames=None, REQUEST=None)

see IManageDevice
Overrides:
ZenModel.DeviceManagerBase.DeviceManagerBase.removeDevices

removeZDeviceTemplates(self, REQUEST=None)

Deletes the local zProperty, zDeviceTemplates

searchDevices(self, query=None, REQUEST=None)

Returns the concatenation of a device name, ip and mac search on the list of devices.

searchDeviceSummary(self, query)

search device summary index and return device objects

searchInterfaces(self, query)

search interfaces index and return interface objects

setDeviceBatchProps(self, method='', extraarg=None, selectstatus='none', goodevids=[], badevids=[], offset=0, count=50, filter='', orderby='id', orderdir='asc', REQUEST=None)

docstring

setLastChange(self, value=None)

Set the changed datetime for this device. value default is now.

zenPropertyOptions(self, propname)

Provide a set of default options for a ZProperty
Overrides:
Products.ZenRelations.ZenPropertyManager.ZenPropertyManager.zenPropertyOptions

Class Variable Details

__ac_permissions__

Type:
tuple
Value:
(('Add DMD Objects', ('manage_addRRDTemplate', 'manage_importRRDTempla\
tes')),
 ('Change Device', ('setDeviceBatchProps', 'setLastChange')),
 ('View',
  ('getDeviceWinInfo',
   'getEventDeviceInfo',
   'searchDevices',
   'getRRDTemplates',
...                                                                    

baseModulePath

Type:
str
Value:
'Products.ZenModel'                                                    

default_catalog

Type:
str
Value:
'deviceSearch'                                                         

dmdRootName

Type:
str
Value:
'Devices'                                                              

event_key

Type:
str
Value:
'DeviceClass'                                                          

factory_type_information

Type:
tuple
Value:
({'actions': ({'action': 'deviceOrganizerStatus',
               'id': 'classes',
               'name': 'Classes',
               'permissions': ('View',)},
              {'action': 'viewEvents',
               'id': 'events',
               'name': 'Events',
               'permissions': ('View',)},
...                                                                    

getDeviceWinInfo__roles__

Type:
PermissionRole
Value:
<PermissionRole object at 0x320d290>                                   

getEventDeviceInfo__roles__

Type:
PermissionRole
Value:
<PermissionRole object at 0x320d290>                                   

getImportFilesData__roles__

Type:
PermissionRole
Value:
<PermissionRole object at 0x320d290>                                   

getRRDImportFilesData__roles__

Type:
PermissionRole
Value:
<PermissionRole object at 0x320d290>                                   

getRRDTemplates__roles__

Type:
PermissionRole
Value:
<PermissionRole object at 0x320d290>                                   

manage_addRRDTemplate__roles__

Type:
PermissionRole
Value:
<PermissionRole object at 0x320d260>                                   

manage_copyAndPasteRRDTemplates__roles__

Type:
tuple
Value:
('Manager',)                                                           

manage_copyRRDTemplates__roles__

Type:
tuple
Value:
('Manager',)                                                           

manage_deleteRRDTemplates__roles__

Type:
tuple
Value:
('Manager',)                                                           

manage_exportRRDTemplates__roles__

Type:
tuple
Value:
('Manager',)                                                           

manage_importRRDTemplates__roles__

Type:
PermissionRole
Value:
<PermissionRole object at 0x320d260>                                   

manage_pasteRRDTemplates__roles__

Type:
tuple
Value:
('Manager',)                                                           

manageDeviceSearch

Type:
DTMLFile
Value:
<App.special_dtml.DTMLFile object at 0x3212b90>                        

manageDeviceSearchResults

Type:
DTMLFile
Value:
<App.special_dtml.DTMLFile object at 0x3212cd0>                        

meta_type

Type:
str
Value:
'DeviceClass'                                                          

meta_types

Type:
tuple
Value:
()                                                                     

portal_type

Type:
str
Value:
'DeviceClass'                                                          

searchDevices__roles__

Type:
PermissionRole
Value:
<PermissionRole object at 0x320d290>                                   

searchDeviceSummary__roles__

Type:
PermissionRole
Value:
<PermissionRole object at 0x320d290>                                   

searchInterfaces__roles__

Type:
PermissionRole
Value:
<PermissionRole object at 0x320d290>                                   

setDeviceBatchProps__roles__

Type:
PermissionRole
Value:
<PermissionRole object at 0x320d278>                                   

setLastChange__roles__

Type:
PermissionRole
Value:
<PermissionRole object at 0x320d278>                                   

_relations

Type:
tuple
Value:
(('maintenanceWindows',
  <Products.ZenRelations.RelSchema.ToManyCont instance at 0x32233a0>),
 ('adminRoles',
  <Products.ZenRelations.RelSchema.ToManyCont instance at 0x32231e8>),
 ('userCommands',
  <Products.ZenRelations.RelSchema.ToManyCont instance at 0x3223148>),
 ('zenMenus',
  <Products.ZenRelations.RelSchema.ToManyCont instance at 0x3223170>),
...                                                                    

Generated by Epydoc 2.1 on Thu Aug 16 09:55:15 2007 http://epydoc.sf.net