vcenter namespace management clusters: network spec

The network_spec contains information related to network configuration for one or more interfaces.

Representation:

{
    "mode""DHCP",
    "floating_IP""string",
    "address_range"{
        "subnet_mask""string",
        "starting_address""string",
        "gateway""string",
        "address_count"1
    },
    "network""obj-103"
}

Attributes:

Name Type Description
Required
network string Identifier for the network.

When clients pass a value of this structure as a parameter, the field must be an identifier for the resource type: Network. When operations return a value of this structure as a result, the field will be an identifier for the resource type: Network.

mode string The address assignment mode.

Defines various IPv4 address assignment modes. Value is one of:
DHCP: The address is automatically assigned by a DHCP server.
STATICRANGE: The address is static.

address_range.starting_address string The IPv4 address denoting the start of the range.

address_range.address_count long The number of IP addresses in the range. Addresses are derived by incrementing vcenter.namespace_management.clusters.ipv4_range.starting_address.

address_range.subnet_mask string Subnet mask to be set.

address_range.gateway string The IPv4 address of the gateway associated with the range indicated by vcenter.namespace_management.clusters.ipv4_range.starting_address and vcenter.namespace_management.clusters.ipv4_range.address_count.

Optional
floating_IP string Optionally specify the Floating IP used by the HA master cluster in the DHCP case.

Optional. It is only relevant when mode has value DHCP. This field is optional and it is only relevant when the value of mode is DHCP.

address_range ipv4_range Settings for the interfaces on the network.

Optional. It is only relevant when mode has value STATICRANGE. This field is optional and it is only relevant when the value of mode is STATICRANGE.