models_v2.cluster_network_config module¶
-
class
models_v2.cluster_network_config.
ClusterNetworkConfig
(gateway=None, subnet_mask=None, dns_servers=None, ntp_servers=None, ip_preference=None, vip_host_name=None)[source]¶ Bases:
object
Implementation of the ‘Cluster Network Config.’ model.
Specifies all of the parameters needed for network configuration of the new Cluster.
- Attributes:
gateway (string): Specifies the gateway of the new cluster network. subnet_mask (string): Specifies the ip subnet mask of the cluster
network.
- dns_servers (list of string): Specifies the list of Dns Servers new
cluster should be configured with.
- ntp_servers (list of string): Specifies the list of NTP Servers new
cluster should be configured with.
- ip_preference (IpPreferenceEnum): Specifies IP preference of the
cluster to be Ipv4/Ipv6. It is Ipv4 by default.
vip_host_name (string): Specifies the FQDN hostname of the cluster.
-
classmethod
from_dictionary
(dictionary)[source]¶ Creates an instance of this model from a dictionary
- Args:
dictionary (dictionary): A dictionary representation of the object as obtained from the deserialization of the server’s response. The keys MUST match property names in the API description.
- Returns:
object: An instance of this structure class.