Set Interfaces IPv6
Set IPv6 network configuration for specific interface.
Request
URLURL
Path Parameters
Path Parameters
Network interface to update, for example, “nic0”. The parameter must be an identifier for the resource type: com.vmware.appliance.networking.interfaces.
Header Parameters
Header Parameters
Required session ID, acquired from Create Session API under CIS product
vmware-api-session-id example
"b00db39f948d13ea1e59b4d6fce56389"
Request Body
{
"addresses": [
{
"address": "string",
"prefix": 0
}
],
"autoconf": false,
"default_gateway": "string",
"dhcp": false
}
The list of addresses to be statically assigned.
An address will be assigned by Stateless Address Autoconfiguration (SLAAC).
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.
An address will be assigned by a DHCP server.
Authentication
Errors
Errors
com.vmware.vapi.std.errors.resource_busy : The specified NIC is busy. | com.vmware.vapi.std.errors.error : Generic error.
‘Default’ means this response is used for all HTTP codes that are not covered individually for this operation.
Code Samples
cURL Command
Vendor Extensions
x-vmw-doc-deprecated-method: put
x-vmw-doc-deprecated-path: /rest/appliance/networking/interfaces/{interface_name}/ipv6
x-vmw-doc-operation: set