1 Reply Latest reply on Aug 18, 2017 3:27 PM by ioan_bucsa

    Update vs create swisObject IPAM.IPNode?




      I noticed that an IPAM.IPNode object exists for all IP addresses even if they are not being used.  I have been using the update method to set properties related to IP addresses, such as alias, comments, skipScan, ect.  In what case would I need to create or delete IPAM.IPNode objects?  I looked at the database via SWQL Studio, and I saw that all IP addresses already have those objected created for them.


      These are the API methods I am referring to.  They are on this link on the bottom of the page: IPAM API · solarwinds/OrionSDK Wiki · GitHub


      Delete: Remove-SwisObject $swis -Uri 'swis://localhost/Orion/IPAM.IPNode/IpNodeId=2'


      Update: Set-SwisObject $swis -Uri 'swis://localhost/Orion/IPAM.IPNode/IpNodeId=2' -Properties @{ Alias = 'test1' }


      Create: New-SwisObject $swis -EntityType 'IPAM.IPNode' -Properties @{ SubnetId=22; IPAddress='' }