listSwitchIPs()


Available since: V4.5


This application is used to list IP addresses configured on a softswitch. The application returns the status of each IP-address. Only IP-address with AVAILABLE status can be assigned to an environment. This application is available only for root customer and only in the first environment.


Implementation details

This application supports trusted mode in which case i_customer (integer) parameter should be supplied.


Parameters:

None.


Returns:

  • result - OK means that query was successfully. String.
  • ips - an array containing structures:
    • ip - IP-address. String.
    • status - status of the IP-address. String. Possible values:
      • INUSE - IP-address is assigned to an environment
      • AVAILABLE - IP-address can be assigned to an environment