Brick Connector objects for each supported transport protocol.
The connectors here are responsible for discovering and removing volumes for each of the supported transport protocols.
Build a Connector object based upon protocol and architecture.
Connector class to attach/detach iSCSI volumes.
Attach the volume to instance_name.
Parameters: | connection_properties (dict) – The valid dictionary that describes all of the target volume attributes. |
---|---|
Returns: | dict |
connection_properties for iSCSI must include: target_portal(s) - ip and optional port target_iqn(s) - iSCSI Qualified Name target_lun(s) - LUN id of the volume Note that plural keys may be used when use_multipath=True
Detach the volume from instance_name.
Parameters: |
|
---|
connection_properties for iSCSI must include: target_portal(s) - IP and optional port target_iqn(s) - iSCSI Qualified Name target_lun(s) - LUN id of the volume
Connector class to attach/detach Fibre Channel volumes.
Attach the volume to instance_name.
Parameters: | connection_properties (dict) – The dictionary that describes all of the target volume attributes. |
---|---|
Returns: | dict |
connection_properties for Fibre Channel must include: target_wwn - World Wide Name target_lun - LUN id of the volume
Detach the volume from instance_name.
Parameters: |
|
---|
connection_properties for Fibre Channel must include: target_wwn - World Wide Name target_lun - LUN id of the volume
Connector class to attach/detach AoE volumes.
Discover and attach the volume.
Parameters: | connection_properties (dict) – The dictionary that describes all of the target volume attributes. |
---|---|
Returns: | dict |
connection_properties for AoE must include: target_shelf - shelf id of volume target_lun - lun id of volume
Detach and flush the volume.
Parameters: |
|
---|
connection_properties for AoE must include: target_shelf - shelf id of volume target_lun - lun id of volume
“Connector class to attach/detach File System backed volumes.
Connect to a volume.
Parameters: | connection_properties (dict) –
connection_properties must include: device_path - path to the volume to be connected |
---|---|
Returns: | dict |
Disconnect a volume from the local host.
Parameters: |
|
---|
“Connector class to attach/detach SDSHypervisor volumes.
Connect to a volume.
Parameters: | connection_properties (dict) – The dictionary that describes all of the target volume attributes. |
---|---|
Returns: | dict |
Disconnect a volume from the local host.
Parameters: |
|
---|