bbusse

Comments

  • I had no issues in PowerShell whatsoever. I'm new to python and figured i was doing something wrong since PowerShell worked so well Brian
  • I just tried it again using Python on Windows and that Access denied message is a little more descriptive (last line): >>> swis.invoke('IPAM.SubnetManagement', 'ChangeIpStatus', '10.13.64.39', 'Used') Traceback (most recent call last): File "<stdin>", line 1, in <module> File…
  • Well that's definitely interesting. I'm a 100% full admin, not just in IPAM, and I got access denied. Output below from your swis.invoke example, grabbed from the Orion.InformationService log file on the server. 2018-08-01 16:38:58,986 [101] ERROR SolarWinds.InformationService.Core.InformationService - (null) (null)…
  • i actually avoided https/REST and just stuck with the native API (which does appear to use 'requests'). I was only trying the REST methods because the API was not working for me. So, in my example (pasted below), This exact code (except for 1.1.1.1 being a valid IP) would not work using AD, but does with a local account. I…
  • Thanks for that link. I've been all over that page and of course all of their examples for using verbs is in PowerShell. I'm having trouble finding an example of that verb (ChangeIPStatus), using python, in a correct format. I've tried a few variations using my previous method attempting:1.1.1.1 is an example, not the real…
  • While waiting for the OP to respond I went ahead and tried this and everything looks good, until the results where the query happens. This is the error I get when doing the swis.query on IPAM 4.5.0, It does work using 4.7.0 (just thought i'd mention it for anyone else reading). requests.exceptions.HTTPError: 400 Client…
  • Success: tdanner​ I just wanted to point out that my entire problem stemmed from something in the Orion Permissions. EVEN THOUGH.. my domain user ID was in an AD Group, which is configured in Orion, to give full admin privileges at all levels. Only after creating a local Orion (SQL) Account was I able to get this to work.…
  • Could I please get someone to try what TDanner has suggested for reserving an IP using the SDK, not via PowerShell. I'm using Python on both Windows and Linux to test. Either with IPAM 4.50, 4.5.2, or even 4.7 (preferable, as we'll be upgrading to 4.7 soon-ish). Simply trying to mark an IP reserved or used. either way,…
  • I just thought i'd add to this discussion as I was having trouble using Python and the OrionSDK to mark an IPNode's status as Used, as well as updating the Hostname (DnsBackward in SWQL). So far my experience is that if the account you are using is an Active Directory account, whether added in the Accounts section directly…
  • Does that fully get what the OP is requesting? That will limit you to the 10th through 254th result, in the order they are returned, but it doesn't mean it'll be in order i.e. .10, .11, .12, etc... as you can't do an 'ORDER BY' on an IP Address as it's not an Integer. Unless you're somehow splitting the IP Address and…