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.

Looking to us the swis client in Python while specifying server type: Orion (v2) AD?

FormerMember
FormerMember

I need to query Solarwinds but with Orion (V2) AD. Is there a way to specify Servery Type V2 versus whatever is default within my python code?

The following is my Python code:

from orionsdk import SwisClient

username = "username"

password = "password"

server = "server"

swis = SwisClient(server, username, password)

results = swis.query("select circuitID, syslocation from NCM.Nodes")

print(results)

When I run it and print the query output I get the following:

unknown provider Cirrus

In order to fix this in SWQL Studio I run using Server Type: Orion (V2) AD and it runs correctly with no error.