Get Interfaces IPv6
Released in v6.7 DescriptionGet IPv6 network configuration for specific interface.
Request
URLURL
https://{api_host}/rest/appliance/networking/interfaces/{interface_name}/ipv6
Parameters
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, acquired from Create Session API under CIS product
vmware-api-session-id Example
b00db39f948d13ea1e59b4d6fce56389
Response
Response
Response BodyResponse Body
200 OK returns
NetworkingInterfacesIpv6GetResponseBody
of type application/json
IPv6 configuration.
{
"value": {
"addresses": [
{
"address": "string",
"origin": "enum",
"prefix": 0,
"status": "enum"
}
],
"autoconf": false,
"configurable": false,
"default_gateway": "string",
"dhcp": false
}
}
cURL Command
curl -H "vmware-api-session-id: b00db39f948d13ea1e59b4d6fce56389" https://{api_host}/rest/appliance/networking/interfaces/{interface_name}/ipv6
Errors
404
com.vmware.vapi.std.errors.not_found : if the specified NIC is not found. | com.vmware.vapi.std.errors.error : Generic error.
default
'Default' means this response is used for all HTTP codes that are not covered individually for this operation.