API Guide
/api/ApplicationService/Network/
CurrentAddressConfiguration
This URI represents the current network IP configuration.
GET method for CurrentAddressConfiguration
This method returns the current network IP configuration.
Description Returns the current network IP configuration.
Privilege VIEW
HTTP response
codes
200
Example
Input:
Output:
{
"@odata.context": "/api/$metadata#Network.CurrentAddressConfiguration/
$entity",
"@odata.type": "#Network.CurrentAddressConfiguration",
"@odata.id": "/api/ApplicationService/Network/CurrentAddressConfiguration",
"Ipv4Setting":
{
"Enable": true,
"EnableDHCP": true,
"CurrentIPAddress": "xx.xx.xx.xx",
"CurrentSubnetMask": "255.255.255.0",
"CurrentGateway": "192.168.1.1",
"UseDHCPForDNSServerNames": true,
"CurrentPreferredDNSServer": "192.168.1.2",
"CurrentAlternateDNSServer": "192.168.1.3"
},
"Ipv6Setting":
{
"Enable": false,
"EnableAutoConfiguration": true,
"CurrentIPAddress": "",
"CurrentGateway": "",
"CurrentLinkLocalAddress": "",
"UseDHCPForDNSServerNames": true,
"CurrentPreferredDNSServer": "",
"CurrentAlternateDNSServer": ""
},
"DnsSetting":
{
"DnsFQDName": "dell.example.com",
"DnsDomainName": "example.com"
}
}
Table 10. Attributes
Attribute name Description
Ipv4Setting.Enable IPv4 network settings status.
Ipv4Setting.EnableDHCP Obtain IPv4 via DHCP server status.
Ipv4Setting.CurrentIPAddress Current IPv4 address.
Ipv4Setting.CurrentSubMask Current IPv4 subnet mask address.
Ipv4Setting.CurrentGateway Current IPv4 gateway address.
Ipv4Setting.UseDHCPForDNSServerNames Obtain IPv4 DNS servers by using DHCP server options status.
Application settings 27