Hello,
I have been working on automation tool for Solarwinds for dynamic nodes adding/updating.
The question is how can I get status of the interface before adding/updating it using API? When I update interface list on particular node via UI I can see status (up/down) and admin status for every interface, but when I perform DiscoverInterfacesOnNode using API I get the same status for all interfaces whenever interface is active or not, e.g.
{'ifIndex': 19, 'Caption': 'Ethernet0/0', 'ifType': 6, 'ifSubType': 0, 'InterfaceID': 231, 'Manageable': True, 'ifSpeed': 0.0, 'ifAdminStatus': 0, 'ifOperStatus': 4}
{'ifIndex': 29, 'Caption': 'Ethernet0/1', 'ifType': 6, 'ifSubType': 0, 'InterfaceID': 281, 'Manageable': True, 'ifSpeed': 0.0, 'ifAdminStatus': 0, 'ifOperStatus': 4}
{'ifIndex': 39, 'Caption': 'Ethernet0/2', 'ifType': 6, 'ifSubType': 0, 'InterfaceID': 293, 'Manageable': True, 'ifSpeed': 0.0, 'ifAdminStatus': 0, 'ifOperStatus': 4}],
But in this example only interface Ethernet0/0 is up and running, interface Ethernet0/1 is down and Ethernet0/2 is administratively down.
I'm running Orion Platform 2017.3.5 SP5 and NPM 12.2