Documentation For SNC Network APIs

Tom Rausch
Tera Guru

Is there any online documentation for these network APIs? If so, where is it?

  • SncIPAddressV4 
  • SncIPAddressV6
  • SncIPIterator
  • SncIPList
  • SncIPMetaCollection
  • SncIPNetmaskV4
  • SncIPNetworkV4
  • SncIPRangeV4
  • SncMACAddress
  • SncMACAddressMfr
  • SncIPAuthenticator
9 REPLIES 9

Kieran Anson
Kilo Patron

Hey Tom,

These are all glide classes that reference java packages. For this reason, their use isn't formally supported outside of ServiceNows' implementation of them.

https://docs.servicenow.com/bundle/orlando-application-development/page/script/general-scripting/con...

 

The publication of this list does not imply that these scriptable objects are for use by customers, consultants, and partners. The use of the Glide prefix does not imply that these scriptable objects are in the same category as or have the same status as objects such as GlideRecord. Except where documentation is provided in the API Reference, these undocumented APIs are not intended for general use, and ServiceNow, Inc., does not make any commitment to document them, answer questions about them, or maintain them indefinitely in their current form. Over time, ServiceNow, Inc., intends to migrate a subset of the functionality represented by these objects into the documented API and remove the rest.

Tom Rausch
Tera Guru

Hello, @Kieran Anson,

Thank you for your reply.

My goal is to input a CIDR range and output a list of the constituent IP addresses. I found some useful references at the link Retrieve max / min IPs from CIDR range.

Hey Tom,

I don't see an OOB script that will achieve this. You'll need to reference a script externally and then modify it into a script include that you can use in Servicenow

Hello Tom,

 

Did you able to find any workaround for your requirements.

regards

Lalit