appliance networking interfaces ipv6: config
The
config
structure provides the structure that you can use to configure IPv6 on a particular interface. Addresses can be assigned by DHCP, SLAAC or STATIC, as IPv6 permits multiple addresses per interface. This structure was added in vSphere API 6.7.Representation:
{
"default_gateway" : "string",
"addresses" : [
{
"address" : "string",
"prefix" : 1
},
{
"address" : "string",
"prefix" : 1
}
],
"autoconf" : true,
"dhcp" : true
}
"default_gateway" : "string",
"addresses" : [
{
"address" : "string",
"prefix" : 1
},
{
"address" : "string",
"prefix" : 1
}
],
"autoconf" : true,
"dhcp" : true
}
Attributes:
Name | Type | Description |
---|---|---|
Required | ||
dhcp | boolean | An address will be assigned by a DHCP server. This attribute was added in vSphere API 6.7. |
autoconf | boolean | An address will be assigned by Stateless Address Autoconfiguration (SLAAC). This attribute was added in vSphere API 6.7. |
addresses | address[] | The list of addresses to be statically assigned. This attribute was added in vSphere API 6.7. |
addresses[].address | string | The IPv6 address, for example, fc00:10:20:83:20c:29ff:fe94:bb5a. This attribute was added in vSphere API 6.7. |
addresses[].prefix | long | The IPv6 CIDR prefix, for example, 64. This attribute was added in vSphere API 6.7. |
default_gateway | string | 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. This attribute was added in vSphere API 6.7. |