This is a tech doc detailing how Java Webservices REST API can be used to see connectivity information for devices.
How can I use Java Webservices REST API to see connectivity information for devices?
Use of REST API for topology:
1. You can get connectivity information from the Java Webservices REST API is use the following URL:
Note: If the port is not the default HTTP port of 80 you will need to add that for example:
This uses the GET http method.
2. Where the IP address would be the ip address of a device. This will show you the connectivity for that device.
3. You can also use the following URL to get the network address attribute:
This URL uses the GET method as well. This will return the model name and network address for each device. Then you can take each device IP and use the connectivity URL to get the connectivity for each device.