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

Add Interfaces On Node

$
0
0

Hi,

I try to add interfaces to a node. I use "DiscoverInterfacesOnNode" and "AddInterfacesOnNode" methods. I get every interfaces and passed to XDocument object. I looked up "NPM.DiscoverAndAddInterfacesOnNode.ps1" example file and writing below code block. But I didn't understand how to convert my XDocument object to SolarWinds.NPM.Common.Models.Discovery.InterfaceDiscovery.DiscoveredLiteInterface[] array type. I have done something at another projects like that code but I can't do convert to this array type. I don't know I exactly describe my problem but the screenshot may help this.

 

ss.png

swql.png


Viewing all articles
Browse latest Browse all 2677

Trending Articles



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