dictionary
|
addDeviceClassNode(self,
type,
contextUid,
id,
description=None,
connectionInfo=None)
Adds a new device class organizer specified by the parameter id to
the parent organizer specified by contextUid. |
source code
|
|
dictionary
|
addLocationNode(self,
type,
contextUid,
id,
description=None,
address=None)
Adds a new location organizer specified by the parameter id to the
parent organizer specified by contextUid. |
source code
|
|
|
|
[dictionary]
|
getTree(self,
id)
Returns the tree structure of an organizer hierarchy where the root
node is the organizer identified by the id parameter. |
source code
|
|
DirectResponse
|
getComponents(self,
uid=None,
meta_type=None,
keys=None,
start=0,
limit=50,
page=0,
sort='name',
dir='ASC',
name=None)
Retrieves all of the components at a given UID. |
source code
|
|
[dictionary]
|
|
DirectResponse
|
findComponentIndex(self,
componentUid,
uid=None,
meta_type=None,
sort='name',
dir='ASC',
name=None,
**kwargs)
Given a component uid and the component search criteria, this
retrieves the position of the component in the results. |
source code
|
|
DirectResponse
|
getForm(self,
uid)
Given an object identifier, this returns all of the editable fields
on that object as well as their ExtJs xtype that one would use on a
client side form. |
source code
|
|
DirectResponse
|
getInfo(self,
uid,
keys=None)
Get the properties of a device or device organizer |
source code
|
|
DirectResponse
|
|
|
|
DirectResponse
|
|
|
|
DirectResponse
|
|
DirectResponse
|
getDevices(self,
uid=None,
start=0,
params=None,
limit=50,
sort='name',
page=None,
dir='ASC',
keys=None)
Retrieves a list of devices. |
source code
|
|
|
renameDevice(self,
uid,
newId)
Set the device specified by the uid,"uid" to have the the
id "newId" This will raise an exception if it fails. |
source code
|
|
DirectResponse
|
moveDevices(self,
uids,
target,
hashcheck=None,
ranges=(),
uid=None,
params=None,
sort='name',
dir='ASC',
asynchronous=True)
Moves the devices specified by uids to the organizer specified by
'target'. |
source code
|
|
DirectResponse
|
pushChanges(self,
uids,
hashcheck,
ranges=(),
uid=None,
params=None,
sort='name',
dir='ASC')
Push changes on device(s) configuration to collectors. |
source code
|
|
DirectResponse
|
lockDevices(self,
uids,
hashcheck,
ranges=(),
updates=False,
deletion=False,
sendEvent=False,
uid=None,
params=None,
sort='name',
dir='ASC')
Lock device(s) from changes. |
source code
|
|
DirectResponse
|
resetIp(self,
uids,
hashcheck,
uid=None,
ranges=(),
params=None,
sort='name',
dir='ASC',
ip='')
Reset IP address(es) of device(s) to the results of a DNS lookup or a
manually set address |
source code
|
|
DirectResponse
|
resetCommunity(self,
uids,
hashcheck,
uid=None,
ranges=(),
params=None,
sort='name',
dir='ASC')
Reset SNMP community string(s) on device(s) |
source code
|
|
DirectResponse
|
setProductionState(self,
uids,
prodState,
hashcheck,
uid=None,
ranges=(),
params=None,
sort='name',
dir='ASC')
Set the production state of device(s). |
source code
|
|
DirectResponse
|
setPriority(self,
uids,
priority,
hashcheck,
uid=None,
ranges=(),
params=None,
sort='name',
dir='ASC')
Set device(s) priority. |
source code
|
|
|
moveCollectorDevices(self,
srcCollectors,
dstCollector,
hashcheck,
uid=None,
ranges=(),
params=None,
sort='name',
dir='ASC',
moveData=False,
asynchronous=True)
Move all devices under one or more collectors to another collector |
source code
|
|
DirectResponse
|
setCollector(self,
uids,
collector,
hashcheck,
uid=None,
ranges=(),
params=None,
sort='name',
dir='ASC',
moveData=False,
asynchronous=True)
Set device(s) collector. |
source code
|
|
DirectResponse
|
setComponentsMonitored(self,
uids,
hashcheck,
monitor=False,
uid=None,
ranges=(),
meta_type=None,
keys=None,
start=0,
limit=50,
sort='name',
dir='ASC',
name=None)
Set the monitoring flag for component(s) |
source code
|
|
DirectResponse
|
lockComponents(self,
uids,
hashcheck,
uid=None,
ranges=(),
updates=False,
deletion=False,
sendEvent=False,
meta_type=None,
keys=None,
start=0,
limit=50,
sort='name',
dir='ASC',
name=None)
Lock component(s) from changes. |
source code
|
|
DirectResponse
|
deleteComponents(self,
uids,
hashcheck,
uid=None,
ranges=(),
meta_type=None,
keys=None,
start=0,
limit=50,
sort='name',
dir='ASC',
name=None)
Delete device component(s). |
source code
|
|
DirectResponse
|
removeDevices(self,
uids,
hashcheck,
action="remove",
uid=None,
ranges=(),
params=None,
sort='name',
dir='ASC',
deleteEvents=False,
deletePerf=False)
Remove/delete device(s). |
source code
|
|
|
getGraphDefs(self,
uid,
drange=None)
Returns the url and title for each graph for the object passed in. |
source code
|
|
[string]
|
loadRanges(self,
ranges,
hashcheck,
uid=None,
params=None,
sort='name',
dir='ASC')
Get a range of device uids. |
source code
|
|
[string]
|
loadComponentRanges(self,
ranges,
hashcheck,
uid=None,
types=(),
meta_type=(),
start=0,
limit=None,
sort='name',
dir='ASC',
name=None)
Get a range of component uids. |
source code
|
|
[dictionary]
|
|
[dictionary]
|
|
[dictionary]
|
|
[string]
|
|
DirectResponse
|
|
DirectResponse
|
|
DirectResponse
|
|
DirectResponse
|
|
DirectResponse
|
|
DirectResponse
|
|
DirectResponse
|
|
DirectResponse
|
addDevice(self,
deviceName,
deviceClass,
title=None,
snmpCommunity="",
snmpPort=161,
manageIp="",
model=False,
collector='localhost',
rackSlot=0,
locationPath="",
systemPaths=[],
groupPaths=[],
productionState=1000,
comments="",
hwManufacturer="",
hwProductName="",
osManufacturer="",
osProductName="",
priority=3,
tag="",
serialNumber="",
zCommandUsername="",
zCommandPassword="",
zWinUser="",
zWinPassword="",
zProperties={},
cProperties={})
Add a device. |
source code
|
|
DirectResponse
|
|
DirectResponse
|
|
DirectResponse
|
|
DirectResponse
|
|
DirectResponse
|
|
DirectResponse
|
|
DirectResponse
|
|
DirectResponse
|
|
DirectResponse
|
|
DirectResponse
|
|
DirectResponse
|
|
DirectResponse
|
|
List of Dictionaries
|
|
|
|
|
addIpRouteEntry(self,
uid,
dest='',
routemask='',
nexthopid='',
interface='',
routeproto='',
routetype='',
userCreated=True)
Adds an Ip Route Entry to this device |
source code
|
|
|
addIpInterface(self,
uid,
newId,
userCreated=True)
Adds an Ip Interface |
source code
|
|
|
addOSProcess(self,
uid,
newClassName,
example,
userCreated=True)
Adds an os processes |
source code
|
|
|
addFileSystem(self,
uid,
newId,
userCreated=True)
Adds an Ip Interface |
source code
|
|
|
addIpService(self,
uid,
newClassName,
protocol,
userCreated=True)
Adds an Ip Service |
source code
|
|
|
addWinService(self,
uid,
newClassName,
userCreated=True)
Adds an Ip Service |
source code
|
|
|
|
|
getOverriddenObjectsList(self,
uid,
propname,
relName)
returns a list of Overridden Objects and properties for this context |
source code
|
|
|
getOverriddenObjectsParent(self,
uid,
propname='')
returns the base of the Overridden Objects |
source code
|
|
|
getOverriddenZprops(self,
uid,
all=True,
pfilt='')
returns a list of zProperty values for the overridden objects |
source code
|
|
|
|
|
getComponentGraphs(self,
uid,
meta_type,
graphId,
allOnSame=False)
Returns the graph denoted by graphId for every component in device
(uid) with the meta_type meta_type |
source code
|
|
|
getDevTypes(self,
uid,
filter=None)
Returns a list of devtypes for the wizard |
source code
|
|
Inherited from TreeRouter :
addNode ,
asyncGetTree ,
deleteNode ,
gunzip_b64 ,
gzip_b64 ,
moveOrganizer ,
objectExists
|