Storage

class oci.cloud_migrations.models.Storage(**kwargs)

Bases: object

Host storage information

Attributes

NFS_VERSION_AUTO A constant which can be used with the nfs_version property of a Storage.
NFS_VERSION_V3 A constant which can be used with the nfs_version property of a Storage.
NFS_VERSION_V4 A constant which can be used with the nfs_version property of a Storage.
NFS_VERSION_V4_0 A constant which can be used with the nfs_version property of a Storage.
NFS_VERSION_V4_1 A constant which can be used with the nfs_version property of a Storage.
NFS_VERSION_V4_2 A constant which can be used with the nfs_version property of a Storage.
TYPE_CINDER A constant which can be used with the type property of a Storage.
TYPE_FCP A constant which can be used with the type property of a Storage.
TYPE_GLANCE A constant which can be used with the type property of a Storage.
TYPE_GLUSTERFS A constant which can be used with the type property of a Storage.
TYPE_ISCSI A constant which can be used with the type property of a Storage.
TYPE_LOCALFS A constant which can be used with the type property of a Storage.
TYPE_MANAGED_BLOCK_STORAGE A constant which can be used with the type property of a Storage.
TYPE_NFS A constant which can be used with the type property of a Storage.
TYPE_POSIXFS A constant which can be used with the type property of a Storage.
address Gets the address of this Storage.
comment Gets the comment of this Storage.
driver_options Gets the driver_options of this Storage.
driver_sensitive_options Gets the driver_sensitive_options of this Storage.
id Gets the id of this Storage.
is_override_luns Gets the is_override_luns of this Storage.
logical_units Gets the logical_units of this Storage.
mount_options Gets the mount_options of this Storage.
nfs_retrans Gets the nfs_retrans of this Storage.
nfs_timeo Gets the nfs_timeo of this Storage.
nfs_version Gets the nfs_version of this Storage.
password Gets the password of this Storage.
paths Gets the paths of this Storage.
port Gets the port of this Storage.
portal Gets the portal of this Storage.
storage_description Gets the storage_description of this Storage.
target Gets the target of this Storage.
type Gets the type of this Storage.
username Gets the username of this Storage.
vfs_type Gets the vfs_type of this Storage.
volume_group Gets the volume_group of this Storage.

Methods

__init__(**kwargs) Initializes a new Storage object with values from keyword arguments.
NFS_VERSION_AUTO = 'AUTO'

A constant which can be used with the nfs_version property of a Storage. This constant has a value of “AUTO”

NFS_VERSION_V3 = 'V3'

A constant which can be used with the nfs_version property of a Storage. This constant has a value of “V3”

NFS_VERSION_V4 = 'V4'

A constant which can be used with the nfs_version property of a Storage. This constant has a value of “V4”

NFS_VERSION_V4_0 = 'V4_0'

A constant which can be used with the nfs_version property of a Storage. This constant has a value of “V4_0”

NFS_VERSION_V4_1 = 'V4_1'

A constant which can be used with the nfs_version property of a Storage. This constant has a value of “V4_1”

NFS_VERSION_V4_2 = 'V4_2'

A constant which can be used with the nfs_version property of a Storage. This constant has a value of “V4_2”

TYPE_CINDER = 'CINDER'

A constant which can be used with the type property of a Storage. This constant has a value of “CINDER”

TYPE_FCP = 'FCP'

A constant which can be used with the type property of a Storage. This constant has a value of “FCP”

TYPE_GLANCE = 'GLANCE'

A constant which can be used with the type property of a Storage. This constant has a value of “GLANCE”

TYPE_GLUSTERFS = 'GLUSTERFS'

A constant which can be used with the type property of a Storage. This constant has a value of “GLUSTERFS”

TYPE_ISCSI = 'ISCSI'

A constant which can be used with the type property of a Storage. This constant has a value of “ISCSI”

TYPE_LOCALFS = 'LOCALFS'

A constant which can be used with the type property of a Storage. This constant has a value of “LOCALFS”

TYPE_MANAGED_BLOCK_STORAGE = 'MANAGED_BLOCK_STORAGE'

A constant which can be used with the type property of a Storage. This constant has a value of “MANAGED_BLOCK_STORAGE”

TYPE_NFS = 'NFS'

A constant which can be used with the type property of a Storage. This constant has a value of “NFS”

TYPE_POSIXFS = 'POSIXFS'

A constant which can be used with the type property of a Storage. This constant has a value of “POSIXFS”

__init__(**kwargs)

Initializes a new Storage object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • id (str) – The value to assign to the id property of this Storage.
  • address (str) – The value to assign to the address property of this Storage.
  • comment (str) – The value to assign to the comment property of this Storage.
  • storage_description (str) – The value to assign to the storage_description property of this Storage.
  • driver_options (list[oci.cloud_migrations.models.OlvmProperty]) – The value to assign to the driver_options property of this Storage.
  • driver_sensitive_options (list[oci.cloud_migrations.models.OlvmProperty]) – The value to assign to the driver_sensitive_options property of this Storage.
  • logical_units (list[oci.cloud_migrations.models.LogicalUnit]) – The value to assign to the logical_units property of this Storage.
  • mount_options (str) – The value to assign to the mount_options property of this Storage.
  • nfs_retrans (int) – The value to assign to the nfs_retrans property of this Storage.
  • nfs_timeo (int) – The value to assign to the nfs_timeo property of this Storage.
  • nfs_version (str) – The value to assign to the nfs_version property of this Storage. Allowed values for this property are: “AUTO”, “V3”, “V4”, “V4_0”, “V4_1”, “V4_2”
  • is_override_luns (bool) – The value to assign to the is_override_luns property of this Storage.
  • password (str) – The value to assign to the password property of this Storage.
  • paths (int) – The value to assign to the paths property of this Storage.
  • port (int) – The value to assign to the port property of this Storage.
  • portal (str) – The value to assign to the portal property of this Storage.
  • target (str) – The value to assign to the target property of this Storage.
  • username (str) – The value to assign to the username property of this Storage.
  • type (str) – The value to assign to the type property of this Storage. Allowed values for this property are: “CINDER”, “FCP”, “GLANCE”, “GLUSTERFS”, “ISCSI”, “LOCALFS”, “MANAGED_BLOCK_STORAGE”, “NFS”, “POSIXFS”
  • vfs_type (str) – The value to assign to the vfs_type property of this Storage.
  • volume_group (oci.cloud_migrations.models.VolumeGroup) – The value to assign to the volume_group property of this Storage.
address

Gets the address of this Storage. Address of storage domain.

Returns:The address of this Storage.
Return type:str
comment

Gets the comment of this Storage. Free text containing comments about this object.

Returns:The comment of this Storage.
Return type:str
driver_options

Gets the driver_options of this Storage. The options to be passed when creating a storage domain using a cinder driver.

Returns:The driver_options of this Storage.
Return type:list[oci.cloud_migrations.models.OlvmProperty]
driver_sensitive_options

Gets the driver_sensitive_options of this Storage. The options containing sensitive information to be passed when creating a storage domain using a cinder driver.

Returns:The driver_sensitive_options of this Storage.
Return type:list[oci.cloud_migrations.models.OlvmProperty]
id

Gets the id of this Storage. A unique identifier.

Returns:The id of this Storage.
Return type:str
is_override_luns

Gets the is_override_luns of this Storage. Whether to override LUNs

Returns:The is_override_luns of this Storage.
Return type:bool
logical_units

Gets the logical_units of this Storage. Logical Units of the host storage

Returns:The logical_units of this Storage.
Return type:list[oci.cloud_migrations.models.LogicalUnit]
mount_options

Gets the mount_options of this Storage. Mount options

Returns:The mount_options of this Storage.
Return type:str
nfs_retrans

Gets the nfs_retrans of this Storage. The number of times to retry a request before attempting further recovery actions.

Returns:The nfs_retrans of this Storage.
Return type:int
nfs_timeo

Gets the nfs_timeo of this Storage. The time in tenths of a second to wait for a response before retrying NFS requests.

Returns:The nfs_timeo of this Storage.
Return type:int
nfs_version

Gets the nfs_version of this Storage. Version of NFS used.

Allowed values for this property are: “AUTO”, “V3”, “V4”, “V4_0”, “V4_1”, “V4_2”

Returns:The nfs_version of this Storage.
Return type:str
password

Gets the password of this Storage. Password of the host storage.

Returns:The password of this Storage.
Return type:str
paths

Gets the paths of this Storage. Paths of the host storage.

Returns:The paths of this Storage.
Return type:int
port

Gets the port of this Storage. Port of the host storage.

Returns:The port of this Storage.
Return type:int
portal

Gets the portal of this Storage. Portal of the host storage.

Returns:The portal of this Storage.
Return type:str
storage_description

Gets the storage_description of this Storage. A human-readable description in plain text.

Returns:The storage_description of this Storage.
Return type:str
target

Gets the target of this Storage. Target of the host storage.

Returns:The target of this Storage.
Return type:str
type

Gets the type of this Storage. Type representing a storage domain type.

Allowed values for this property are: “CINDER”, “FCP”, “GLANCE”, “GLUSTERFS”, “ISCSI”, “LOCALFS”, “MANAGED_BLOCK_STORAGE”, “NFS”, “POSIXFS”

Returns:The type of this Storage.
Return type:str
username

Gets the username of this Storage. Username of the host storage.

Returns:The username of this Storage.
Return type:str
vfs_type

Gets the vfs_type of this Storage. Type of VFS

Returns:The vfs_type of this Storage.
Return type:str
volume_group

Gets the volume_group of this Storage.

Returns:The volume_group of this Storage.
Return type:oci.cloud_migrations.models.VolumeGroup