Skip to content

CMDBIntegrationNGRouter

gzip_b64(string) gzip an arbitrary string, base64 encode it, and return it
deleteNode(id)
asyncGetTree(**additionalKeys, **id) Server side method for asynchronous tree calls. Retrieves
the immediate children of the node specified by "id"

NOTE: our convention on the UI side is if we are asking
for the root node then return the root and its children
otherwise just return the children

@type id: string
@param id: The uid of the node we are getting the children for
@rtype: [dictionary]
@return: Object representing the immediate children
addNode(id, integration_name)
getInfo(uid)
setChangeControl(id, deviceIds, start, duration) Create a change control window.

@type id: string
@param id: ID of the change control window
@type deviceIds: list
@param deviceIds: IDs of devices that are part of the CC
@type start: number
@param start: Start date/time in seconds since epoch
@type duration: number
@param duration: Duration of the window in minutes

@rtype: Products.ZenUtils.extdirect.router.DirectResponse
@return: Indication of success with device IDs that were successfully
and not successfully placed in the window.
getForm(uid)
syncAll()
getCmdbFields(uid)
cancelChangeControl(id)
setInfo(uid, content)
gunzip_b64(string) Base 64 decode a string, then gunzip it and return the result as JSON.
The input to this method should be gzipped, base 64 encoded JSON. Base
64 encoded strings are allowed to have up to 2 '='s of padding. The zenoss
Ext router eats these, so there is some logic to try padding them back into
the string should initial decoding fail.
objectExists(uid) @rtype: DirectResponse
@return:
- Properties:
- B{exists} - Returns true if we can find the object specified by the uid
deleteCI(uid)
moveOrganizer(targetUid, organizerUid) Move the organizer uid to be underneath the organizer
specified by the targetUid.

@type targetUid: string
@param targetUid: New parent of the organizer
@type organizerUid: string
@param organizerUid: The organizer to move
@rtype: DirectResponse
@return: B{Properties}:
- data: (dictionary) Moved organizer
getInfos()
syncDevice(uid)
getTypes()