VchaIpSpec

The IpSpec structure contains IP information used to configure a network interface.


Properties

string
default_gateway Optional

The IP address of the Gateway for this interface. If unset, gateway will not be used for the network interface.


array of string
dns_servers Optional

The list of IP addresses of the DNS servers for this interface. This list is a comma separated list. If unset, DNS servers will not be used for the network interface.


ip_family Required

Family of the IP address to configure the interface.


ipv4 Optional

If the family of the ip is IPV4, then this will point to IPv4 address specification. This field is optional and it is only relevant when the value of IpSpec.ip-family is IPV4.


ipv6 Optional

If the family of the ip is IPV6, then this will point to IPv6 address specification. This field is optional and it is only relevant when the value of IpSpec.ip-family is IPV6.

JSON Example

{
    "ip_family": "enum"
}
Feedback

Was this page helpful?