This discussion has been locked. The information referenced herein may be inaccurate due to age, software updates, or external references.
You can no longer post new replies to this discussion. If you have a similar question you can start a new discussion in this forum.

Add UDT Ports via API (Orion SDK)

Hello all,

I've been using the API for a while now and have managed to find a lot of answers here so thanks for your help so far! emoticons_happy.png

I am now completely stuck however when it comes to UDT Ports via the API.

The only documentation I am aware of is: UDT vNext API · solarwinds/OrionSDK Wiki · GitHub

Sadly this doesn't seem to allow me to add ports to a node I receive the following error (using the python orion sdk):

requests.exceptions.HTTPError: 400 Client Error: Unable to create Orion.UDT.Port. Details : Error: In property NodeID. Reason: Value is not valid. Entity with NodeId: 3071 - are not exist. Ports can be created only on existed node.

However this node exists in Solarwinds and I can view it in the web GUI:

'DetailsUrl': '/Orion/NetPerfMon/NodeDetails.aspx?NetObject=N:3071',


  props = {

   "NodeId": 3071,

   "PortIndex": 6,

   "Name": "2/0.3",

   "MACAddress": "1234.4321.1234",


  swis.create("Orion.UDT.Port", **props)

I'm assuming I need to enable UDT for this node somehow first? I can see there is NodeCapability in the database: SolarWinds Information Service v3.0 Schema Documentation do I need to use this? Looks like it's read only though...

Or the most logical way is to add the UDT Ports during discovery? As this is what happens on the web GUI. But I can't see any documentation on this at all?

Any advice is much appreciated!