Quantcast
Channel: THWACK: Popular Discussions - Orion SDK
Viewing all articles
Browse latest Browse all 3719

ImportDiscoveryResults (API)

$
0
0

We have a Python script that does a full discovery, including Interface filters, with AutoImport=True and it works like a champ. However, we're trying to figure out how to have a two part approach:

 

1 - Discovery with AutoImport=False

2 - Import devices that have been discovered

 

There aren't a lot of references out there that provide detailed examples of using 'ImportDiscoveryResults'. Here are some that I've been looking at:

 

SolarWinds Information Service v3.0 Schema Documentation

orionsdk-python/swisclient.py at master · solarwinds/orionsdk-python · GitHub

From that one:

    definvoke(self, entity, verb, *args):
        returnself._req(
                "POST",
                "Invoke/{}/{}".format(entity, verb), args).json()

 

So it seems like I should have something like this:

swis.invoke('Orion.Discovery', 'ImportDiscoveryResults', ??)

 

Can I provide just the ProfileID that I already have from the previous Discovery? I've seen references about specifying Nodes, but I would like to only have to provide the ProfileID if possible.

 

Any help would be greatly appreciated!


Viewing all articles
Browse latest Browse all 3719

Trending Articles