models.vserver_network_interface module¶
-
class
models.vserver_network_interface.
VserverNetworkInterface
(data_protocols=None, ip_address=None, name=None)[source]¶ Bases:
object
Implementation of the ‘VserverNetworkInterface’ model.
Specifies information about a logical network interface on a NetApp Vserver. The interface’s IP address is the mount point for a specific data protocol, such as NFS or CIFS.
- Attributes:
- data_protocols (list of DataProtocolEnum): Array of Data Protocols.
Specifies the set of data protocols supported by this interface. ‘kNfs’ indicates NFS connections. ‘kCifs’ indicates SMB (CIFS) connections. ‘kIscsi’ indicates iSCSI connections. ‘kFc’ indicates Fiber Channel connections. ‘kFcache’ indicates Flex Cache connections. ‘kHttp’ indicates HTTP connections. ‘kNdmp’ indicates NDMP connections. ‘kManagement’ indicates non-data connections used for management purposes.
ip_address (string): Specifies the IP address of this interface. name (string): Specifies the name of this interface.
-
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.