Question

How do I access the built-in Device/Module/Interface Properties in Qapps

  • 22 March 2022
  • 1 reply
  • 51 views

How do I access the built-in Device/Module/Interface Properties in Qapps such as:

ManagementIP()

Model()

Vendor()

SerialNumber()


Instead of writing my own Parser(s), I would like to retrieve these values from the built-in Device Property Attributes.

 

See page 207-213 for list of Device/Interface/Module Property attributes listed in PDF “How_to_Define_and_Use_Procedures.PDF” at Netbrain’s website: https://www.netbraintech.com/ftp/EE54G/How_to_Define_and_Use_Procedures.pdf

 

As you can see below, I have a custom variable Column named mgmt_ip. The intent is to get the device’s management ip. I have tried different variations, including calling a function, but without success.

Thanks in advance for your help!

 

Best Regards


David


1 reply

Userlevel 2

Hello,

 

To retrieve device properties in a Qapp, you can use built in device tables. Please use below steps to extract device/interface/etc properties for a device.

  • In Qapp editor, open the Device-Driven canvas then select Table option for the device instead of Command option. 
  • Now it will show multiple different types of tables related to the device.

  • Select the table based on the requirement.

  • For an example, below are the contents of Device Report table.

 

I hope this is going to help. 

 

Thanks,

Pradeep

Reply


Community |  Ideas

Facebook |  Instagram |  Youtube |  Twitter |  LinkedIn
Privacy & Security Statement  |  Terms & Conditions |  Impressum  |  UK Modern Slavery Statement