The functions listed in this section retrieve, print, and free network resources used by resources and resource groups. The scds_get_* functions in this section provide a convenient way of retrieving network resources without querying specific properties such as Network_resources_used, and Port_list using the RMAPI functions. The scds_print_* functions print values from the data structures returned by the scds_get_* functions. The scds_free_* functions free the memory allocated by the scds_get_* functions.
scds_get_rg_hostnames – retrieve a list of hostnames used by the network resources in a resource group.
scds_get_rs_hostnames – retrieve a list of hostnames used by the resource.
scds_print_net_list – print the contents of the list of hostnames returned by scds_get_rg_hostnames or scds_get_rs_hostnames.
scds_free_net_list – free the memory allocated by scds_get_rg_hostnames or scds_get_rs_hostnames.
The following functions are concerned with port lists.
scds_get_port_list – retrieve a list of port-protocol pairs used by a resource.
scds_print_port_list – print the contents of the list of port-protocol pairs returned by scds_get_port_list.
scds_free_port_list – free the memory allocated by scds_get_port_list.
scds_get_netaddr_list – retrieve a list of network addresses used by a resource.
scds_print_netaddr_list – print the contents of the list of network addresses returned by scds_get_netaddr_list.
scds_free_netaddr_list – free the memory allocated by scds_get_netaddr_list.