End of Life Products and Features - ip_interfaces.list

End of Life Products and Features - ip_interfaces.list

Description

Fetch a list of all the network interfaces on the gateway.

Versioning Notes

This method is available in version 2.0 and later, when support for multiple interfaces was implemented.

Arguments

None.

Example Requests & Responses

Example One

Request

Fetch a list of all the network interfaces on the gateway.

{     'method' => 'ip_interfaces.list',     'parameters' => { } }

Response

{          'ip_interfaces' => [                               {                                 'gateway_address' => '192.168.50.254',                                 'dns_addresses' => [],                                 'object_type' => 'ip_interface',                                 'port_num' => '1',                                 'net_mask' => '255.255.255.0',                                 'ip_address' => '192.168.50.83',                                 'object_name' => '1',                                 'object_id' => 115,                                 'use_dhcp' => '1'                               },                               {                                 'gateway_address' => '2.2.1.1',                                 'dns_addresses' => [                                                      '2.2.2.1',                                                      '2.2.2.2',                                                      '2.2.2.3'                                                    ],                                 'object_type' => 'ip_interface',                                 'port_num' => '2',                                 'net_mask' => '255.255.255.0',                                 'ip_address' => '2.2.2.2',                                 'object_name' => '2',                                 'object_id' => 116,                                 'use_dhcp' => '0'                               }                             ]        }

Related content