Skip to main content

Hi Team,

 

i am trying to build a report via QAPP and want to populate the device name based on the IP.

i’m using the inbuilt function “GetDevicesByIP” and that gives the output only when the variable type is string (not device) and is like below:

<netbrain.common.models._datamodel.Device object at 0x000001F2803BFA60; name=XXXXXXX>]

 is there a better way to get just the XXXXX part on a QAPP. i;m aware the intents might handle this differently and im trying to have this implemented as a QAPP

Be the first to reply!

Reply