models.ip_config module¶
- 
class 
models.ip_config.IpConfig(interface_name=None, ip_family=None, ips=None, node_ids=None, role=None, subnet_gateway=None, subnet_mask_bits=None)[source]¶ Bases:
objectImplementation of the ‘IpConfig’ model.
Specifies the configuration of an IP.
- Attributes:
 - interface_name (string): The interface name. Specifies which interface
 to assign IP to.
ip_family (int): IpFamily of this config. ips (list of string): The interface ips. node_ids (list of int): Node ids. role (string): The interface role. subnet_gateway (string): The interface gateway. subnet_mask_bits (int): The interface subnet mask bits.
- 
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.