System::Inet

Introduced : BIG-IP_v9.0
The Inet interface exposes the internal API functionality that you can use to manipulate the rc.conf and resolv.conf files. The ntp.conf file includes the functionality that you can use to set and get the following settings: host name, IP address (get only), router, NTP server and DNS server.

Methods

Method Description Introduced
get_dns_server_address Gets the IP addresses that the device is using as its DNS servers. BIG-IP_v9.0
get_hostname Gets the host name of the device. BIG-IP_v9.0
get_ntp_server_address Gets the IP address/host name that the device is using for its NTP service. BIG-IP_v9.0
get_version Gets the version information for this interface. BIG-IP_v9.0
hostname_to_ip Translate the specified hostnames to IP addresses. BIG-IP_v9.0
ip_to_hostname Translate the specified IP addresses into hostnames. BIG-IP_v9.0
service_name_to_service_number Translate the specified service names to service numbers. If a service name can not be translated into an equivalent service number, a service number of 0 will be returned for that service name. BIG-IP_v9.0
service_number_to_service_name Translate the specified service numbers into service names. If an service number can not be translated into an equivalent service name, the string format of the service number will be returned. BIG-IP_v9.0
set_hostname Sets the host name of the device. BIG-IP_v9.0
set_ntp_server_address Configures the IP address/host name that the device uses for its NTP service. BIG-IP_v9.0

Structures

Structure Description

Enumerations

Enumeration Description

Exceptions

Exception Description

Constants

Constant Type Value Description

Aliases

Alias Type Description

See Also

Warning

The links to the sample code below are remnants of the old DevCentral wiki and will result in a 404 error. For best results, please copy the link text and search the codeshare directly on DevCentral.

Sample Code


The BIG-IP API Reference documentation contains community-contributed content. F5 does not monitor or control community code contributions. We make no guarantees or warranties regarding the available code, and it may contain errors, defects, bugs, inaccuracies, or security vulnerabilities. Your access to and use of any code available in the BIG-IP API reference guides is solely at your own risk.