Package Products :: Package ZenHub :: Package services :: Module DiscoverService :: Class DiscoverService |
[hide private]
[frames] | no frames]

# Class DiscoverService

source code

    twisted.spread.pb.Referenceable --+
                                      |
                  HubService.HubService --+
                                          |
          ThresholdMixin.ThresholdMixin --+
                                          |
        PerformanceConfig.PerformanceConfig --+
                                              |
                  ModelerService.ModelerService --+
                                                  |
                                                 DiscoverService

Instance Methods | [hide private]
remote_getNetworks(self, net, includeSubNets) Get network objects to scan networks should be in CIDR form 1.1.1.0/24 | source code
remote_pingStatus(self, net, goodips, badips, resetPtr, addInactive) Create objects based on ping results | source code
sendIpStatusEvent(self, ipobj, sev=2) Send an ip down event. | source code
remote_createDevice(self, ip, force=False, **kw) Create a device. | source code
remote_getJobProperties(self, jobid) | source code
remote_succeedDiscovery(self, id) | source code
remote_followNextHopIps(self, device) Return the ips that the device's indirect routes point to which aren't currently connected to devices. | source code
remote_getSubNetworks(self) Fetch proxies for all the networks | source code
remote_getSnmpConfig(self, devicePath) Get the snmp configuration defaults for scanning a device | source code
remote_moveDevice(self, dev, path) | source code
remote_getDefaultNetworks(self) | source code
Inherited from `ModelerService.ModelerService`: `__init__`, `createDeviceProxy`, `pushConfig`, `remote_applyDataMaps`, `remote_getClassCollectorPlugins`, `remote_getDeviceConfig`, `remote_getDeviceListByMonitor`, `remote_getDeviceListByOrganizer`, `remote_setSnmpLastCollection` Inherited from `PerformanceConfig.PerformanceConfig`: `deleted`, `getDeviceConfig`, `notifyAll`, `remote_getDefaultRRDCreateCommand`, `remote_getSnmpStatus`, `remote_propertyItems`, `sendDeviceConfig`, `update` Inherited from `HubService.HubService`: `addListener`, `getMethodPriority`, `getPerformanceMonitor`, `name`, `remoteMessageReceived`, `removeListener`, `sendEvent`, `sendEvents` Inherited from `ThresholdMixin.ThresholdMixin`: `remote_getCollectorThresholds`, `remote_getThresholdClasses`

Class Variables | [hide private]
Inherited from `ModelerService.ModelerService`: `plugins` Inherited from `ThresholdMixin.ThresholdMixin` (private): `_cached_thresholdClasses`

Method Details | [hide private]

### remote_getNetworks(self, net, includeSubNets) | source code
Get network objects to scan networks should be in CIDR form 1.1.1.0/24 Decorators: `@translateError`

### remote_pingStatus(self, net, goodips, badips, resetPtr, addInactive) | source code
Create objects based on ping results Decorators: `@translateError`

### sendIpStatusEvent(self, ipobj, sev=2) | source code
Send an ip down event. These are used to cleanup unused ips.

### remote_createDevice(self, ip, force=False, **kw) | source code
Create a device. Parameters: `ip` - The manageIp of the device `kw` - The args to manage_createDevice. Decorators: `@translateError`

### remote_getJobProperties(self, jobid) | source code
Decorators: `@translateError`

### remote_succeedDiscovery(self, id) | source code
Decorators: `@translateError`

### remote_followNextHopIps(self, device) | source code
Return the ips that the device's indirect routes point to which aren't currently connected to devices. Decorators: `@translateError`

### remote_getSubNetworks(self) | source code
Fetch proxies for all the networks Decorators: `@translateError`

### remote_getSnmpConfig(self, devicePath) | source code
Get the snmp configuration defaults for scanning a device Decorators: `@translateError`

### remote_moveDevice(self, dev, path) | source code
Decorators: `@translateError`

### remote_getDefaultNetworks(self) | source code
Decorators: `@translateError`