models.vlan_params module

class models.vlan_params.VlanParams(disable_vlan=None, interface_name=None, vlan_id=None)[source]

Bases: object

Implementation of the ‘VlanParams’ model.

Contains vlan params associated with the backup/restore operation.

Attributes:
disable_vlan (bool): If this is set to true, then even if VLANs are

configured on the system, the partition VIPs will be used for the restore.

interface_name (string): Interface group to use for restore. If this

is not specified, primary interface group for the cluster will be used.

vlan_id (int): If this is set, then the Cohesity host name or the IP

address associated with this vlan is used for mounting Cohesity’s view on the remote host.

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.