models_v2.cluster_network_config_2 module¶
-
class
models_v2.cluster_network_config_2.
ClusterNetworkConfig2
(gateway=None, subnet_ip=None, subnet_mask=None, dns_servers=None)[source]¶ Bases:
object
Implementation of the ‘Cluster Network Config.2’ model.
Specifies all of the parameters needed for network configuration of the new Cluster using manual configuration.
- Attributes:
gateway (string): Specifies the gateway of the new cluster network. subnet_ip (string): Specifies the ip subnet ip of the 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.
-
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.