appliance techpreview networking ipv6: set
Set IPv6 network configuration.
Request:
HTTP request
PUT https://{server}/rest/appliance/techpreview/networking/ipv6
Request Body Structure:
{
"config" : [
{
"default_gateway" : "string",
"addresses" : [
{
"address" : "string",
"prefix" : 1
},
{
"address" : "string",
"prefix" : 1
}
],
"interface_name" : "string",
"autoconf" : true,
"dhcp" : true
},
{
"default_gateway" : "string",
"addresses" : [
{
"address" : "string",
"prefix" : 1
},
{
"address" : "string",
"prefix" : 1
}
],
"interface_name" : "string",
"autoconf" : true,
"dhcp" : true
}
]
}
"config" : [
{
"default_gateway" : "string",
"addresses" : [
{
"address" : "string",
"prefix" : 1
},
{
"address" : "string",
"prefix" : 1
}
],
"interface_name" : "string",
"autoconf" : true,
"dhcp" : true
},
{
"default_gateway" : "string",
"addresses" : [
{
"address" : "string",
"prefix" : 1
},
{
"address" : "string",
"prefix" : 1
}
],
"interface_name" : "string",
"autoconf" : true,
"dhcp" : true
}
]
}
Request Body Parameters:
Name | Type | Description |
---|---|---|
bold = required | ||
config | I_pv6_config[] | IPv6 configuration. |
config[].interface_name | string | Network interface, for example, "nic0" to configure. |
config[].dhcp | boolean | Address assigned by a DHCP server. |
config[].autoconf | boolean | Address is assigned by Stateless Address Autoconfiguration (SLAAC). |
config[].addresses | I_pv6_address[] | A list of addresses to be statically assigned. |
config[].addresses[].address | string | IPv6 address, for example, fc00:10:20:83:20c:29ff:fe94:bb5a. |
config[].addresses[].prefix | long | IPv6 CIDR prefix, for example, 64. |
config[].default_gateway | string | 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. |
Response:
HTTP Status Code: 200
NoneErrors:
HTTP Status Code | Type | Description |
---|---|---|
500 | error | Generic error |