MultipathDevice

class oci.core.models.MultipathDevice(**kwargs)

Bases: object

Secondary multipath device, it uses the charUsername and chapSecret from primary volume attachment

Methods

__init__(**kwargs) Initializes a new MultipathDevice object with values from keyword arguments.

Attributes

ipv4 [Required] Gets the ipv4 of this MultipathDevice.
iqn [Required] Gets the iqn of this MultipathDevice.
port Gets the port of this MultipathDevice.
__init__(**kwargs)

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

Parameters:
  • ipv4 (str) – The value to assign to the ipv4 property of this MultipathDevice.
  • iqn (str) – The value to assign to the iqn property of this MultipathDevice.
  • port (int) – The value to assign to the port property of this MultipathDevice.
ipv4

[Required] Gets the ipv4 of this MultipathDevice. The volume’s iSCSI IP address.

Example: 169.254.2.2

Returns:The ipv4 of this MultipathDevice.
Return type:str
iqn

[Required] Gets the iqn of this MultipathDevice. The target volume’s iSCSI Qualified Name in the format defined by RFC 3720.

Example: iqn.2015-12.com.oracleiaas:40b7ee03-883f-46c6-a951-63d2841d2195

Returns:The iqn of this MultipathDevice.
Return type:str
port

Gets the port of this MultipathDevice. The volume’s iSCSI port, usually port 860 or 3260.

Example: 3260

Returns:The port of this MultipathDevice.
Return type:int