models.cloud_network_configuration module¶
-
class
models.cloud_network_configuration.
CloudNetworkConfiguration
(cluster_gateway=None, cluster_subnet_mask=None, dns_servers=None, domain_names=None, ntp_servers=None)[source]¶ Bases:
object
Implementation of the ‘CloudNetworkConfiguration’ model.
Specifies all of the parameters needed for network configuration of the new Cloud Cluster.
- Attributes:
- cluster_gateway (string): Specifies the default gateway IP address (or
addresses) for the Cluster network.
- cluster_subnet_mask (string): Specifies the subnet mask (or masks) of
the Cluster network.
- dns_servers (list of string): Specifies the list of DNS Servers this
cluster should be configured with.
- domain_names (list of string): Specifies the list of domain names this
cluster should be configured with.
- ntp_servers (list of string): Specifies the list of NTP Servers this
cluster should be configured with.
-
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.