Quantcast
Channel: THWACK: All Content - Orion SDK
Viewing all articles
Browse latest Browse all 2677

IPAM API Bug?

$
0
0

When adding IPAddresses to a subnet by using the followind inside a loop :

 

$IPProperties = @{

    SubnetId=$SubnetId;

    IPAddress=$Current_ip   

  }

New-SwisObject $IPAMswis -EntityType "IPAM.IPNode" -Properties $IPProperties

 

you only see the first page of IP addresses populated in the GUI. However if you query the DB they are all there.

The reason behind this is that the column IPOrdinal in the IPAM_GroupNodetable does not get automatically populated and is left out as NULL. The fix that I found was manually inserting values (0 - [IP_Count]) into the table via SQL (the field is not editable via the API).

 

Anyone else encounter this bug?


Viewing all articles
Browse latest Browse all 2677

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>