IPAM REST API questions

Hello everyone,
I have never touched SolarWinds before and now I have a task to automate some IPAM tasks using ansible.

I cannot find any useful documentation on this, apart from some Github pages. If anyone can point me to the right document I would appreciate it.

From what I have read so far, my understanding is that the REST API uses SWQL to perform the required action. Is that true? If yes, is there any other method?

What I want to achieve is:


1. Reserve an IP from a specific subnet.
All the information I have here is the subnet. Is it sufficient?

2. Release (Delete reservation, return IP to pool) IP.
In this case I only have the IP. Is it sufficient?

Has anyone examples of those actions using Ansible or Curl?

Parents
  • To expand on your questions a bit
    There's a rest API, if you use it you'll end up using SWQL sooner or later for querying something. There are API calls with no SWQL though.

    1/2 on sufficiency, on a technical level you need time and such as in my SS, or on  non-technical level depends on your org i suppose.

    I think release is Cancel or Remove.

  • THANK YOU
    It's extremely useful and what I was looking for.
    I guess I need to play around those settings as soon as I get access to the systems.

    First of all I need to find how the IPs are "reserved". Are they reserved as DHCP records, or it's just a "available" "not available" status? 
    Then, I need the correct option (unfortunately I cannot find what I have to type there, but I believe that's for another day).

    But many thanks, it's a very good starting point

Reply
  • THANK YOU
    It's extremely useful and what I was looking for.
    I guess I need to play around those settings as soon as I get access to the systems.

    First of all I need to find how the IPs are "reserved". Are they reserved as DHCP records, or it's just a "available" "not available" status? 
    Then, I need the correct option (unfortunately I cannot find what I have to type there, but I believe that's for another day).

    But many thanks, it's a very good starting point

Children