Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

verifying if ip address is part of ipv6 network range

girishd
Tera Contributor

Hi Everyone,

 

I have been trying to check if mentioned ip addres is part of ipv6 network. I could see there is hidden class for 

SNC.IPAddress and below are its methods : 
 
*** Script: constructor
*** Script: isValid
*** Script: isV4
*** Script: isV6
*** Script: isSameVersionAs
*** Script: isLinkLocal
*** Script: isMulticast
*** Script: isRoutable
*** Script: isPublic
*** Script: isReserved
*** Script: isUnicast
*** Script: toExpanded
*** Script: isLocalhost
*** Script: getAddressClass
*** Script: getIP
*** Script: isLinkLocalAddress
*** Script: isMulticastAddress
*** Script: isPrivateAddress
*** Script: isPublicAddress
*** Script: isReservedAddress
*** Script: isUnicastAddress
*** Script: toString

does anybody have any idea how can we check ip is in range of network or not
5 REPLIES 5

I am looking for something else here since i need a ip if it is part of ip network, i have had a look at mentioned links