1 Reply Latest reply on Jan 31, 2018 2:32 AM by maryan.dmytriv

    OrionSDK unable to add new IPv6 Address

    brscott@arcbtech.com

      I am attempting to add IP addresses using the OrionSDK in powershell.  I am able to do IPv4 Addresses, but not IPv6 and I don't understand why

       

      1) This is successful

       

      PS C:\cmds> New-SwisObject $swis -EntityType 'IPAM.IPNode' -Properties @{ SubnetID = 5267; IPAddress = '10.9.77.235' }

       

      2) This fails

       

      PS C:\cmds> New-SwisObject $swis -EntityType 'IPAM.IPNode' -Properties @{ SubnetID = 7287; IPAddress = '2620:151:99:8222::2' }

      New-SwisObject : Exception has been thrown by the target of an invocation.

      At line:1 char:1

      + New-SwisObject $swis -EntityType 'IPAM.IPNode' -Properties @{ SubnetID = 7287; I ...

      + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

          + CategoryInfo          : InvalidOperation: (:) [New-SwisObject], FaultException`1

          + FullyQualifiedErrorId : SwisError,SwisPowerShell.NewSwisObject

       

       

      I've made sure everything is updated, IPAM 4.6.0 and OrionSDK v2.3.123

       

      Am I missing something, do I need more properties for IPv6 than for IPv4?