Skip to main content

Greetings,

 

How can I get the One-IP List using python script? I couldn’t find a built-in function for it. I am not trying to use the API method.

 

My ultimate goal is to retrieve the DeviceObject (DNS/Hostname and IP Address) of EndPoints connected to Access Switch Interfaces. I have the MAC Addresses of connected Endpoints, but there isn’t any built-in function to my knowledge to retrieve the DeviceObject by MAC Adddress.

 

Using the ARP Table is not really feasible because I would first have to Find the Gateway Router, get the contents of the ARP Table and then do the mapping.

 

The Interface Report Table from the Qapp inlcudes the fields DNSName and IPAddress, but unfortunately does not output it.

 

Any help is appreciated!

 

Best Regards,

 

DaveDaMan

Hi @dawal1337 

There is a REST API with example Python code here:
https://github.com/NetBrainAPI/NetBrain-REST-API-R11/blob/main/REST%20APIs%20Documentation/Topology%20Management/Get%20One%20Ip-Table%20API.md

Maybe it helps.

Carsten


Reply