Vcha_Ipv4Spec

Vcha_Ipv4Spec
Vcha_Ipv4Spec

The Ipv4Spec structure contains IPV4 information used to configure a network interface.

JSON Example
{
    "address": "string",
    "subnet_mask": "string",
    "prefix": 0
}
string
address
Required

IPV4 address to be used to configure the interface.

string
subnet_mask
Optional

The subnet mask for the interface. If unset and the Ipv4Spec.prefix field is unset, then an error will be reported. If unset and the Ipv4Spec.prefix field is set, then the Ipv4Spec.prefix field will be used to create a subnet mask whose first prefix bits are 1 and the remaining bits 0. If both the Ipv4Spec.subnet-mask field and the Ipv4Spec.prefix field are set and they do not represent the same value, then an error will be reported.

integer As int64
prefix
Optional

The CIDR prefix for the interface. If unset and the Ipv4Spec.subnet-mask field is unset, this an error will be reported. If unset and the Ipv4Spec.subnet-mask field is set, then the Ipv4Spec.subnet-mask field will be used. If both the Ipv4Spec.subnet-mask field and the Ipv4Spec.prefix field are set and they do not represent the same value, then an error will be reported.