Quantcast
Channel: THWACK: All Content - Orion SDK
Viewing all articles
Browse latest Browse all 2677

Read interfaces on a node?

$
0
0

Greetings!

 

I'm having some issues using swis's READ method to enumerate the interfaces on an Orion node.  If I pass an InterfaceID in the URI, it will correctly return one interface, but if I do not specify an interface ID, I get the following error from the server:

 

requests.exceptions.HTTPError: 400 Client Error: Invalid key properties specified for entity Orion.NPM.Interfaces.
Parameter name: filter for url: https://solarwinds:17778/SolarWinds/InformationService/v3/Json/swis://solarwinds/Orion/Orion.Nodes/NodeID=180/Interfaces

 

Since I'm able to use "swis://solarwinds/Orion/Orion.Nodes/NodeID=180/CustomProperties" to get an enumeration of the custom properties of a node, I would have expected this trend to continue.  I know I can use a query instead to retrieve the same information, but would prefer to stick to CRUD operations wherever possible.  Am I just missing something simple here?


Viewing all articles
Browse latest Browse all 2677

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>