vcenter lcm: network
Network configuration of the appliance to be deployed. Warning: This structure is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented.
Representation:
{
"mode" : "DHCP",
"ip_family" : "IPV4",
"hostname" : "string",
"prefix" : 1,
"ip" : "string",
"gateway" : "string",
"dns_servers" : [
"string",
"string"
]
}
"mode" : "DHCP",
"ip_family" : "IPV4",
"hostname" : "string",
"prefix" : 1,
"ip" : "string",
"gateway" : "string",
"dns_servers" : [
"string",
"string"
]
}
Attributes:
Name | Type | Description |
---|---|---|
Required | ||
mode | string | Network mode. Warning: This attribute is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented. Network mode. Warning: This enumeration is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented. Value is one of: DHCP: DHCP mode. Warning: This constant is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented. STATIC: Static IP mode. Warning: This constant is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented. |
Optional | ||
hostname | string | Primary network identity. Can be either an IP address or a fully qualified domain name(FQDN). Warning: This attribute is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented. Optional. It is only relevant when mode has value STATIC. host name may not be applicable. |
ip_family | string | Network IP address family. Warning: This attribute is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented. Optional. |
ip | string | Network IP address. Required for static mode only. Warning: This attribute is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented. Optional. It is only relevant when mode has value STATIC. This field is optional and it is only relevant when the value of mode is STATIC. |
dns_servers | string[] | A comma-separated list of IP addresses of DNS servers. A JSON array such as ["1.2.3.4", "127.0.0.1"]. Required for static mode only. DNS servers must be reachable from the machine that runs CLI installer. Warning: This attribute is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented. Optional. It is only relevant when mode has value STATIC. This field is optional and it is only relevant when the value of mode is STATIC. |
prefix | long | Network prefix length. Required for static mode only. Remove if the mode is "dhcp". This is the number of bits set in the subnet mask; for instance, if the subnet mask is 255.255.255.0, there are 24 bits in the binary version of the subnet mask, so the prefix length is 24. If used, the values must be in the inclusive range of 0 to 32 for IPv4 and 0 to 128 for IPv6. Required for static mode only. Warning: This attribute is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented. Optional. It is only relevant when mode has value STATIC. This field is optional and it is only relevant when the value of mode is STATIC. |
gateway | string | Gateway of the network. Required for static mode only. Warning: This attribute is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented. Optional. It is only relevant when mode has value STATIC. This field is optional and it is only relevant when the value of mode is STATIC. |