This API has a deprecated equivalent from v7.0U1.
Get Interfaces IPv6
DescriptionGet IPv6 network configuration for specific interface.
Request
URLURL
https://{api_host}/api/appliance/networking/interfaces/{interface_name}/ipv6
Path Parameters
Path Parameters
string
interface_name
Required
Network interface to query, for example, "nic0".
The parameter must be an identifier for the resource type: com.vmware.appliance.networking.interfaces.
Header Parameters
Header Parameters
string
vmware-api-session-id
Required
Required session ID, obtained by first calling Create Session API
Response
Response
Response BodyResponse Body
200 OK returns
NetworkingInterfacesIpv6Info of type application/json
IPv6 configuration.
{
"addresses": [
{
"address": "string",
"origin": "enum",
"prefix": 0,
"status": "enum"
}
],
"autoconf": false,
"configurable": false,
"default_gateway": "string",
"dhcp": false
}
array of
NetworkingInterfacesIpv6AddressInfo
addresses
Required
List of addresses with their origins and statuses.
boolean
autoconf
Required
Stateless Address Autoconfiguration (SLAAC) is on.
boolean
configurable
Required
Is NIC configurable or not.
string
default_gateway
Required
The default gateway for static IP address assignment. This configures the global IPv6 default gateway on the appliance with the specified gateway address and interface. This gateway replaces the existing default gateway configured on the appliance. However, if the gateway address is link-local, then it is added for that interface. This does not support configuration of multiple global default gateways through different interfaces.
boolean
dhcp
Required
DHCP is on.
cURL Command
curl -H "vmware-api-session-id: b00db39f948d13ea1e59b4d6fce56389" https://{api_host}/api/appliance/networking/interfaces/{interface_name}/ipv6
Errors
Availability
Added in 7.0U2