Skip to main content
Question

getdevicebyip on a qapp

  • Aug 26, 2025 4:24 PM UTC
  • 1 reply
  • 33 views

Forum|alt.badge.img

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

1 reply

Forum|alt.badge.img
  • Author
  • New Participant
  • Aug 27, 2025 11:26 AM UTC

pls ignore… managed to resolve it….unable to delete the question